I want access feed in asp.net

Posted by Mesh_2010 under ASP.NET on 10/10/2011 | Points: 10 | Views : 1004 | Status : [Member] | Replies : 3
hi,

I want access feed in asp.net working proper but i want to access 2 feed only please modify my code

[code]
<asp:DataList ID="DataList1" Runat="server" DataSourceID="XmlDataSource1">
<HeaderTemplate>
<table border="0" cellpadding="0">
</HeaderTemplate>
<ItemTemplate>

<tr><td><b><%# XPath("title") %></b><br />
<i><%# XPath("pubDate") %></i><br />
<%# XPath("description") %></td></tr>

</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>

</asp:DataList>
<asp:XmlDataSource ID="XmlDataSource1"
Runat="server"
DataFile="http://www.leathericon.com/blog/feed"
XPath="rss/channel/item">
</asp:XmlDataSource>
[/code]

Thanks
RameSH sinGH



Responses

Posted by: Vuyiswamb on: 10/10/2011 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
its done this way


http://www.dotnetfunda.com/articles/article731-how-to-consume-other-sites-rss-in-aspnet-.aspx

Thank you for posting at Dotnetfunda
[Administrator]

Mesh_2010, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Mesh_2010 on: 10/12/2011 [Member] Starter | Points: 25

Up
0
Down

it was really helpful.!

Thanks Vuyiswamb- thanks a lot.

Thanks
RameSH sinGH

Mesh_2010, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 10/12/2011 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
You are welcome :)


Thank you for posting at Dotnetfunda
[Administrator]

Mesh_2010, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response