about summary refs log tree commit diff homepage
path: root/atom.xslt
diff options
context:
space:
mode:
Diffstat (limited to 'atom.xslt')
-rw-r--r--atom.xslt4
1 files changed, 2 insertions, 2 deletions
diff --git a/atom.xslt b/atom.xslt
index 3d65467..2ed6e5b 100644
--- a/atom.xslt
+++ b/atom.xslt
@@ -14,12 +14,12 @@
       <xsl:variable name="url">
         <xsl:value-of select="$base"/>
         <xsl:text>#</xsl:text>
-        <xsl:value-of select="@id"/>
+        <xsl:value-of select="translate(@title, ' ', '-')"/>
       </xsl:variable>
       <entry>
         <link rel="alternate" type="application/xhtml+xml" href="{$url}"/>
         <id><xsl:value-of select="$url"/></id>
-        <title><xsl:value-of select="translate(@id, '-', ' ')"/></title>
+        <title><xsl:value-of select="@title"/></title>
         <content type="xhtml">
           <div xmlns="http://www.w3.org/1999/xhtml">
             <xsl:for-each select="picture">