PDA

View Full Version : need a cron?


zone-5
06-11-2007, 06:34 PM
I've created an xsl stylesheet to pull National Weather Service xml
but they request access to server only once an hour, which makes sense due to bandwidth.

So is there a way to store the pulled xml on my Internet server and then access it say using .aspx to show information to visitors to my web site?

15 * * * * GET http://www.nws.noaa.gov/data/current_obs/KOMK.xml >
$HOME/public_html/KOMK.xml

This was something I picked up and modified with name for weather in our area (KOMK)
I get an error when using it in the aspx. Did I include a bad character, or put it in the wrong place in aspx or do something wrong? Any help would be greatly appreciated.

It's difficult learning a new language without a book. Difficult to get NWS xml when they don't supple some coding to help you.

Al