RSS Feed - the layout

@*
You need two parts to make an RSS Feed.
You put this in the layout.
Then you make a page that uses this layout and pulls specific data.
*@

@functions{

    public override void InitializePage() {
        base.InitializePage();
        Response.ContentType="application/rss+xml";

    }

}
<?xml version="1.0"?>
<rss version="2.0">
    <channel>
        <link>PUT IN THE URL TO YOUR SITE OR MAIN CONTENT PAGE HERE</link>
        <title>@Title</title>
        <description>@Title</description>
        <language>en-us</language>
        <lastBuildDate>@DateTime.Now.ToString("R")</lastBuildDate>
        @RenderBody()
    </channel>
</rss>