hello house, i am still on the rss feed project, the issue i am having is to display feed title with corressponding feed description published date on another page when the any of the title is clicked, i have done a lot of google search still could not figure out how to do it! here is my code:
<asp:XmlDataSource ID="XmlDataSource1" runat="server"
DataFile="http://www.channelstv.com/home/feed/"
XPath="rss/channel/item[position()<6]">
</asp:XmlDataSource>
<asp:Repeater ID="Repeater1" runat="server"
DataSourceID="XmlDataSource1"onitemdatabound="Repeater1_ItemDataBound">
<ItemTemplate>
<asp:HyperLink runat="server" ID="TitleLabel1" NavigateUrl='<%#string.Format("Default.aspx?News={0}", HttpUtility.UrlEncode(XPath("title").ToString()))%>' Text='<%#XPath("title")%>'></asp:HyperLink><br />
<%#DateTime.Parse(XPath("pubDate").ToString()).ToString("MMMM dd, yyyy")%>
<asp:Label ID ="Desc" runat="server" Text='<%#XPath("description")%>' style="display:none;"></asp:Label><br />
<hr style="color:#0099ff;" /><br />
</ItemTemplate>
</asp:Repeater>
here i am retrieving three feed fields from the xml file (title, pubDate, description) on newsfeed.aspx. the description field will not be shown because i set its display to none using CSS, i will only display 5 feed titles and 5 publish dates, and 5 feed descriptions, though descriptionnot visible.what i want is that, if a user clicks on any of the feed title, the user will be redirected to Default.aspx and will be able to display the feed title that was clicked, publish date and feed description on this new page(Default.aspx). i have been able to display the feed title from query string (News), but dont know how to display feed description and publish date that corresspond to the displayed title. Any assistance will be appreciated. Thanks in advance.