Disabling Specific Dates
Disabling specific dates in a Calendar is fairly simple. The procedure requires two steps: first, you need to create an 'Events' XML file that lists all dates that you want to disable, and second, specify the eventsurl attribute to point to this XML file.
Creating An Events XML File
The format of the Events XML file is very simple, and looks like this:
<?xml version="1.0" encoding="utf-8"?> <root fields="startdate|enddate|location|description|type"> <e a="2008-01-01" e="disabled" /> </root>
This example Events XML file has a single disabled date: January 1st, 2008. To change the date, change the date in the a attribute of the e node. Of course, you can add more disabled dates by adding more e nodes.
Attaching The Events XML To Your Calendar
The eventsurl attribute of your Calendar declaration should simply point to the XML file. Done!
page_revision: 1, last_edited: 1224629636|%e %b %Y, %H:%M %Z (%O ago)