deformed-offering

Weather station scripts - RSS advisories

They're free, but use at your own risk

The scripts referenced here are used in the operation of this weather station, and may be freely copied and used to support your station. Please note that you use these scripts at your own risk. No warranty is expressed or implied. I accept no liability for any damages that may ensue from their use.
You will need to configure them for your own particular weather station website.
RSS feed for Scripts Updates A RSS Feed is available to help keep you informed on updates to the scripts.

If you find one or more of the scripts useful to you, please consider making a donation to help offset the routine expenses of operation of this website.
Thanks for your kind support!

A Version History is available -- check back from time to time to see if there are updates to scripts you have downloaded earlier. Announcements of version updates and new scripts are made on WXForum.net and Weather-Watch forums and saratogaWXPHP Twitter account as they become available.

This page was updated Tuesday, 31-Mar-2015 3:20 PM

NOAA RSS Advisory PHP script

Note: this script is deprecated as NOAA is phasing out the RSS feeds in favor of the newer ATOM/CAP feeds. This documentation is included for reference purposes only. Use the ATOM Feed scripts instead.

 


NOAA Top Advisory Warning PHP script

Note: this script is deprecated as NOAA is phasing out the RSS feeds in favor of the newer ATOM/CAP feeds. This documentation is included for reference purposes only. Use the ATOM Feed scripts instead.

 


Storm Prediction Center RSS PHP Script

This PHP script reads and formats the RSS feed for the Storm Prediction Center at http://www.spc.noaa.gov/products/md/ . The SPC provides one feed. The script follows the links in the feed to include the text and images of the discussions. The script has two optional arguments for the URL:

inc=Y
If present, the script will not output surrounding HTML for the page returned. You should specify this if you invoke the script from within your webpage.
<?php
$_REQUEST['inc'] = 'Y';
include_once("rss-mesoscale-test.php");
?>

SPC RSS mesoscale discussion PHP script: demo and download [ see version history ]


National Hurricane Center RSS PHP Script

This PHP script reads and formats the RSS feeds for Tropical Cyclone Forecasts and Advisories from the National Hurricane Center at http://www.nhc.noaa.gov/ . The NHC provides three feeds (Atlantic, Atlantic en Español, Eastern Pacific). The script comes in two 'flavors': the basic script which only formats the selected RSS feed, and a second version which follows the non-graphical links in the feed to include the text of the advisories. If the real RSS feed would include that content (like other NOAA feeds), then the second script wouldn't be necessary.The script has three optional arguments for the URL:

zone=[A|AS|P]
This allows override of the default Zone (A) for the RSS feed to use.
zone=A (default) is for Atlantic, Caribbean, and Gulf of Mexico tropical cyclones in English
zone=AS is for Atlantic, Caribbean, and Gulf of Mexico tropical cyclones in Spanish
zone=P is for Eastern Pacific tropical cyclones in English
inc=Y
If present, the script will not output surrounding HTML for the page returned. You should specify this if you invoke the script from within your webpage i.e.
<?php
$_REQUEST['inc'] = 'Y';
$_REQUEST['zone'] = 'A';
include_once("rss-tropical-test.php");
?>
summary=Y
If present, the script will output only the titles and links for the alerts found. The links will open the page specified in the script to display the details.
<?php
$_REQUEST['inc'] = 'Y';
$_REQUEST['zone'] = 'A';
$_REQUEST['summary'] = 'Y';
include_once("rss-tropical-test.php");
?>

NHC RSS Advisory PHP script: demo and download [ see version history ]
NHC RSS Advisory PHP script with full texts: demo and download [ see version history ]

deformed-offering