I'm backing up my Flickr pics locally using a Perl script and the Net::Flickr::Backup module. This pulls down the original picture, a thumbnail, and the associated metadata (title, tags etc) in a RDF-XML file.
I'd like to extract a subset of this metadata so I can generate a "poor man's Flickr" HTML page. This should display the thumbnail and a link to the larger version, along with selected metadata (title, tags, and the permissions set in Flickr).
I'd like to do this from the Unix command line, pointing it to a directory of files and getting a HTML document back.
What's the best way to extract specific data from an RDF-XML file? The support in Perl seems a bit sketchy. I'm willing to try Python or Ruby if that's easier to use for RDF spelunking.