| Sample
XML configuration file of a Flash Photography Template
<photogallery>
<music>music.mp3</music>
<txt id="1"><![CDATA[Family
Album]]></txt>
<src id="1">cover.jpg</src>
<folder><item id="1"
pid="0" /></folder>
<photo>
<item fid="1">
<src
id="1">images/picture_01.jpg</src>
<txt
id="1"><![CDATA[Family
1]]></txt>
</item>
...
</photo>
</photogallery>
|
Explanation
<-- Open photogallery
tag to start the XML configuration
<-- Set background
music here
<-- CDATA
in txt tag contains
text on album cover
<-- src tag
contains path of cover image
<-- default folder tag for albums,
which can be ignored
<-- photo
tag contains photo items
<-- each item
tag represents a photo item
<-- src tag
contains the path of photo
<-- CDATA
in txt tag contains
title of a photo
<-- Close the item
tag
<-- more item
tags here
<-- Close the photo
tag
<-- Close the photogallery
tag
|