From: <svn...@op...> - 2010-08-13 23:00:23
|
Author: cdfrey Date: Sat Aug 14 01:00:14 2010 New Revision: 6083 URL: http://www.opensync.org/changeset/6083 Log: Fixed XSLT converters' use of Summary and Description vevent fields Modified: plugins/google-calendar/src/gcal2osync.xslt plugins/google-calendar/src/osync2gcal.xslt Modified: plugins/google-calendar/src/gcal2osync.xslt ============================================================================== --- plugins/google-calendar/src/gcal2osync.xslt Sat Aug 14 01:00:07 2010 (r6082) +++ plugins/google-calendar/src/gcal2osync.xslt Sat Aug 14 01:00:14 2010 (r6083) @@ -79,9 +79,15 @@ </Content> </DateStarted> + <Summary> + <Content> + <xsl:value-of select="descendant::atom:title"/> + </Content> + </Summary> + <Description> <Content> - <xsl:value-of select="descendant::atom:title"/> + <xsl:value-of select="descendant::atom:content"/> </Content> </Description> Modified: plugins/google-calendar/src/osync2gcal.xslt ============================================================================== --- plugins/google-calendar/src/osync2gcal.xslt Sat Aug 14 01:00:07 2010 (r6082) +++ plugins/google-calendar/src/osync2gcal.xslt Sat Aug 14 01:00:14 2010 (r6083) @@ -28,12 +28,12 @@ <title> <xsl:attribute name="type">text</xsl:attribute> - <xsl:value-of select="descendant::Description/Content"/> + <xsl:value-of select="descendant::Summary/Content"/> </title> <content> <xsl:attribute name="type">text</xsl:attribute> - <xsl:value-of select="descendant::Comment/Content"/> + <xsl:value-of select="descendant::Description/Content"/> </content> <link> |