CDB cat dog-egories:

October 25, 2003

Syndicating "Best of Show"

I've took a little twist on RSS to deploy it in another fashion here at CDB. This was partly to response to a post by James Farmer as he tried to find an alternative approach to blogrolling.

Maybe not understanding Radio as much as I should, I commented that it might be feasible to create his own RSS feed his blog could subscribe to. Not being able to clearly explain it in text, I decided to code an example on my blog.

Here is what I did- on my right side "links" i have a section called "Best of Show" where L list the title and link to my recent presentations. Until now, what I did was to edit my template every time there was a new one (and there were four this month).

I thought I could just create my own RSS feed for this content, display say the 5 most recent on the front page, and display them all on an individual page.

Now I can update both by editing my RSS feed. Simplifies my life! Here is what it took to pull this off in MovableType and the MT-RSS Feed plugin:

First I had to set up a feed, using the Webreference tool described in Writing RSS 1-2-3. You can find this feed at:

Where I used a format of:
Title contains both the presentation title and the date in parentheses.
Link URL for the online version of the show
Description - the abstract.

On my front page, I use this code:

<MTRSSFeed file="">
<MTRSSFeedItems lastn="5">
&raquo; <a href="<$MTRSSFeedItemLink$>"><$MTRSSFeedItemTitle$></a><br />

<div align="center"><a href="show.html"><em>all best of show</em></a></div>

which gives me the titles and links for the 5 most recent items on the front page of the blog, along with a link to the page with the full list.

On my Full listing page template (create a new index template in MovableType that saves as "show.html"), my template uses:

<MTRSSFeed file="">

<h2 class="date"><$MTRSSFeedTitle$></h2>


<div class="blogbody">
<h3 class="title"><$MTRSSFeedItemTitle$></h3>
<p><$MTRSSFeedItemDescription$><br />

<span class="posted"><a href="<$MTRSSFeedItemLink$>"><$MTRSSFeedItemLink$></a></span></p>


Nad that is all- now I just hand-edit my RSS feed, pop it to the server, and rebuild index templates. Dynamic.

blogged October 25, 2003 04:47 AM :: category [ rss , using mt ] :: TrackBack

Funky, highly funky... good use of RSS to simplify everything, I like it, a lot!

Posted by: James Farmer at October 25, 2003 10:12 PM
Spammers Have Force Our Hands...
Note: Those nasty blog-spamming roaches have forced us to take action to prevent their spread- all entries made to this nlog will remain open only for 30 days within their original posting date.

If you really need to make contact with the chief dog around here, please submit a request via our feedback center