--- In ydn-dotnet@yahoogroups.com, "betheljt" <betheljt@...> wrote:
>
> I'm working on an application that will display current weather
> information. I'm able to be everything I need from the xml rss feed
> except the picture of current weather conditions (sun, sun with a cloud
> in front of it, etc). The xml doesn't seem to return an image or a url
> to an image. Am I missing something? Can anyone explain how to do
> this?
It looks like the image you're looking for is embedded in the item
description element:
<description><![CDATA[
<img src="http://l.yimg.com/us.yimg.com/i/us/we/52/33.gif"/><br />
<b>Current Conditions:</b><br />
Fair, 63 F<BR />
<BR /><b>Forecast:</b><BR />
Sun - Partly Cloudy. High: 69 Low: 57<br />
Mon - Partly Cloudy. High: 77 Low: 57<br />
<br />
<a
href="http://us.rd.yahoo.com/dailynews/rss/weather/Sunnyvale__CA/*http://weather\
.yahoo.com/forecast/USCA1116_f.html">Full
Forecast at Yahoo! Weather</a><BR/>
(provided by The Weather Channel)<br/>
]]></description>
If your code peeks inside the <description> contents, you should be
able to pluck out the first image inside.
Brian Cantoni
YDN Engineering