<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet
	version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:output indent="yes" method="xml"/>

<xsl:template match="/tapi/document">

<rss version="2.0">
	<channel>
	<title>Technorati Tags to RSS</title>
	<link>http://www.technorati.com/</link>
	<description>Extracts the weblog url from the Technorati API tag search, and returns as RSS. The RSS feeds provided by Technorati forget to do this.</description>
	<xsl:for-each select="item/weblog">
		<item>
		<title><xsl:value-of select="name"/></title>
		<link><xsl:value-of select="url"/></link>
		</item>
	</xsl:for-each>
	</channel>
</rss>

</xsl:template>

</xsl:stylesheet>

