| 23 | | 'summary' : '<xsl:call-template name="escapeJson"><xsl:with-param name="string" select="summary"/></xsl:call-template>', |
|---|
| 24 | | 'subscriptionId' : '<xsl:value-of select="subscription/id"/>', |
|---|
| 25 | | 'calPath' : '<xsl:value-of select="calendar/encodedPath"/>', |
|---|
| 26 | | 'guid' : '<xsl:call-template name="url-encode"><xsl:with-param name="str" select="guid"/></xsl:call-template>', |
|---|
| 27 | | 'recurrenceId' : '<xsl:value-of select="recurrenceId"/>', |
|---|
| 28 | | 'link' : '<xsl:value-of select='link'/>', |
|---|
| 29 | | 'eventlink' : '<xsl:value-of select="$urlPrefix"/><xsl:value-of select="$eventView"/>&calPath=<xsl:value-of select="calendar/encodedPath"/>&guid=<xsl:call-template name="url-encode"><xsl:with-param name="str" select="guid"/></xsl:call-template>&recurrenceId=<xsl:value-of select="recurrenceId"/>', |
|---|
| 30 | | 'status' : '<xsl:value-of select='status'/>', |
|---|
| 31 | | 'start' : { |
|---|
| 32 | | 'allday' : '<xsl:value-of select='start/allday'/>', |
|---|
| 33 | | 'shortdate' : '<xsl:value-of select='start/shortdate'/>', |
|---|
| 34 | | 'longdate' : '<xsl:value-of select='start/longdate'/>', |
|---|
| 35 | | 'dayname' : '<xsl:value-of select='start/dayname'/>', |
|---|
| 36 | | 'time' : '<xsl:value-of select='start/time'/>', |
|---|
| 37 | | 'utcdate' : '<xsl:value-of select='start/utcdate'/>', |
|---|
| 38 | | 'datetime' : '<xsl:value-of select='start/unformatted'/>', |
|---|
| 39 | | 'timezone' : '<xsl:value-of select='start/timezone/id'/>' |
|---|
| | 23 | "summary" : "<xsl:call-template name="escapeJson"><xsl:with-param name="string" select="summary"/></xsl:call-template>", |
|---|
| | 24 | "subscriptionId" : "<xsl:value-of select="subscription/id"/>", |
|---|
| | 25 | "calPath" : "<xsl:value-of select="calendar/encodedPath"/>", |
|---|
| | 26 | "guid" : "<xsl:call-template name="url-encode"><xsl:with-param name="str" select="guid"/></xsl:call-template>", |
|---|
| | 27 | "recurrenceId" : "<xsl:value-of select="recurrenceId"/>", |
|---|
| | 28 | "link" : "<xsl:value-of select='link'/>", |
|---|
| | 29 | "eventlink" : "http://events.rpi.edu/event/eventView.do?calPath=<xsl:value-of select="calendar/encodedPath"/>&guid=<xsl:call-template name="url-encode"><xsl:with-param name="str" select="guid"/></xsl:call-template>&recurrenceId=<xsl:value-of select="recurrenceId"/>", |
|---|
| | 30 | "status" : "<xsl:value-of select='status'/>", |
|---|
| | 31 | "start" : { |
|---|
| | 32 | "allday" : "<xsl:value-of select='start/allday'/>", |
|---|
| | 33 | "shortdate" : "<xsl:value-of select='start/shortdate'/>", |
|---|
| | 34 | "longdate" : "<xsl:value-of select='start/longdate'/>", |
|---|
| | 35 | "dayname" : "<xsl:value-of select='start/dayname'/>", |
|---|
| | 36 | "time" : "<xsl:value-of select='start/time'/>", |
|---|
| | 37 | "utcdate" : "<xsl:value-of select='start/utcdate'/>", |
|---|
| | 38 | "datetime" : "<xsl:value-of select='start/unformatted'/>", |
|---|
| | 39 | "timezone" : "<xsl:value-of select='start/timezone/id'/>" |
|---|
| 41 | | 'end' : { |
|---|
| 42 | | 'allday' : '<xsl:value-of select='end/allday'/>', |
|---|
| 43 | | 'shortdate' : '<xsl:value-of select='end/shortdate'/>', |
|---|
| 44 | | 'longdate' : '<xsl:value-of select='end/longdate'/>', |
|---|
| 45 | | 'dayname' : '<xsl:value-of select='end/dayname'/>', |
|---|
| 46 | | 'time' : '<xsl:value-of select='end/time'/>', |
|---|
| 47 | | 'utcdate' : '<xsl:value-of select='end/utcdate'/>', |
|---|
| 48 | | 'datetime' : '<xsl:value-of select='end/unformatted'/>', |
|---|
| 49 | | 'timezone' : '<xsl:value-of select='end/timezone/id'/>' |
|---|
| | 41 | "end" : { |
|---|
| | 42 | "allday" : "<xsl:value-of select='end/allday'/>", |
|---|
| | 43 | "shortdate" : "<xsl:value-of select='end/shortdate'/>", |
|---|
| | 44 | "longdate" : "<xsl:value-of select='end/longdate'/>", |
|---|
| | 45 | "dayname" : "<xsl:value-of select='end/dayname'/>", |
|---|
| | 46 | "time" : "<xsl:value-of select='end/time'/>", |
|---|
| | 47 | "utcdate" : "<xsl:value-of select='end/utcdate'/>", |
|---|
| | 48 | "datetime" : "<xsl:value-of select='end/unformatted'/>", |
|---|
| | 49 | "timezone" : "<xsl:value-of select='end/timezone/id'/>" |
|---|
| 55 | | 'contact' : { |
|---|
| 56 | | 'name' : '<xsl:call-template name="escapeJson"><xsl:with-param name="string" select="contact/name"/></xsl:call-template>', |
|---|
| 57 | | 'phone' : '<xsl:value-of select="contact/phone"/>',<!-- |
|---|
| 58 | | 'email' : '<xsl:value-of select="contact/email"/>', --> |
|---|
| 59 | | 'link' : '<xsl:value-of select='contact/link'/>" |
|---|
| | 55 | "contact" : { |
|---|
| | 56 | "name" : "<xsl:call-template name="escapeJson"><xsl:with-param name="string" select="contact/name"/></xsl:call-template>", |
|---|
| | 57 | "phone" : "<xsl:value-of select="contact/phone"/>",<!-- |
|---|
| | 58 | "email" : "<xsl:value-of select="contact/email"/>", --> |
|---|
| | 59 | "link" : "<xsl:value-of select='contact/link'/>" |
|---|
| 61 | | 'calendar' : { |
|---|
| 62 | | 'name' : '<xsl:value-of select='calendar/name'/>', |
|---|
| 63 | | 'displayName' : '<xsl:value-of select='calendar/summary'/>', |
|---|
| 64 | | 'path' : '<xsl:value-of select='calendar/path'/>', |
|---|
| 65 | | 'encodedPath' : '<xsl:value-of select='calendar/encodedPath'/>' |
|---|
| | 61 | "calendar" : { |
|---|
| | 62 | "name" : "<xsl:value-of select='calendar/name'/>", |
|---|
| | 63 | "displayName" : "<xsl:value-of select='calendar/summary'/>", |
|---|
| | 64 | "path" : "<xsl:value-of select='calendar/path'/>", |
|---|
| | 65 | "encodedPath" : "<xsl:value-of select='calendar/encodedPath'/>" |
|---|