<%@ Page Language="C#" AutoEventWireup="true" ContentType="text/xml"
EnableTheming="false"
CodeFile="GetArticlesRss.aspx.cs" Inherits="GetArticlesRss" %>
<head runat="server" visible="false"></head>
<asp:Repeater id="rptRss" runat="server">
<HeaderTemplate>
<rss version="2.0">
<channel>
<title><![CDATA[Mamas House: <%# RssTitle %>]]></title>
<link><%# FullBaseUrl %></link>
<description>Mamas House: the site for my big mama</description>
<copyright>Copyright 2007 by Mamas Boy</copyright>
</HeaderTemplate>
<ItemTemplate>
<item>
<title><![CDATA[<%# Eval("Title") %>]]></title>
<author><![CDATA[<%# Eval("AddedBy") %>]]></author>
<description><![CDATA[<%# Eval("Abstract") %>]]></description>
<link><![CDATA[<%# FullBaseUrl + "ShowArticle.aspx?ID="+
Eval("ID") %>]]></link>
<pubDate><%# string.Format("{0:R}", Eval("ReleaseDate")) %></pubDate>
</item>
</ItemTemplate>
<FooterTemplate>
</channel>
</rss>
</FooterTemplate>
</asp:Repeater>
No comments:
Post a Comment