Issue 571: XML structure to create Events using Full Calendar ?
Status:  Done
Owner: ----
Closed:  Aug 2010
Reported by mhari...@gmail.com, Jul 23, 2010
We are trying to create dynamically created yet static webpage to display a calendar of events. Our Static webpage will take an external XML file(which would get generated often) to display the calendar of events. 

I think I should use Events(as a function). I took a look at the example provided here: http://arshaw.com/fullcalendar/docs/event_data/events_function/

But I am not sure how to create events in XML format.

Due to system limiations, we cannot use any dynamic stuff like PHP or ASP to generate data. All we would have is static XML or a table which lists the events in required format.

Any help or ideas ?
Aug 25, 2010
Project Member #2 adamrs...@gmail.com
This is not a bug report or feature request. Please look at the "Getting Help" section on the support page (http://arshaw.com/fullcalendar/support/). Good Luck.
Status: Done
Labels: Type-Question
Feb 11, 2011
#3 victorsi...@gmail.com
Hello,

I have succesfully created events in XML as you want. Format I used:

<events>
  <event title="event title" start="2011-02-15T10:30:00" allDay="false">
  <event title="event 2" start="2011-03-15T10:30:00" allDay="false">
</events>

Hope it helps
Feb 12, 2011
#4 aki...@gmail.com
May I know the how you add it to the EventSource ?
Sep 23, 2012
#5 safrul.m...@gmail.com
Hi.. thanks to victor.. but can you help me how to write the javascript code for call that xml format? 

by default, this is for calling PHP code :

<script type='text/javascript'>

	$(document).ready(function() {
	
		$('#calendar').fullCalendar({
		
			editable: true,
			
			events: "json-events.php",
			
			eventDrop: function(event, delta) {
				alert(event.title + ' was moved ' + delta + ' days\n' +
					'(should probably update your database)');
			},
			
			loading: function(bool) {
				if (bool) $('#loading').show();
				else $('#loading').hide();
			}
			
		});
		
	});

</script>