cloudy
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Check out the new
FAQs
(Frequently Asked Questions) board for a growing list of hints, tips and diagnostic suggestions.
Latest versions:
WD
10.37Rb62
WDL
6.09
WML
2.05
Home
Bug Tracker
Photo Gallery
Wiki
Help
Search
Calendar
Login
Register
Weather-Watch.com
»
Weather and the Internet
»
Creating Weather Web Sites
»
Custom Templates and Scripts
»
advisory script problem
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: advisory script problem (Read 346 times)
0 Members and 1 Guest are viewing this topic.
wings2007
Posts: 16
OS/Browser:
Win XP
Firefox 10.0
advisory script problem
«
on:
February 07, 2012, 12:09:47 AM »
I have the zone set to TXC113 and the file is created atom-advisory-TXC113.txt. The contents look like this
Any body know where the URL is that needs to be changed?
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="
http://alerts.weather.gov/cap/wwaatmget.php?x=TXC113
">here</a>.</p>
<hr>
<address>Apache/2.2.15 (Red Hat) Server at
www.weather.gov
Port 80</address>
</body></html>
Logged
saratogaWX
Posts: 5,030
Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
OS/Browser:
Win XP
Firefox 10.0
Re: advisory script problem
«
Reply #1 on:
February 07, 2012, 12:31:39 AM »
It's likely you have an old copy of the script .. I suggest you update the script which uses
http://alerts.weather.gov/cap/wwaatmget.php?x=
<zone> as the URL for the ATOM/CAP advisories
The old url was something like
www.weather.gov/alerts-beta/
... as I remember.
Logged
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates
wings2007
Posts: 16
OS/Browser:
Win 7/Srvr 2008R2
Firefox 10.0
Re: advisory script problem
«
Reply #2 on:
February 07, 2012, 01:17:07 AM »
In the atom advisory script it contains the new address. I downloaded the files yesterday, I needed to rebuild the site.
---northdallasweather.net63.net----
Logged
wings2007
Posts: 16
OS/Browser:
Win 7/Srvr 2008R2
Firefox 10.0
Re: advisory script problem
«
Reply #3 on:
February 07, 2012, 01:43:38 AM »
It works now. I changed the URL line in the RSS script to
$RSS_URL = "
http://www.weather.gov/alerts/wwarssget.php?zone=TXC113
" hardcoded the TXC113
Logged
wings2007
Posts: 16
OS/Browser:
Win 7/Srvr 2008R2
Firefox 10.0
Re: advisory script problem
«
Reply #4 on:
February 07, 2012, 03:03:04 PM »
Back to not working. Has me baffled. It worked like twice yesterday.
Logged
Harry
Posts: 452
Union City, CA USA
OS/Browser:
Win Vista/Srvr 2008
MS IE 9.0
Re: advisory script problem
«
Reply #5 on:
February 09, 2012, 06:43:34 PM »
The correct URL should be:
http://alerts.weather.gov/cap/wwaatmget.php?x=TXC113
Logged
wings2007
Posts: 16
OS/Browser:
Win 7/Srvr 2008R2
Firefox 10.0
Re: advisory script problem
«
Reply #6 on:
February 10, 2012, 02:17:06 AM »
working now Thanks.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Weather-Watch.com
»
Weather and the Internet
»
Creating Weather Web Sites
»
Custom Templates and Scripts
»
advisory script problem