develooper Front page | perl.module-authors | Postings from June 2008

Naming help - XML "plist" (Apple/Mac/iTunes)

Thread Next
From:
Bill Ward
Date:
June 13, 2008 01:17
Subject:
Naming help - XML "plist" (Apple/Mac/iTunes)
Message ID:
3d2fe1780806130117p7fde0f32o4683783e33abd853@mail.gmail.com
I'm moving my photos from iPhoto on a Mac laptop to a Linux server
with digiKam, and want to preserve all the photo albums I'd created in
iPhoto.

I did a bunch of googling around, and found two things:
1. Mac::iPhoto - which is apparently out of date, and doesn't work
with current versions of iPhoto
2. A blog entry by Tom Gidden where he posts some scripts he wrote to
parse the info, but his scripts can only run on the Mac as they use
the Foundation classes to parse the XML.

So, I wrote my own code to parse the XML and create a hash/array
structure equivalent for Perl.  This XML format is used all over Apple
software, including iTunes which also runs on Windows.

So, I'd like to publish this on CPAN, but I'm not quite sure where to
put it.  I could put it under Mac:: but the iTunes/Windows option
rules that out in my mind.  Apple:: makes sense, but some might think
that the module was produced by Apple or one of its employees which is
not true.  I don't know if this "plist" XML format is used anywhere
outside of Apple software though?  Would XML::PList work?  Any ideas
are welcome.

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About