The Web Sucks | December 26, 2002 05:36 PM | Comments (1)

My blogroll (the list of RSS feeds I subscribe to, which appears in the right-hand column of my blog page) is now going to be more consistently up-to-date. Here's how I did it.

First, I set up a cronjob to fetch mySubscriptions.opml from my Radio Userland page. Next, I'm using Jeremy's opml2html.pl script to convert from OPML to a list of HTML. I've actually tweaked it slightly since I sent patches back to Jeremy to clean up some charset issues.

I went into the MovableType management UI and clicked on Templates. I clicked on the Main Index template and changed the Ouput File to index.shtml. Next, I edited the Template Body and added a <link> tag to the top of the page:

<link rel="subscriptions"
type="text/x-opml" title="Subscriptions"
href="<$MTBlogURL$>mySubscriptions.opml">

Below the Archives section on the page, I added the following:

<div class="sidetitle">
<a title="RSS channels I read in XML format"
name="blogroll" href="mySubscriptions.opml">My
Subscriptions</a>
</div>
<div class="side">
<!--#include file="mySubscriptions.html" -->
</div>

And that was it! Now my blogroll will get updated daily without me needing to edit the HTML by hand.

Archives
Comments

hey Michael

a little selfless promotion from radio land ... you might want to check out activeRenderer, which is designed to do this right in Radio Userland

http://radio.weblogs.com/0104487/outlines/aR/activeRenderer.html

now the self promotion - if you're using myRadio, you'll soon be able to publish your blogroll myRadio style.

take care and out
mikel

Posted by mikel at January 4, 2003 12:06 PM

Copyright © 2007 Michael J. Radwin. Some rights reserved.