History
   Show Presentation
 
 
 -164
Home • Plugins • RWDDigitalSign • RWDJson2 • -164
 


<!--#rem RWDDigitalSign/RWDJSON/-164--><!--#set var="INDEX" value="-1"--><!--#while expr="++$INDEX < <X-FC-CALENDAR-ITEM 0 NITEMS>" Events:Start-->
<!--#if expr="@length(`<X-FC-CALENDAR-ITEM 0.`$INDEX` END TIME>`)>0" there is end time, indicating it is an actual calendar event-->
<!--#set var="total_no" expr="++$total_no" -->
{
        "no":<!--#echo var="total_no" -->,
        "all_day_event":<X-FC-CALENDAR-ITEM 0.`$INDEX` ALLDAYEVENT>,
        "category":"<X-FC-CALENDAR-ITEM 0.`$INDEX` COLUMN[8021] STRING>",
        "start_time":"<X-FC-CALENDAR-ITEM 0.`$INDEX` START TIME>",
        "end_time":"<X-FC-CALENDAR-ITEM 0.`$INDEX` END TIME>",
        "location":"<X-FC-CALENDAR-ITEM 0.`$INDEX` COLUMN[1009] STRING>",
        "background-color":"<X-FC-CALENDAR-ITEM 0.`$INDEX` COLOR>",
        "title":"<X-FC-CALENDAR-ITEM 0.`$INDEX` COLUMN[Title]>",
        "subject":"<X-FC-CALENDAR-ITEM 0.`$INDEX` SUBJECT>",
        "rwk": <!--#if expr="$INDEX == 0" --><X-FC-URL-PARAMETER rwk NUMBER><!--#else -->-1<!--#endif -->,
        "r_date": "<X-FC-URL-PARAMETER Date STRING>",
        "href":"<X-FC-CALENDAR-ITEM-URI 0.`$INDEX` ABSOLUTE>"
},<!--#endif there is end time, indicating it is an actual calendar event-->
<!--#endwhile Events:End-->