Use XML instead of .desc [ IMPLEMENTED ]
Posted: Thu Sep 30, 2010 10:01 am
XML file for each image would provide more control over gallery. Name of the XML file would be the same as image and this XML would replace role of .desc files.
Basic structure of XML file:
<image>
------<date>20101004</date>
------<priority>1</priority>
------<caption>
------------<default>Some default text</default>
------------<en-gb>Some text on English</en-gb>
------</caption>
</image>
This will make possible some nice features:
- better date reading (image lose its date stamp during FTP copy or rename),
- arranging images using priority system,
- solution for any future needs for data saving and
- easy transfer of this data with images.
Basic structure of XML file:
<image>
------<date>20101004</date>
------<priority>1</priority>
------<caption>
------------<default>Some default text</default>
------------<en-gb>Some text on English</en-gb>
------</caption>
</image>
This will make possible some nice features:
- better date reading (image lose its date stamp during FTP copy or rename),
- arranging images using priority system,
- solution for any future needs for data saving and
- easy transfer of this data with images.