Tutorial - Manually Create Photo XML
photos.xml
<?xml version="1.0"?>
<PicaJet_Database>
<Categories>
<A name="Nature">
<A id="34" name="Flowers"/>
<A id="35" name="Premium Autumn Trees"/>
<A id="39" name="Best Flowers"/>
</A>
<A name="Miscellaneous">
<A id="38" name="Stress"/>
</A>
<A name="Holidays">
<A id="32" name="Halloween"/>
<A id="40" name="Christmas Images"/>
</A>
<A name="Seasons">
<A id="25" name="Spring"/>
<A id="26" name="Fall"/>
<A id="27" name="Winter"/>
<A id="28" name="Dazzling Fall Colors"/>
</A>
<A name="People">
<A id="4" name="Family"/>
<A id="5" name="Friends"/>
</A>
<A name="Places">
<A id="41" name="NYC"/>
<A id="23" name="Alaska"/>
</A>
</Categories>
<Images>
<Image>
<Author></Author>
<Caption></Caption>
<Date>2010:02:27 20:36:38</Date>
<Path>Z:\WWW\WWW-Pub\Media\Photos\Flowers\290230410nOADSc_fs_Resized.jpg</Path>
<CategList>34</CategList>
</Image>
<Image>
<Author></Author>
<Caption></Caption>
<Date>2010:02:21 20:10:01</Date>
<Path>Z:\WWW\WWW-Pub\Media\Photos\Flowers\290230618mlgMNm_fs.jpg</Path>
<CategList>34</CategList>
</Image>
.
.
.
<Image>
<Author></Author>
<Caption></Caption>
<Date>2010:02:27 20:38:01</Date>
<Path>Z:\WWW\WWW-Pub\Media\Photos\Dazzling Fall Colors\440697757nxNHJU_fs_Resized.jpg</Path>
<CategList>28</CategList>
</Image>
<Image>
<Author></Author>
<Caption></Caption>
<Date>2010:02:21 20:09:55</Date>
<Path>Z:\WWW\WWW-Pub\Media\Photos\Dazzling Fall Colors\440698063UNttYA_fs.jpg</Path>
<CategList>28</CategList>
</Image>
.
.
.
</Images>
</PicaJet_Database>
NOTE: You must define at least one category and subcategory.
Categories
Categories are defined as <A name="category name"> where "category name" is your category name.
Subcategories
Subcategories are defined as <A id="subcatid" name="subcategory name"/> where "subcatid" is a unique id, and "subcategory name" is your subcategory name. You can have multiple subcategories below each category, but they will all be one level below the category.
For example:
<A name="Seasons">
<A id="25" name="Spring"/>
<A id="26" name="Fall"/>
<A id="27" name="Winter"/>
<A id="28" name="Dazzling Fall Colors"/>
</A>
This defines a category with the name Seasons. It has four subctegories below it, all on the same level. Each subcategory has a unique id.
In the xml file, the entry <CategList></CategList> identifies the subcategory that the photo belongs to. The CategList entry must match one of the subcategory unique ids. The entry <CategList>28</CategList> whould mean to include this photo in the "Dazzling Fall Colors" subcategory (id="28").
The photos for each subcategory should be located consecutively within the xml file. Otherwise, they will not fall withing the desired subcategories when viewed on Roksbox.





Stream Your Music
Create Photo Slideshows