My RSS feeds
I decided to post my RSS feeds (1.0, 2.0 and comments 1.0) since there's been a lot of discussion about them.
I'm using the mt-entrybodymore plugin because I was having problems getting my RSS to validate. I use mt-xmlencode-block in my comments feed.
I also use ResolveURLs to change any relative links in my posts to fully qualified links (ie, to the smileys).
Text versions of my feeds (right click and save as):
RSS 1.0 (also get this plugin) (name: index.rdf)
RSS 2.0 (also get this plugin) (name: index.xml)
Comment feed, 1.0 (also get this plugin) (name: comments.rdf)
Update: I blogged this at ScriptyGoddess too.
Update: Sam pointed out that I had my file extensions flipped, so I'm correcting them now.
RSS 1.0: (should be named "index.rdf")
<?xml version="1.0" encoding="iso-8859-1"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:admin="http://webns.net/mvcb/"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns="http://purl.org/rss/1.0/">
<channel rdf:about="<$MTBlogURL$>">
<title><$MTBlogName encode_xml="1"$></title>
<link><$MTBlogURL$></link>
<description><$MTBlogDescription encode_xml="1"$></description>
<dc:language>en-us</dc:language>
<dc:creator>Your Name Here</dc:creator>
<dc:date><MTEntries lastn="1"><$MTEntryDate format="%Y-%m-%dT%H:%M:%S"$><$MTBlogTimezone$></MTEntries></dc:date>
<admin:generatorAgent rdf:resource="http://www.movabletype.org/?v=<$MTVersion$>" />
<admin:errorReportsTo rdf:resource="mailto:<MTEntries lastn="1"><$MTEntryAuthorEmail$></MTEntries>"/>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
<items>
<rdf:Seq>
<MTEntries lastn="10">
<rdf:li rdf:resource="<$MTEntryLink encode_xml="1"$>" />
</MTEntries>
</rdf:Seq>
</items>
</channel>
<MTEntries lastn="10">
<item rdf:about="<$MTEntryLink encode_xml="1"$>">
<title><$MTEntryTitle encode_xml="1"$></title>
<description><$MTEntryBodyMore encode_xml="1"$></description>
<content:encoded><![CDATA[<$MTEntryBodyMore $>]]></content:encoded>
<link><$MTEntryLink encode_xml="1"$></link>
<dc:subject><$MTEntryCategory encode_xml="1"$></dc:subject>
<dc:creator><$MTEntryAuthor encode_xml="1"$></dc:creator>
<dc:date><$MTEntryDate format="%Y-%m-%dT%H:%M:%S"$><$MTBlogTimezone$></dc:date>
</item>
</MTEntries>
</rdf:RDF>
RSS 2.0: (should be named "index.xml")
<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:admin="http://webns.net/mvcb/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title><$MTBlogName remove_html="1" encode_xml="1"$></title>
<link><$MTBlogURL$></link>
<description><$MTBlogDescription remove_html="1" encode_xml="1"$></description>
<dc:language>en-us</dc:language>
<dc:creator>Your Name Here</dc:creator>
<dc:rights>Copyright <$MTDate format="%Y"></dc:rights>
<dc:date><MTEntries lastn="1"><$MTEntryDate format="%Y-%m-%dT%H:%M:%S"$><$MTBlogTimezone$></MTEntries></dc:date>
<admin:generatorAgent rdf:resource="http://www.movabletype.org/?v=<$MTVersion$>" />
<admin:errorReportsTo rdf:resource="mailto:<MTEntries lastn="1"><$MTEntryAuthorEmail$></MTEntries>"/>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
<MTEntries lastn="10">
<item>
<title><$MTEntryTitle remove_html="1" encode_xml="1"$></title>
<link><$MTEntryLink encode_xml="1"$></link>
<description><$MTEntryBodyMore encode_xml="1"$></description>
<guid isPermaLink="false"><$MTEntryID$>@<$MTBlogURL$></guid>
<content:encoded><![CDATA[<$MTEntryBodyMore$>]]></content:encoded>
<dc:subject><$MTEntryCategory remove_html="1" encode_xml="1"$></dc:subject>
<dc:date><$MTEntryDate format="%Y-%m-%dT%H:%M:%S"$><$MTBlogTimezone$></dc:date>
</item>
</MTEntries>
</channel>
</rss>
Comment feed, 1.0: (should be named "comments.rdf")
<?xml version="1.0" encoding="iso-8859-1"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns="http://purl.org/rss/1.0/">
<channel rdf:about="<$MTBlogURL$>">
<title><$MTBlogName encode_xml="1"$>: Reader Comments</title>
<link><$MTBlogURL$></link>
<description>Comments by the readers of <$MTBlogName encode_xml="1"$></description>
<language>en-us</language>
<webMaster>Your email address</webMaster>
<admin:generatorAgent rdf:resource="http://www.movabletype.org/?v=<$MTVersion$>" />
<items>
<rdf:Seq>
<MTComments lastn="20" sort_order="descend">
<rdf:li rdf:resource="<$MTBlogURL$>comments/<$MTCommentID$>" />
</MTComments>
</rdf:Seq>
</items>
</channel>
<MTComments lastn="20" sort_order="descend">
<item rdf:about="<$MTBlogURL$>comments/<$MTCommentID$>">
<title>Comment by <$MTCommentAuthor encode_xml="1"$> on "<MTCommentEntry><$MTEntryTitle encode_xml="1"$></MTCommentEntry>"</title>
<description>
<MTXMLEncodeBlock>
<$MTCommentBody$>
<p><i>-- Posted by <b><$MTCommentAuthorLink spam_protect="1"$></b> at <b><$MTCommentDate$></b> --</i></p>
</MTXMLEncodeBlock>
</description>
<link><$MTBlogArchiveURL$><$MTCommentEntryID pad="1"$>.php</link>
<dc:subject>Comment</dc:subject>
<dc:creator><$MTCommentAuthor encode_xml="1"$></dc:creator>
<dc:date><$MTCommentDate format="%Y-%m-%dT%H:%M:%S"$><$MTBlogTimezone$></dc:date>
</item>
</MTComments>
</rdf:RDF>
13 Comments
31 TrackBacks
Listed below are links to blogs that reference this entry: My RSS feeds.
TrackBack URL for this entry: http://www.beantowngeek.com/cgi-bin/mt/mt-pong.cgi/166
I'm great at getting stuff done when I need to. Correction: I'm great at getting stuff done when I need to, provided I'm motivated. Everyone is all about the RSS lately, so I tried to fix my faulty feed this... Read More
The Spork Queen has become a newsfeed evangelist. If you don't have an XML newsfeed - or if you're not using... Read More
Thanks Guys for the information and Thanks Lisa for all the help! Read More
Some of you may read my personal blog where I have spent days now talking about XML, RSS, and why Read More
Well, courtesy of the very cool Unix Gal, I managed to get a RSS version of my comments, if anyone... Read More
With all the talk on RSS feeds lately, I’ve decided on finally fixing my feeds up (via Lisa’s great instructions).... Read More
Thanks to , I now offer RSS 1.0 in full posts as well =D Later today, I'll probably install formmail.... Read More
i know, i know...i promise.. people keep asking me to fix my rss feed. i don't really know what the Read More
I'm doing all sorts of improvements around here today. With the help of Scriptygoddess and Lisa, I've set up RSS Read More
Well, at least for the moment. I followed Lisa's instructions and have fulfilled Ms. Cookie's request and I believe that my RSS feeds are now doing the proper thing. I'm not sure, though, because I don't actually understand the plugins. But just let m... Read More
I learned my lesson, or rather, I finally figured this one out: RSS feeds that are only partials of your... Read More
Okay... for all you power users of RSS, I've set up full text XML feeds for all three of my blogs. Thanks to Christine and Lisa the Unix Gal. Dang... I'm getting so nerdy. If you come here for less... Read More
Okay... for all you power users of RSS, I've set up full text XML feeds for all three of my blogs. Thanks to Christine and Lisa the Unix Gal. Dang... I'm getting so nerdy. If you come here for less... Read More
Woo! Thanks to Lisa I now have a fully-validating totally amazing new and improved RSS 2.0 and RSS 1.0 feed. Furthermore, it now gives out the whole of the post instead of just the "entry body" (although I rarely use the extended entry anyway), and als... Read More
i finally followed lisa the unix gal's rss feed instructions, and upgraded. now how do i tell if it worked? the .xml and .rdf look ok. is it newzcrawler.com to read, hopefully, this entry?... Read More
Well, that was a lot of work. But it was definitely worth it in the end. While surfing some blogs tonight, I saw a lot of random talk about RSS and news aggregators in general, and how cool they were.... Read More
i still have no idea what i'm doing, but everything seems to be validating okay. i now have an rss... Read More
I updated my index.xml to RSS 2.0 in order to fit in with Lisa's RSS feed template (mega kudos to... Read More
Apparently, just as I've crusaded for people to ping weblogs.com to let folks who blogroll or blo.gs-roll them when updates hit their site, some people have been crusading for RSS/XML feeds of sites with extended entries to allow for rapid... Read More
For those who, like myself, prefer reading in an aggregator, rather than enjoying my oh-so-decorative html, there are now full post versions of my RSS 1.0 and RSS 2.0 feeds available. Links to them will go up on the page... Read More
This bit from plasticbag.org inspired me to update my RSS 1.0 feed and add a RSS 2.0 feed, both with full entries… I had been meaning to change them for some time, but I kept putting it off because my... Read More
I checked around for some templates for feeds and gave them a try. You can see the results on the left. I got most of my Information on these feeds from Lisa's post here and here, from Mark's, and Brad's... Read More
Someone asked me which scripts I used to make all the cool things magically appear here on BB. I found nearly everything at Scriptygoddess --... Read More
I'm organizing BB and deleted the posts revolving around my techie mess from earlier in the week, since it was an easy fix. I like... Read More
John Moore has requested that I add or rather extend my syndication options, which I now have! The following options are available: RSS 0.91 (XML) - RSS 0.91 extracts RSS 1.0 (XML) RSS 1.0 Extracts RSS 2.0(XML) RSS 2.0 Full... Read More
I'm organizing BB and deleted the posts revolving around my techie mess from earlier in the week, since it was an easy fix. I like... Read More
I'm addicted to scripts this week -- it's a great... Read More





Ok, that is almost enough to make my eyes bleed. ;-) I'm just using the Dive Into Mark RSS 2.0 template - but I don't want the extended entries to show up. The only time I use those is in restricted posts, and I don't want to give all my secrets away!
That's a good point. I only use them for posts that are long or have boring technical stuff in 'em.
I'll check out Mark's though.
Cool. You should post this up on scripty too (or at least a link back here)
(also - the link to me is broken. What I did to fix my multiple post problem was just to delete them and make a new post - so now people can comment on them)
Jennifer: All fixed!
Thanks for your help this morning girlie. I think mine are all fixed and ready to go.
Oh wow, I am challenged. I think it will be a while before I get into this LOL
I am still figuring out how to get my sites to validate
i really need smilies like yours. care to share your knowledge with a dumb girl?
I've written up tutorials for them.
Hi, great post, but I've got a tiny little niggle...
Technically, RSS 1.0 should be named .rdf, and RSS 2.0 should be .xml, you have them backwards. No biggie though, and an easy change.
Peace,
Sam
Lisa, I don't know anything about this, so decided to use your great samples and tutorial to create my RSS feeds. 1.0 validates, but I can't get 2.0 to. I keep getting this error:
column 3: description should not contain relative URL references (10 occurrences) [help]
]]>
^
Yes, I downloaded, unzipped and uploaded all the recommended plugins, also. My URL is http://prismofwhispers.com/mtblog/index.xml
Thanks in advance for any help you can give me!!
i can't believe i ever called myself a geek. i know nothing.
(but i'm learning)
OK, so what am I supposed to do with my comments feed? Just publish a link to it?
Is there some reason we don't integrate the comments feed with the main XML feed?
Wouldn't it be better to have the comments with the posts?
Just wondering. Awesome tutorial, I've implemented all three feeds.
Combined feed info coming this weekend.
I'll leave up the individual feeds for those who prefer them the way they are right now. Stay tuned!