CodeWiki : AlbumData

WikiHome :: List Pages :: Login
cmantito.com

AlbumData.xml is the XML-formatted Apple plist file that's used to store all the metadata for photos in iPhoto. This file is the at the heart of how iSharePhotos works. Apple tends to change the file's structure and layout every couple revisions of iPhoto which slowed development of iSharePhotos since I had to keep going back and updating the parsing engine to account for the subtle changes that would throw the script off. Since then, I've switched to a plist parsing engine instead of a static parsing engine which means that, barring Apple's changing the elements or namespaces in the XML file, everything should be ok for quite a few revisions of iPhoto. This leaves me to actually develop iSharePhotos rather than just fixing it repeatedly.

Excerpt of an AlbumData.xml
Below is a simple excerpt from the first several lines of an AlbumData.xml file as an example.

AlbumData.xml
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>Application Version</key>
<string>7.1.4 (371)</string>
<key>Archive Path</key>
<string>/Users/username/Pictures/iPhoto Library</string>
    <key>ArchiveId</key>
    <string>1</string>
<key>List of Albums</key>
<array>
<dict>
<key>AlbumId</key>
<integer>999000</integer>
<key>AlbumName</key>
<string>Photos</string>
<key>KeyList</key>
<array>
<string>280</string>
<string>281</string>
<string>282</string>
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki