xsl/common: fix make-flattr-link news file ending
This commit is contained in:
parent
9509887e46
commit
c7e622deec
|
@ -573,7 +573,7 @@
|
|||
starts-with($newsfile, 'content/news/pentacast-') or
|
||||
starts-with($newsfile, 'content/news/pentamusic-')">
|
||||
<xsl:text>https://flattr.com/submit/auto?user_id=coloradio&url=</xsl:text>
|
||||
<xsl:value-of select="str:encode-uri(concat($baseurl, substring-after($newsfile, 'content/')), true())"/>
|
||||
<xsl:value-of select="str:encode-uri(concat($baseurl, substring-before(substring-after($newsfile, 'content/'), '.xml'), '.html'), true())"/>
|
||||
<xsl:text>&title=</xsl:text>
|
||||
<xsl:value-of select="str:encode-uri(document($newsfile)/item/@title, true())"/>
|
||||
<xsl:text>&description=</xsl:text>
|
||||
|
|
Loading…
Reference in New Issue