Hi, I heard that Perl is good for text manipulation, which should be useful for converting TXT file data to XML based files. I have text files which are somewhat structured, they contain data which I usually manually copy & paste into the image handling application Aperture (from Apple) to a specific picture.
The TXT file is structured like so:
"Title"
"URL"
"Comments"
Of which then the custom data follows like so, which you can see here for example.
I need to create a Perl script to export an XML file so that data looks like this .
Aperture uses IPTC metadata over XMP and so I figure I need to adhere to the following fields:
"Title" -> "photoshop:Headline"
"Comments" -> "dc:description"
"URL" -> "Iptc4xmpCore:SubjectCode"
So, I guess I'm asking for rudimentary help here, I cannot program in Perl but was told that a "simple" script would get me there, am I on the right track?
Thanks in advance!
The TXT file is structured like so:
"Title"
"URL"
"Comments"
Of which then the custom data follows like so, which you can see here for example.
I need to create a Perl script to export an XML file so that data looks like this .
Aperture uses IPTC metadata over XMP and so I figure I need to adhere to the following fields:
"Title" -> "photoshop:Headline"
"Comments" -> "dc:description"
"URL" -> "Iptc4xmpCore:SubjectCode"
So, I guess I'm asking for rudimentary help here, I cannot program in Perl but was told that a "simple" script would get me there, am I on the right track?
Thanks in advance!