I just had someone [ask][1] how I was able to create the [four RSS feeds][2] for my site. Here’s a quick rundown, along with the templates themselves, should anyone else want to do the same thing. All the templates are RSS 2.0, and have been checked with the [RSS Feed Validator][3].

[1]: http://www.michaelhanscom.com/eclecticism/2004/02/rss_feeds_updat.html#c573917 “Comment from Steven Kaye”
[2]: http://www.michaelhanscom.com/eclecticism/feeds.html “RSS Feeds”
[3]: http://feedvalidator.org/ “Feed Validator for Atom and RSS”

TypePad users will need a Pro account, and will also need to be using an Advanced Template set, as you’ll need to create a new template for each RSS feed you want to add. I give each template a name that’s fairly indicative of which feed it is for, and I make sure that the output file is also named similarly.

Here are the templates I use:

####Default feed: Full text, no comments####

**Template Name: `RSS 2.0 Full`**
**Output File: `index.rdf`**

<$MTBlogURL$> <$MTBlogDescription remove_html="1" encode_xml="1"$>
en-us
<$MTEntryAuthorEmail$>
Copyright <$MTDate format="%Y">
<$MTEntryDate format="%Y-%m-%dT%H:%M:%S"$><$MTBlogTimezone$>
<$MTEntryAuthorEmail$>“/>
hourly
1
2000-01-01T12:00+00:00


<$MTEntryLink encode_xml="1"$> <$MTEntryExcerpt remove_html="1" encode_xml="1"$>
<$MTEntryID$>@<$MTBlogURL$>

<$MTCategoryLabel remove_html="1" encode_xml="1"$>
<$MTEntryDate format="%Y-%m-%dT%H:%M:%S"$><$MTBlogTimezone$>


####Enhanced Feed: Full posts with comments####

**Template Name: `RSS 2.0 full plus comments`**
**Output File: `fullposts.rdf`**

<$MTBlogURL$> <$MTBlogDescription remove_html="1" encode_xml="1"$>
en-us
<$MTEntryAuthorEmail$>
Copyright <$MTDate format="%Y">
<$MTEntryDate format="%Y-%m-%dT%H:%M:%S"$><$MTBlogTimezone$>
<$MTEntryAuthorEmail$>“/>
hourly
1
2000-01-01T12:00+00:00


<$MTEntryLink encode_xml="1"$> <$MTEntryExcerpt remove_html="1" encode_xml="1"$>
<$MTEntryID$>@<$MTBlogURL$>

on
:

]]>
<$MTCategoryLabel remove_html="1" encode_xml="1"$>
<$MTEntryDate format="%Y-%m-%dT%H:%M:%S"$><$MTBlogTimezone$>


####Short Feed: Excerpts Only####

**Template Name: `RSS 2.0 Excerpts`**
**Output File: `excerpts.rdf`**

<$MTBlogURL$> <$MTBlogDescription remove_html="1" encode_xml="1"$>
en-us
<$MTEntryAuthorEmail$>
Copyright <$MTDate format="%Y">
<$MTEntryDate format="%Y-%m-%dT%H:%M:%S"$><$MTBlogTimezone$>
<$MTEntryAuthorEmail$>“/>
hourly
1
2000-01-01T12:00+00:00


<$MTEntryLink encode_xml="1"$> <$MTEntryExcerpt remove_html="1" encode_xml="1"$>
<$MTEntryID$>@<$MTBlogURL$>
]]>
<$MTCategoryLabel remove_html="1" encode_xml="1"$>
<$MTEntryDate format="%Y-%m-%dT%H:%M:%S"$><$MTBlogTimezone$>


####Comments only feed####

**Template Name: `RSS 2.0 Comments`**
**Output File: `comments.rdf`**

Update: The code here has been slightly altered since the original posting to account for an [issue with incorrect dates][4].

[4]: http://www.michaelhanscom.com/eclecticism/2004/02/issue_with_my_c.html “Issue with my comments-only feed”

<$MTBlogURL$> <$MTBlogDescription remove_html="1" encode_xml="1"$>
en-us
<$MTEntryAuthorEmail$>
Copyright <$MTDate format="%Y">
<$MTEntryDate format="%Y-%m-%dT%H:%M:%S"$><$MTBlogTimezone$>
<$MTEntryAuthorEmail$>“/>
hourly
1
2000-01-01T12:00+00:00



<$MTEntryPermalink encode_xml="1"$>#c<$MTCommentID$> <$MTCommentBody remove_html="1" encode_xml="1"$>
<$MTCommentID$>@<$MTBlogURL$>
: <$MTCommentBody$>]]>

<$MTCommentDate format="%Y-%m-%dT%H:%M:%S"$><$MTBlogTimezone$>