Weather Feed and difficulties | |
Hi all,
I am trying to get a current weather conditions feed working. Yahoo
provides a free feed @ http://weather.yahooapis.com/forecastrss?p=XXXXX
where XXXXX is a valid US zip code
e.g. ( http://weather.yahooapis.com/forecastrss?p=43221)
The feed is documented @ http://developer.yahoo.com/weather/
This works fine. Where I run into trouble is learing how to use this
service. I have scoured the internet and all I can find is vague
advice that starts with "use something like this..." or "after some
php trickery...". I imagine what I want to do is very simple. I will
provide the zip and then I would like to display the current weather
conditions. Can anyone please help me with this? | | | | re: Weather Feed and difficulties
You need a server side language, for example, PHP/JSP, to basically
download the feed and than using the server side language, parse the
XML file and display it.
On May 16, 10:07 am, Jake G <jgood...@dps.state.oh.uswrote: Quote:
Hi all,
I am trying to get a current weather conditions feed working. Yahoo
provides a free feed @http://weather.yahooapis.com/forecastrss?p=XXXXX
where XXXXX is a valid US zip code
>
e.g. ( http://weather.yahooapis.com/forecastrss?p=43221)
>
The feed is documented @http://developer.yahoo.com/weather/
>
This works fine. Where I run into trouble is learing how to use this
service. I have scoured the internet and all I can find is vague
advice that starts with "use something like this..." or "after some
php trickery...". I imagine what I want to do is very simple. I will
provide the zip and then I would like to display the current weather
conditions. Can anyone please help me with this?
| | | | re: Weather Feed and difficulties
On May 16, 11:07 am, cyclone...@gmail.com wrote: Quote:
You need a server side language, for example, PHP/JSP, to basically
download the feed and than using the server side language, parse the
XML file and display it.
>
On May 16, 10:07 am, Jake G <jgood...@dps.state.oh.uswrote:
>
>
> Quote:
Hi all,
I am trying to get a current weather conditions feed working. Yahoo
provides a free feed @http://weather.yahooapis.com/forecastrss?p=XXXXX
where XXXXX is a valid US zip code
> > Quote:
The feed is documented @http://developer.yahoo.com/weather/
> Quote:
This works fine. Where I run into trouble is learing how to use this
service. I have scoured the internet and all I can find is vague
advice that starts with "use something like this..." or "after some
php trickery...". I imagine what I want to do is very simple. I will
provide the zip and then I would like to display the current weather
conditions. Can anyone please help me with this?- Hide quoted text -
>
- Show quoted text -
Thats what I keep reading, but no where can I find how to do this. I
would prefer to use ASP as my SS language and JS as my parser. | | | | re: Weather Feed and difficulties
I have code in PHP to read an xml file but again, its PHP, not ASP.
O
On May 16, 11:33 am, Jake G <jgood...@dps.state.oh.uswrote: Quote:
On May 16, 11:07 am, cyclone...@gmail.com wrote:
>
>
> Quote:
You need a server side language, for example, PHP/JSP, to basically
download the feed and than using the server side language, parse the
XML file and display it.
> Quote:
On May 16, 10:07 am, Jake G <jgood...@dps.state.oh.uswrote:
> Quote: Quote:
Hi all,
I am trying to get a current weather conditions feed working. Yahoo
provides a free feed @http://weather.yahooapis.com/forecastrss?p=XXXXX
where XXXXX is a valid US zip code
> > Quote: Quote:
The feed is documented @http://developer.yahoo.com/weather/
> Quote: Quote:
This works fine. Where I run into trouble is learing how to use this
service. I have scoured the internet and all I can find is vague
advice that starts with "use something like this..." or "after some
php trickery...". I imagine what I want to do is very simple. I will
provide the zip and then I would like to display the current weather
conditions. Can anyone please help me with this?- Hide quoted text -
> Quote:
- Show quoted text -
>
Thats what I keep reading, but no where can I find how to do this. I
would prefer to use ASP as my SS language and JS as my parser.
| | | | re: Weather Feed and difficulties
On May 16, 8:02 am, cyclone...@gmail.com wrote: Quote:
I have code in PHP to read an xml file but again, its PHP, not ASP.
>
O
>
On May 16, 11:33 am, Jake G <jgood...@dps.state.oh.uswrote:On May 16, 11:07 am, cyclone...@gmail.com wrote:
> Quote: Quote:
You need a server side language, for example, PHP/JSP, to basically
download the feed and than using the server side language, parse the
XML file and display it.
> Quote: Quote:
On May 16, 10:07 am, Jake G <jgood...@dps.state.oh.uswrote:
> Quote: Quote:
Hi all,
I am trying to get a current weather conditions feed working. Yahoo
provides a free feed @http://weather.yahooapis.com/forecastrss?p=XXXXX
where XXXXX is a valid US zip code
> > Quote: Quote:
The feed is documented @http://developer.yahoo.com/weather/
> Quote: Quote:
This works fine. Where I run into trouble is learing how to use this
service. I have scoured the internet and all I can find is vague
advice that starts with "use something like this..." or "after some
php trickery...". I imagine what I want to do is very simple. I will
provide the zip and then I would like to display the current weather
conditions. Can anyone please help me with this?- Hide quoted text -
> Quote: Quote:
- Show quoted text -
> Quote:
Thats what I keep reading, but no where can I find how to do this. I
would prefer to use ASP as my SS language and JS as my parser.
Since it looks like the feed is an XML document, you can use the AJAX
concepts to retrieve and parse the feed |  | Similar JavaScript / Ajax / DHTML bytes | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 226,295 network members.
|