Let's see how many lines Tom needs
Tom thinks he needs Java for a proper blogroll. Most aggregators offer you to im-/export an OPML dump of your subscriptions. This XSLT stylesheet makes it into a XHTML fragment which I paste into my MT template:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output encoding="ISO-8859-1" method="xml"/>
<xsl:template match="opml">
<xsl:for-each select="body/outline">
<xsl:sort select="@title"/>
<xsl:choose>
<xsl:when test="normalize-space(@htmlUrl)">
<a href="{normalize-space(@htmlUrl)}">
<xsl:if test="normalize-space(@description)">
lt;xsl:attribute name="title">
<xsl:value-of select="normalize-space(@description)"/>
</xsl:attribute>
</xsl:if>
<xsl:value-of select="normalize-space(@title)"/>
</a>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="normalize-space(@title)"/>
</xsl:otherwise>
</xsl:choose> <a href="{@xmlUrl}"><img src="images/tinyxml.jpg" border="0"/></a><br/><xsl:text>
</xsl:text>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>