Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

How to filter External RSS feed and store it in a SQL Database

$
0
0

Hi,

I have below code to retrive weather from yahoo weather.  I would like to be able filter the data so it only shows Current Conditions and Today's low and high temperatures.  I will then need to be able to store that on a SQL server. Any help is appreciated.

<asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="http://weather.yahooapis.com/forecastrss?w=2459115" XPath="rss/channel/item"></asp:XmlDataSource><asp:DataList ID="DataList2" runat="server" DataSourceID="XmlDataSource1"><ItemTemplate><br />
        Title: <a href="<%# XPath("link") %>"><%# XPath("title") %></a><br />
        Pulish Date: <%# XPath("pubDate") %><br />
        Description: <%# XPath("description") %><br />
        Forecast: <%# XPath("Forecast")%><hr /></ItemTemplate></asp:DataList>




Viewing all articles
Browse latest Browse all 23244

Trending Articles