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: Weather 1.9.1



Thanks James
But if I use Forecast=3Did=3D2695

I get the BBC default weather id =96 somewhere in China=20
The forecast.txt file produced is below

Thanks for your help

<?xml version=3D"1.0" encoding=3D"UTF-8"?>
<?xml-stylesheet type=3D"text/xsl" href=3D"http://feeds.bbc.co.uk/weather/f=
eeds/rss/weather.xsl"?>
<rss version=3D"2.0"
xmlns:blogChannel=3D"http://backend.userland.com/blogChannelModule";
xmlns:geo=3D"http://www.w3.org/2003/01/geo/wgs84_pos#";
xmlns:atom=3D"http://www.w3.org/2005/Atom";
>
<channel>
<title>BBC - Weather Centre - Forecast for Wuzhou,
China</title>
<link>http://www.bbc.co.uk/weather/5day.shtml?world=3D2695</link>
<atom:link href=3D"http://feeds.bbc.co.uk/weather/feeds/rss/5day/world/2695=
.xml" rel=3D"self" type=3D"application/rss+xml"
/>
<description>by the BBC Weather Centre in association with the Met
Office</=
description>
<language>en</language>
<copyright>Copyright: (C) British Broadcasting
Corporation</copyright>
<pubDate>Thu,  2 Jul 2009 08:10:49 +0000</pubDate>
<lastBuildDate>Thu,  2 Jul 2009 08:10:49 +0000</lastBuildDate>
<managingEditor>weather@xxxxxxx (BBC Weather)</managingEditor>
<webMaster>weather@xxxxxxx (BBC Weather)</webMaster>

<image>
<!-- <title>Todays Weather Symbol</title> -->
<title>BBC - Weather Centre - Forecast for Wuzhou,
China</title>
<link>http://www.bbc.co.uk/weather/5day.shtml?world=3D2695</link>
<url>http://www.bbc.co.uk/weather/images/symbols/57x57/14.gif</url>
</image>


<item>
<title>Thursday: heavy showers, Max Temp: 31&#xB0;C
(88&#xB0;F), Min Temp: =
26&#xB0;C (79&#xB0;F)</title>
<link>http://www.bbc.co.uk/weather/5day.shtml?world=3D2695</link>
<description>Max Temp: 31&#xB0;C (88&#xB0;F), Min Temp:
26&#xB0;C (79&#xB0;=
F), Wind Direction: SW, Wind Speed: 5mph, Visibility: very good, Pressure:
=
1005mb, Humidity: 74%,=20


Sunrise: 05:51HKT, Sunset: 19:25HKT</description>
<guid
isPermaLink=3D"false">tag:feeds.bbc.co.uk,(none):/weather/5day/world/=
2695-1</guid>
<pubDate>Thu,  2 Jul 2009 08:10:49 +0000</pubDate>
<geo:lat>23.48</geo:lat>
<geo:long>111.30</geo:long>
</item>

<item>
<title>Friday: heavy showers, Max Temp: 29&#xB0;C
(84&#xB0;F), Min Temp: 26=
&#xB0;C (79&#xB0;F)</title>
<link>http://www.bbc.co.uk/weather/5day.shtml?world=3D2695</link>
<description>Max Temp: 29&#xB0;C (84&#xB0;F), Min Temp:
26&#xB0;C (79&#xB0;=
F), Wind Direction: SW, Wind Speed: 5mph, Visibility: good, Pressure:
1002m=
b, Humidity: 81%,=20


Sunrise: 05:52HKT, Sunset: 19:25HKT</description>
<guid
isPermaLink=3D"false">tag:feeds.bbc.co.uk,(none):/weather/5day/world/=
2695-2</guid>
<pubDate>Thu,  2 Jul 2009 08:10:49 +0000</pubDate>
<geo:lat>23.48</geo:lat>
<geo:long>111.30</geo:long>
</item>

<item>
<title>Saturday: heavy showers, Max Temp: 27&#xB0;C
(81&#xB0;F), Min Temp: =
25&#xB0;C (77&#xB0;F)</title>
<link>http://www.bbc.co.uk/weather/5day.shtml?world=3D2695</link>
<description>Max Temp: 27&#xB0;C (81&#xB0;F), Min Temp:
25&#xB0;C (77&#xB0;=
F), Wind Direction: SSE, Wind Speed: 6mph, Visibility: good, Pressure:
1003=
mb, Humidity: 90%,=20


Sunrise: 05:52HKT, Sunset: 19:25HKT</description>
<guid
isPermaLink=3D"false">tag:feeds.bbc.co.uk,(none):/weather/5day/world/=
2695-3</guid>
<pubDate>Thu,  2 Jul 2009 08:10:49 +0000</pubDate>
<geo:lat>23.48</geo:lat>
<geo:long>111.30</geo:long>
</item>
</channel>
</rss>
--- In xap_automation@xxxxxxx, James <james.traynor@...> wrote:
>
> Hi,
>=20
> If the file looks like this then it will work fine:
>=20
> Station=3Did=3D2695
> Forecast=3Did=3D2695
>=20
>=20
> hth
>=20
> James
>=20
> On 1 Jul 2009, at 15:13, marketability@... wrote:
>=20
> >
> >
> > Hi
> > I've just started using your xapweather - v good by the way -
thanks
> > I have the current data from NOAA fine but I cant get the
BBC=20=20
> > forecast to work
> > id=3D2695 and world=3D2695 dont work and the bbc site seems to
want "ht=
tp://news.bbc.co.uk/weather/forecast/2695=20
> > "
> >
> > what do I need to enter in the weather.ini?
> > Thanks
> > Peter
> >
> > --- In xap_automation@xxxxxxx, James Traynor=20=20
> > <james.traynor@> wrote:
> > >
> > > Hi,
> > >
> > > An update to work with the new BBC site. Swap the exe and
you're=20=20
> > good to
> > > go. The only difference is that the forecast is limited to 3
days as
> > > that is all that is available in the new feed.
> > >
> > > Download:
> > > http://www.mi4.biz/modules.php?name=3DDownloads&d_op=3Dgetit&lid=3D20=
7
> > >
> > >
> > > James
> > >
> >
> >
> >
>




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


xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation 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.