473,320 Members | 1,814 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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?

May 16 '07 #1
4 5358
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:
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?

May 16 '07 #2
On May 16, 11:07 am, cyclone...@gmail.com wrote:
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:
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?- 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.

May 16 '07 #3
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:
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:
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?- 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.

May 16 '07 #4
On May 16, 8:02 am, cyclone...@gmail.com wrote:
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:
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:
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?- 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.
Since it looks like the feed is an XML document, you can use the AJAX
concepts to retrieve and parse the feed

May 16 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: elixxir | last post by:
Hiho, I'm trying to deserialize the following XML feed from the weather channel but I'm having an issue with the nested arrays. I got as far as getting the 'day' into arrays but I can't get the...
3
by: Neal | last post by:
VC++ VS 2003 I am currently finishing up a weather bug program that receives data from the weather.com weather feed, just need some finishing touches. The one issue I have run into seems to be...
9
by: Boki | last post by:
Hi All, I am going to create a personal weather board. It is easy to show the picutre on website ( just link the picture to picturesbox's properties ) but I dont' know how to add some other...
9
by: StewartS | last post by:
Hi there, I'm looking to display the Yahoo Weather feed on my website (http://developer.yahoo.com/weather/). I am using Visual Web Developer 2005. Everything works fine while parsing normal...
1
by: nagabhargavi | last post by:
Hi, Can any one tell me how to display weather of a city enetred using text box in my web site using php like as in weather.com.
3
kimbere
by: kimbere | last post by:
Hi folks. I'm a non-developer with just enough JavaScript knowledge to get me into trouble. I've got an application question and I'm hoping someone can point me in the right direction. My...
2
by: seancron | last post by:
Does anybody have any suggestions for getting started on desigining a desktop weather application in Python? I've been looking for access to weather data and while I have found several including...
2
by: Craig M | last post by:
Our current intranet site displays the weather with a 7 day forecast. We have to manually enter all the weather info into a SQL DB using a web front end, but would like to use an RSS feed. All...
1
by: dylanb | last post by:
Hi, I am looking for a way to display a bbc weather rss feed on a website with php, I was wondering if there are also ways of modifying the feed to strip some of the text, and replace certain words...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.