Michael,

 

I knocked together some C# to give us a list. Here’s the list: -

 

http://www.myservicescentral.com/Temp/bbcfeed.csv

 

Cheers,

 

Phil.

 

using System;

using System.Xml;

 

namespace BBCWeather

{

  class Program

  {

    static void Main(string[] args)

    {

      for (int i = 1000; i < 8000; i++)

      {

        XmlDocument Doc = new XmlDocument();

        try

        {

          Doc.Load("http://feeds.bbc.co.uk/weather/feeds/rss/5day/id/" + i.ToString() + ".xml");

          Console.Write(i.ToString() + ",");

          Console.Write(Doc.GetElementsByTagName("item")[0]["title"].InnerText.Split(',')[0].Replace("The forecast for ", "") + ",");

          Console.Write(Doc.GetElementsByTagName("item")[0]["geo:lat"].InnerText + ",");

          Console.Write(Doc.GetElementsByTagName("item")[0]["geo:long"].InnerText + "\n");

        }

        catch (Exception ex)

        {

          //Console.WriteLine(DateTime.Now.ToString() + " " + ex.Message);

        }

 

      }

    }

  }

}

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Pritchard
Sent: 18 October 2006 19:40
To: [email protected]
Subject: Re: [backstage] Official BBC Weather feeds ahoy!

 

what would be useful would be some sort of listing of all areas, such as an opml file. I don't fancy manually finding out what each of the 7379 feeds correspond to

On 18/10/06, Kathryn Schmitt <[EMAIL PROTECTED]> wrote:

Greetings Backstagers,

I am very pleased to inform you that BBC Weather's first RSS feeds are now live.  Links to them can be found on all 5 day forecast pages: http://www.bbc.co.uk/weather/5day.shtml






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

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed.

If you have received this email in error please notify the originator of
the message. This footer also confirms that this email message has been
scanned for the presence of computer viruses, though it is not
guaranteed virus free.

Original Recipient: [email protected]
Original Sender   : [EMAIL PROTECTED]
Original Send Date: 19/10/2006  - 17:53:35

Reply via email to