| Sample XML
configuration file of a Flash Calendar Template (View
XML File)
<title>My
Event Calendar</title>
<subtitle>Flash
based XML event calendar</subtitle>
<copyright>Copyright
2007 A4Flash.com</copyright>
<option>
<item id="first_day_of_week"
value="mon"/>
<item id="cell_width"
value="40"/>
<item id="cell_height"
value="30"/>
<item id="content_height"
value="80"/>
<item id="content_margin"
value="0"/>
</option>
<style>
<item id="header"
color="FFFFFF" opacity="50"
/>
<item id="footer"
color="FFFFFF" opacity="80"
/>
<item id="background"
color="FFFFFF" opacity="0"
/>
<item id="calendar_cell"
color="FFFFFF" opacity="20"
/>
<item id="calendar_cell_today"
color="FF0000" opacity="100"
/>
<item id="calendar_cell_occupied"
color="FFFFFF" opacity="80"
/>
<item id="background_image"
uri="image/bg.jpg" />
<item id="month_and_year"
color="FFFFFF" opacity="80"
/>
<item id="day_of_week"
color="FFFFFF" opacity="80"
/>
<item id="date_of_month"
color="000000" opacity="100"
/>
<item id="event_text"
color="000000" />
</style>
<entry>
<title>Normal
Event Example</title>
<content>Content
of normal event example</content>
<start>2007-02-03T10:30:00</start>
<end>2007-02-03T14:30:00</end>
<icon type="star"
/>
</entry>
<entry>
<title>Whole
Day Event Example</title>
<content>Content
of whole day event example</content>
<wholeday
/>
<start>2007-02-13T00:00:00</start>
<end>2007-02-15T00:00:00</end>
<icon type="custom"
uri="icon/custom.jpg" />
</entry>
<entry>
<title>Weekly
Event Example</title>
<content>Content
of weekly event example</content>
<repeat type="week"
value="sat" />
or <repeat
type="month" value="15"
/>
or <repeat
type="year" value="02-20"
/>
<start>2007-01-01T20:30:00</start>
<end>2007-07-01T22:30:00</end>
<icon type="party"
/>
</entry>
|
Explanation
<-- The title
tag contains title of the Calendar
(supports HTML*)
<-- The subtitle
tag contains the subtitle (supports
HTML*)
<-- The copyright
tag contains copyright information
(supports HTML*)
<-- The option
section defines options of the Calendar
<-- This item
defines first day of the week ( "mon"
or "sun" )
<-- This item
defines width of each cell
<-- This item
defines height of each cell
<-- This item
defines height of content area
<-- This item
defines margin between content area and calendar
<-- The style
section defines style and appearance
of the Calendar
<-- This tag defines
style settings of the header
<-- This tag defines
style settings of the footer
<-- This tag defines
settings of Calendar background color
<-- This tag defines
style settings of empty cells
<-- This tag defines
style settings of the cell of today
<-- This tag defines
style settings of cells containing events
<-- This tag defines
background image of Calendar
<-- This tag defines
font settings of month and year text
<-- This tag defines
font settings of days of week text
<-- This tag defines
font settings of the date numbers
<-- This tag defines
text color of event title and content
Following are examples of event items.
You can place multiple event items in XML file.
This example shows an event which appears once only.
<-- Each entry
tag represents one event item
<-- The title
tag contains event title (supports
HTML *)
<-- The content
contains event content/description
(supports HTML *)
<-- The start
tag defines starting time, date
and time seperated by "T"
<-- The end
tag defines ending time, date
and time seperated by "T"
<-- The icon
tag defines icon of this event. You
can choose :
start,
party, travel,
phone, sun,
clock, or custom
This example shows an whole day event with custom icon.
<-- This event will
occupy a day when the wholeday tag presents
<-- This setting
in icon tag allows you to use a custom icon
This example event will show in the same day of every week.
<-- The repeat
tag defines how and when this event will repeat
It
allows you to repeat an event on every "week",
"month", or "year"
For
more examples, please see our sample
XML
<-- The start
tag here defines when event starts to repeat
<-- The end
tag here defines when event stops repeating
* About HTML Support
You can use HTML font style in text fields by :
- CDATA : <title>
<![CDATA[ <u>
Text </u> ]]>
</title>
- HTML
Entites : <title>
<u>
Text </u>
</title>
|