Make the iCal feed to use the title as the summary

The summary of an iCal event should be short and the short description is
usually not. Use the title instead.
news-update
Michael Spang 14 years ago
parent 5e5bdc42c5
commit d870955726
  1. 4
      xsl/ics.xsl

@ -43,8 +43,8 @@ DTEND:<xsl:value-of select="$end" />
DTEND:<xsl:value-of select="$end" />
</xsl:otherwise>
</xsl:choose>
SUMMARY:<xsl:value-of select="$title" /><xsl:if test="$short != ''"> -- <xsl:value-of select="$short" /></xsl:if>
DESCRIPTION:<xsl:value-of select="$abstract" />
SUMMARY:<xsl:value-of select="$title" />
DESCRIPTION:<xsl:if test="$short != ''"><xsl:value-of select="$short" /></xsl:if><xsl:if test="$short = ''"><xsl:value-of select="$abstract" /></xsl:if>
END:VEVENT
</xsl:template>

Loading…
Cancel
Save