Have an account? / Register

Forgot your password?

Forgot your username?

Results 1 to 10 of 10

Thread: Weather Feed

  1. #1
    Registered User holmes's Avatar
    Join Date
    Dec 2003
    Location
    Leicestershire
    Posts
    106
    Thanks
    1
    Thanked 3 Times in 3 Posts

    Weather Feed



    I've looked and can't find one but does anyone know of any site offering a UK weather feed via RSS?

  2. #2
    Registered User
    Join Date
    Jul 2004
    Location
    South East England
    Posts
    83
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Have you tried metcheck.com ?
    42.7 percent of all statistics are made up on the spot.

  3. #3
    Registered User holmes's Avatar
    Join Date
    Dec 2003
    Location
    Leicestershire
    Posts
    106
    Thanks
    1
    Thanked 3 Times in 3 Posts
    That looks good but gets expensive when selecting multiple regions, i was hoping there may be a free one somewhere?

  4. #4
    Super Member
    Join Date
    Aug 2003
    Location
    Costa Del Sheffield
    Posts
    2,838
    Thanks
    5
    Thanked 18 Times in 14 Posts
    weather.com offer one

    edit: read their T&C's, quite a few rules to obide by

    always tends to show as raining though, even if theres just like 10% of precipitation. Seems to get it right for the day your on though.

    More accurate one, metoffice but they cost, bout £600/year last time I looked

    edit2: if you go for weather.com one and need a parser for it let me know
    Dan Morley
    alpharooms.com
    daniel at alpharooms dot com - Hotels, Flights, Airport Transfers, Care Hire + More! sign up
    My Blog | Cheap Holidays

  5. #5
    Mooooo Dynamoo's Avatar
    Join Date
    Dec 2003
    Location
    Somewhere in Bedfordshire
    Posts
    1,908
    Thanks
    5
    Thanked 60 Times in 43 Posts
    Never email donotemail@WeAreSpammers.com

  6. #6
    Registered User holmes's Avatar
    Join Date
    Dec 2003
    Location
    Leicestershire
    Posts
    106
    Thanks
    1
    Thanked 3 Times in 3 Posts
    Cheers Dynamoo, tried that but keep getting a download error

    Morleymouse, do they do a uk feed, can't find it?

  7. #7
    Super Member
    Join Date
    Aug 2003
    Location
    Costa Del Sheffield
    Posts
    2,838
    Thanks
    5
    Thanked 18 Times in 14 Posts
    it might be this one http://registration.weather.com/registration/wxlogo/step1

    (sorry all stuff from when I joined is at work)

    while since I first regitstered but you sign up and they give you a license key.

    then you can use this xml feed and parser to search for weather up to 10 day forecast for any city, all over the world!

    the parser caches the xml feed in a database on your server and uses that for 12 hours, then it clears it our and updates. any more frequent than 12 hours and they get mardy. so you will need a mysql database, but its not complicated getting it set up to work.

    obviously if you have a search box on your site, like "check weather in _____" then each search will pull a different city into your database and it could get quite big if your fetching for 10 days. I just limit it to one city as its a local community type site.
    Dan Morley
    alpharooms.com
    daniel at alpharooms dot com - Hotels, Flights, Airport Transfers, Care Hire + More! sign up
    My Blog | Cheap Holidays

  8. #8
    Registered User holmes's Avatar
    Join Date
    Dec 2003
    Location
    Leicestershire
    Posts
    106
    Thanks
    1
    Thanked 3 Times in 3 Posts
    Brilliant, thats just what i'm after. If you don't mind i'll take you up on the offer of the parser.

  9. #9
    Super Member
    Join Date
    Aug 2003
    Location
    Costa Del Sheffield
    Posts
    2,838
    Thanks
    5
    Thanked 18 Times in 14 Posts
    hopefully it should be attached to this post... simple php file. but looking at it, it doesn't look like I wrote it (far too many comments in it) but theres nothing in there saying who wrtie it (I havn't taken anything out)

    pretty easy to modify, put your own template around etc

    when you sign up to the weather.com feed you get access to a few files, images etc for all the different conditions, you'll need them.

    set up the databaese connections at top.

    adn set up database table...

    CREATE TABLE `weather_xml` (
    `xml_url` varchar(150) NOT NULL default '',
    `xml_data` text NOT NULL,
    `last_updated` datetime NOT NULL default '0000-00-00 00:00:00',
    KEY `xml_url` (`xml_url`)
    ) TYPE=MyISAM;
    Attached Files Attached Files
    Dan Morley
    alpharooms.com
    daniel at alpharooms dot com - Hotels, Flights, Airport Transfers, Care Hire + More! sign up
    My Blog | Cheap Holidays

  10. #10
    Registered User holmes's Avatar
    Join Date
    Dec 2003
    Location
    Leicestershire
    Posts
    106
    Thanks
    1
    Thanked 3 Times in 3 Posts
    Thanks for your help

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
To Top

SEO by vBSEO 3.6.1