473,655 Members | 3,114 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 5376
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.s tate.oh.uswrote :
Hi all,
I am trying to get a current weather conditions feed working. Yahoo
provides a free feed @http://weather.yahooap is.com/forecastrss?p=X XXXX
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...@gmai l.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.s tate.oh.uswrote :
Hi all,
I am trying to get a current weather conditions feed working. Yahoo
provides a free feed @http://weather.yahooap is.com/forecastrss?p=X XXXX
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.s tate.oh.uswrote :
On May 16, 11:07 am, cyclone...@gmai l.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.s tate.oh.uswrote :
Hi all,
I am trying to get a current weather conditions feed working. Yahoo
provides a free feed @http://weather.yahooap is.com/forecastrss?p=X XXXX
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...@gmai l.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.s tate.oh.uswrote :On May 16, 11:07 am, cyclone...@gmai l.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.s tate.oh.uswrote :
Hi all,
I am trying to get a current weather conditions feed working. Yahoo
provides a free feed @http://weather.yahooap is.com/forecastrss?p=X XXXX
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
2359
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 'part' nested array working. This is my first hack at XML feeds and such, so any pointers as to how to best do this or references/tutorials would be good. (I'm doing all this in .NET 2.0 btw)
3
11369
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 a simple one in the grand scheme of things. How do I go about printing a degree symbol for the temperature? Is there an ASCII code for it, or some sort of shortcut key? I want to add it to a string so I can print it out in a label with the rest...
9
3895
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 text near by.. for example:
9
3396
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 lines in the feed like this (on the aspx page): <asp:DataList ID="DataList1" runat="server" DataSourceID="XmlDataSourceEd" Width="523px"> <ItemTemplate>
1
2441
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
1524
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 organization has access to a live XML data feed from weather.com that we are going to use to post weather on our website. (I know there are other weather feeds; for reasons I won't go into I have to work with weather.com). Basically, I want to create a...
2
2437
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 the weather.com service I've decided to use the Yahoo! Rss Weather feed since it doesn't have a license like the weather.com service does. However one problem I have with it is that it only accepts zip codes or locations ids. So if a user was to...
2
2861
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 of the feeds I've found on the web are only 2-3 day forecast. Does anyone know if there are any RSS weather feeds with a 7 day forecast? Or any alternative solution? Thanks.
1
1310
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 with images, so the result would just be a simple weather forecast with images feed example; http://feeds.bbc.co.uk/weather/feeds...ay/id/3752.xml Any suggestions would be greatly appreciated
0
8380
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8296
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8710
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8497
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6162
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4299
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2721
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1928
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1598
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.