setting up rss-advisory-test-c.php and rss-top-warning.php
I have been looking around at websites with this setup
I have see a #wL1 an #wl2 on the links from rss-top-warning.php
I understand why they are there my question is were do the numbers come from?
and what changes need to be made in the scripts
I’ve got them set up on mine…and there is a high wind advisory out right now so you can see what it looks like. www.bigbaywx.com As far as setting them up just follow the instructions. I don’t have them in front of me at the moment put the scripts go into the html home directory and the php include commands go into your index page. There is either/or a separate readme instructions in the package or just open up the scripts with notepad or a text editor and the instructions should be right in the script as well. Good luck and they do work!!
The relative page addresses (#WL1, #WL2 …) are automatically generated in the links from rss-top-warning.php and rss-advisory-test-c.php scripts and are determined by the order of the contents of the XML feed from NOAA.
In the detail display of rss-advisory-test-c.php, each warning/watch/advisory has a inserted at the beginning of that section so that the browser can automatically scroll to the start of that text when the page is opened with a link of [pagename]#WLn – that’s all the #WLn links do, and there’s no need to configure them.