| Issue 571: | XML structure to create Events using Full Calendar ? | |
| 1 person starred this issue and may be notified of changes. | Back to list |
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 ?
Feb 11, 2011
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
May I know the how you add it to the EventSource ?
Sep 23, 2012
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>
|
|
| ► Sign in to add a comment |
Labels: Type-Question