Connecting Tech Pros Worldwide Help | Site Map

Weather Feed and difficulties

 
LinkBack Thread Tools Search this Thread
  #1  
Old May 16th, 2007, 02:15 PM
Jake G
Guest
 
Posts: n/a
Default 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?


  #2  
Old May 16th, 2007, 03:15 PM
cycloneous@gmail.com
Guest
 
Posts: n/a
Default 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?

  #3  
Old May 16th, 2007, 03:35 PM
Jake G
Guest
 
Posts: n/a
Default 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.

  #4  
Old May 16th, 2007, 04:05 PM
cycloneous@gmail.com
Guest
 
Posts: n/a
Default 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.

  #5  
Old May 16th, 2007, 06:35 PM
dave
Guest
 
Posts: n/a
Default 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

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

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 220,989 network members.