The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: Local audio weather forecasts


  • Subject: Re: Local audio weather forecasts
  • From: Steven Goodwin <stevengoodwin@xxxxxxxxx>
  • Date: Fri, 20 Nov 2009 23:27:04 +0000

> Does anyone know any online sources of short local weather
forecasts that can
> either be streamed or downloaded on a daily basis?

My solution was the same as Tim's, but with a different RSS feed,
using a different language, and running on Linux not mac. (So not the
same at all, really!)

I grab the weather with,

wget -q http://weather.yahooapis.com/forecastrss?p=UKXX0088
-O $LOGFILE

(use the website manually to work out the UK..... code for your area)

And transform it into plain, speakable, text with xsltproc and an XSLT
file (attached) before feeding it through festival.

Steev


[Non-text portions of this message have been removed]



------------------------------------


UKHA_D Main Index | UKHA_D Thread Index | UKHA_D Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.