I'm trying to use full calendar to load events from a json source. The json is from a URL like a feed, "mysite.com/getEvents" (which returns a json event object). Right now it returns an object
{"allDay":false,"end":1325577600,"start":1325577600}
I tried
$('#calendar').fullCalendar({
events: 'mysite.com/getEvents'
});
But nothing happens. I know my json is missing the title and the id. So we have 2 questions.
- What is the proper way to get the events from a json url
- How do I go about generating an id for every event created?