using the correct magic spell for ATOM autodiscovery
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 23 Jun 2006 02:46:17 +0000 (02:46 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 23 Jun 2006 02:46:17 +0000 (02:46 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@4727 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xsl/ATOM2XHTML.xsl

index 6e29154..db8da61 100644 (file)
@@ -149,7 +149,7 @@ To-do list:
                                </xsl:if>
                                <xsl:for-each select="atom:link[(@rel='alternate' or @rel='self' or @rel='description') and @href]">
                                        <xsl:variable name="linkurl"><xsl:call-template name="resolvelink"><xsl:with-param name="url" select="@href" /></xsl:call-template></xsl:variable>
-                                       <link rel="{@rel}" href="{$linkurl}" hreflang="{@hreflang}" title="{@title}" />
+                                       <link rel="alternate" href="{$linkurl}" hreflang="{@hreflang}" title="{@title}" type="{@type}"/>
                                </xsl:for-each>
                        </head>
                        <body>