Hi Jeffrey,
1. What do you mean with:
This NetWebPage is of the OTHER type
CalendarServer procedure type is NetWebPage. In the Actions -> NetWebPage Settings on the general tab Page Type = OTHER
2. JSON is used for simple representing of objects with their properties. For more on JSON look at
http://json.org/example.html. Basically you just need to format the data about events in a certain way - like this:
[
{"id":111,"title":"Event1","start":"2011-11-12 10:20:00","end":"2011-11-12 13:20:00","allDay":false,"url":"http:\/\/yahoo.com\/"},
{"id":222,"title":"Event2","start":"2011-11-20","end":"2011-11-22","url":"http:\/\/yahoo.com\/"}
]
You can see how each event is formated,
In a ProcessedCode embed of your CalendarServer you can return this stream by putting it in a packet and doing
packetlen = len(clip(packet))
if packetlen > 0
p_web.ParseHTML(packet, 1, packetlen, NET:NoHeader)
packet = ''
packetlen = 0
end
This will supply your calendar with live data. In order to create your JSON string you will loop through your TPS file and get the records for the active calendar view date range. It is determined by two values passed from FullCalendar
LOC:UnixStart = p_web.GetValue('start')
LOC:UnixEnd = p_web.GetValue('end')
Hope this helps,
Alex