Theme updates

This commit is contained in:
Sam Ruby 2008-02-04 20:27:05 -05:00
parent e25fb76ff2
commit 918e1b02b4
2 changed files with 16 additions and 3 deletions

View File

@ -421,7 +421,7 @@ for i in range(0,len(weighted_links)):
# technorati link
a = li.newChild(None, 'a', None)
tlink = 'http://technorati.com/cosmos/search.html?url='
tlink = 'http://technorati.com/blogs/'
if link.startswith('http://'):
a.setProp('href',tlink + quote_plus(link[7:]))
else:

View File

@ -108,7 +108,13 @@
<xsl:text> </xsl:text>
<!-- name -->
<a href="{atom:link[@rel='alternate']/@href}">
<a>
<xsl:if test="atom:link[@rel='alternate']/@href">
<xsl:attribute name="href">
<xsl:value-of select="atom:link[@rel='alternate']/@href"/>
</xsl:attribute>
</xsl:if>
<xsl:choose>
<xsl:when test="planet:message">
<xsl:attribute name="class">
@ -189,7 +195,14 @@
<xsl:if test="atom:source/atom:icon">
<img src="{atom:source/atom:icon}" class="icon"/>
</xsl:if>
<a href="{atom:source/atom:link[@rel='alternate']/@href}">
<a>
<xsl:if test="atom:source/atom:link[@rel='alternate']/@href">
<xsl:attribute name="href">
<xsl:value-of
select="atom:source/atom:link[@rel='alternate']/@href"/>
</xsl:attribute>
</xsl:if>
<xsl:attribute name="title">
<xsl:value-of select="atom:source/atom:title"/>
</xsl:attribute>