ATOM: content/@type doch wieder auf xhtml, RFC4287 ist total irreführend

In Resource-URLs werden spaces durch + ersetzt


git-svn-id: svn://svn.c3d2.de/c3d2-web/trunk@506 31f61c52-7bfb-0310-b897-fc00f8a278f0
This commit is contained in:
astro 2006-08-03 14:59:15 +00:00
parent a7dbd9869f
commit cf43a9d427
3 changed files with 5 additions and 5 deletions

View File

@ -63,7 +63,7 @@
<author>
<name><xsl:value-of select="@author"/></name>
</author>
<content type="html">
<content type="xhtml">
<!--div xmlns="http://www.w3.org/1999/xhtml"-->
<xsl:apply-templates/>
<!--/div-->
@ -71,7 +71,7 @@
<xsl:for-each select="resource">
<link
rel="enclosure"
href="{.}"
href="{translate(., ' ', '+')}"
type="{@type}"
length="{@size}"
/>

View File

@ -58,7 +58,7 @@
-->
<xsl:for-each select="resource">
<enclosure
url="{.}"
url="{replace(., ' ', '+')}"
length="{@size}"
type="{@type}"
/>

View File

@ -251,7 +251,7 @@
<ul>
<xsl:for-each select="resource">
<li>
<a href="{.}" type="{@type}">
<a href="{replace(., ' ', '+'}" type="{@type}">
<xsl:choose>
<xsl:when test="@title"><xsl:value-of select="@title"/></xsl:when>
<xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
@ -267,7 +267,7 @@
<ul>
<xsl:for-each select="resource[not(@hide='yes')]">
<li>
<a href="{.}" type="{@type}">
<a href="{replace(., ' ', '+')}" type="{@type}">
<xsl:choose>
<xsl:when test="@title"><xsl:value-of select="@title"/></xsl:when>
<xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>