WXforum.net

Web Weather => Weather Web Resources => Topic started by: saratogaWX on May 16, 2007, 05:03:26 PM

Title: PHP for RSS 2.0 feed for plaintext WXSIM forecast
Post by: saratogaWX on May 16, 2007, 05:03:26 PM
At the suggestion of Gerard (doornenburgweer on weather-watch.com), I've added a new program to complement the plaintext-parser.php (http://saratoga-weather.org/scripts-WXSIM.php#plaintext) script.  The plaintext-rss.php script will generate a valid RSS 2.0 XML feed (http://feedvalidator.org/check.cgi?url=http%3A//saratoga-weather.org/plaintext-rss.php) for your forecasts.  This is a 'symbiotic' php and includes the plaintext-parser.php to do the parsing of plaintext.txt and language conversions, so the RSS feeds are available in all the languages currently supported by plaintext-parser.php.

For download and setup instructions, please see http://saratoga-weather.org/scripts-WXSIM.php#plaintextRSS

Note:  you'll need to upgrade your plaintext-parser.php to version 1.02 (or later) to use the plaintext-rss.php.

Demo in English: http://saratoga-weather.org/plaintext-rss.php
Demo in Dutch:  http://saratoga-weather.org/plaintext-rss.php?lang=nl

Best regards,
Ken