<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">NAME
    Net::Flickr::Backup - OOP for backing up your Flickr photos locally

SYNOPSIS
        use Net::Flickr::Backup;
        use Log::Dispatch::Screen;
    
        my $flickr = Net::Flickr::Backup-&gt;new($cfg);

        my $feedback = Log::Dispatch::Screen-&gt;new('name'      =&gt; 'info',
                                                  'min_level' =&gt; 'info');

        $flickr-&gt;log()-&gt;add($feedback);
        $flickr-&gt;backup(); 

DESCRIPTION
    OOP for backing up your Flickr photos locally.

OPTIONS
    Options are passed to Net::Flickr::Backup using a Config::Simple object
    or a valid Config::Simple config file. Options are grouped by "block".

  flickr
    * api_key
        String. *required*

        A valid Flickr API key.

    * api_secret
        String. *required*

        A valid Flickr Auth API secret key.

    * auth_token
        String. *required*

        A valid Flickr Auth API token.

        The api_handler defines which XML/XPath handler to use to process
        API responses.

        * LibXML
            Use XML::LibXML.

        * XPath
            Use XML::XPath.

  backup
    * photos_root
        String. *required*

        The root folder where you want photographs to be stored. Individual
        files are named using the following pattern :

          B&lt;photos_root&gt;/B&lt;YYYY&gt;/B&lt;MM&gt;/B&lt;DD&gt;/B&lt;YYYYMMDD&gt;-B&lt;photo_id&gt;-B&lt;clean_title&gt;_B&lt;size&gt;.jpg

        Where the various components are :

        * YYYYMMDD
             photo[@id=123]/dates/@taken

        * photo_id
            photo/@id

        * clean_title
             photo[@id=123]/title

            Unicode characters translated in to ASCII (using
            Text::Unidecode) and the entire string is stripped anything that
            is not an alphanumeric, underbar, dash or a square bracket.

        * size
            Net::Flickr::Backup will attempt to fetch not only the original
            file uploaded to Flickr but also, depending on your config
            options, the medium and square versions. Filenames will be
            modified as follows :

            * original
                The original photo you uploaded to the Flickr servers. No
                extension is added.

            * medium
                These photos are scaled to 500 pixels at the longest
                dimension. A _m extension is added.

            * square
                These photos are to cropped to 75 x 75 pixels at the center.
                A _s extension is added.

    * fetch_original
        Boolean.

        Retrieve the "original" version of a photo from the Flickr servers.

        Default is true.

    * fetch_medium
        Boolean.

        Retrieve the "medium" version of a photo from the Flickr servers;
        these photos have been scaled to 500 pixels at the longest
        dimension.

        Default is false.

    * fetch_square
        Boolean.

        Retrieve the "square" version of a photo from the Flickr servers;
        these photos have been cropped to 75 x 75 pixels at the center.

        Default is false.

    * scrub_backups
        Boolean.

        If true then, for each Flickr photo ID backed up, the library will
        check backup.photos_root for images (and metadata files) with a
        matching ID but a different name. Matches will be deleted.

    * force
        Boolean.

        Force a photograph to be backed up even if it has not changed.

        Default is false.

  rdf
    * do_dump
        Boolean.

        Generate an RDF description for each photograph. Descriptions are
        written to disk in separate files.

        Default is false.

    * rdfdump_root
        String.

        The path where RDF data dumps for a photo should be written. The
        default is the same path as backup.photos_root.

        File names are generated with the same pattern used to name
        photographs.

    * rdfdump_inline
        Boolean.

        Set to true if you want the RDF dump for a photo to be stored in the
        file's JPEG COM block. RDF data will only be stored (for the time
        being) in the original image file and not any of the scaled
        versions.

        This option will only work for JPEG files and is still experimental.
        It may change or, you know, not always work. Using Adobe's XMP spec
        is on the list of things to poke at so if you've got any suggestions
        on the subject, they'd be welcome.

        Default is false.

    * photos_alias
        String.

        If defined this string is applied as regular expression substitution
        to backup.photos_root.

        Default is to append the file:/ URI protocol to a path.

    * query_geonames
        Boolean.

        If true and a photo has geodata (latitude, longitude) associated
        with it, then the geonames.org database will be queried for a
        corresponding match. Data will be added as properties of the photo's
        geo:Point description. For example :

         &lt;geo:Point rdf:about="http://www.flickr.com/photos/35034348999@N01/272880469#location"&gt;
            &lt;geo:long&gt;-122.025151&lt;/geo:long&gt;
            &lt;flickr:accuracy&gt;16&lt;/flickr:accuracy&gt;
            &lt;acl:access&gt;visbility&lt;/acl:access&gt;
            &lt;geo:lat&gt;37.417839&lt;/geo:lat&gt;
            &lt;acl:accessor&gt;public&lt;/acl:accessor&gt;
            &lt;geoname:Feature rdf:resource="http://ws.geonames.org/rdf?geonameId=5409655"/&gt;
         &lt;/geo:Point&gt;

         &lt;geoname:Feature rdf:about="http://ws.geonames.org/rdf?geonameId=5409655"&gt;
            &lt;geoname:featureCode&gt;PPLX&lt;/geoname:featureCode&gt;
            &lt;geoname:countryCode&gt;US&lt;/geoname:countryCode&gt;
            &lt;geoname:regionCode&gt;CA&lt;/geoname:regionCode&gt;
            &lt;geoname:region&gt;California&lt;/geoname:region&gt;
            &lt;geoname:city&gt;Santa Clara&lt;/geoname:city&gt;
            &lt;geoname:gtopo30&gt;2&lt;/geoname:gtopo30&gt;
         &lt;/geoname:Feature&gt;

    * &lt;query_trynt_color_api&gt;
        Boolean.

        If true, the trynt colour extraction web service will be queried
        with the URL for the "medium" sized photo. Each colour will be added
        as it's own description, referenced from the photo's principal
        description. For example :

         &lt;flickr:photo rdf:about="http://www.flickr.com/photos/35034348999@N01/299815039"&gt;
           &lt;trynt:hasColor rdf:resource="http://www.flickr.com/photos/35034348999@N01/299815039#c0c0c0"/&gt;
         &lt;/flickr:photo&gt;

         &lt;trynt:color rdf:about="http://www.flickr.com/photos/35034348999@N01/299815039#c0c0c0"&gt;
            &lt;trynt:hexidecimal&gt;c0c0c0&lt;/trynt:hexidecimal&gt;
            &lt;trynt:count&gt;654&lt;/trynt:count&gt;
         &lt;/trynt:color&gt;

        Default is false.

  iptc
    * do_dump
        Boolean.

        If true, then a limited set of metadata associated with a photo will
        be stored as IPTC information.

        A photo's title is stored as the IPTC Headline, description as
        Caption/Abstract and tags are stored in one or more Keyword headers.
        Per the IPTC 7901 spec, all text is converted to the ISO-8859-1
        character encoding.

        For example :

         exiv2 -pi /home/asc/photos/2006/06/20/20060620-171674319-mie.jpg
         Iptc.Application2.RecordVersion              Short       1  2
         Iptc.Application2.Keywords                   String     11  cameraphone
         Iptc.Application2.Keywords                   String     15  "san francisco"
         Iptc.Application2.Keywords                   String      5  filtr
         Iptc.Application2.Keywords                   String      3  mie
         Iptc.Application2.Keywords                   String     20  upcoming:event=77752
         Iptc.Application2.Headline                   String      3  Mie  

        Default is false.

  search
    Any valid parameter that can be passed to the *flickr.photos.search*
    method except 'user_id' which is pre-filled with the user_id that
    corresponds to the flickr.auth_token token.

  modified_since
    String.

    This specifies a time-based limiting criteria for fetching photos.

    The syntax is (n)(modifier) where (n) is a positive integer and
    (modifier) may be one of the following :

    * h Fetch photos that have been modified in the last (n) hours.

    * d Fetch photos that have been modified in the last (n) days.

    * w Fetch photos that have been modified in the last (n) weeks.

    * M Fetch photos that have been modified in the last (n) months.

PACKAGE METHODS
  __PACKAGE__-&gt;new($cfg)
    Returns a *Net::Flickr::Backup* object.

OBJECTS METHODS YOU SHOULD CARE ABOUT
  $obj-&gt;backup()
    Returns true or false.

OBJECT METHODS YOU MAY CARE ABOUT
  $obj-&gt;backup_photo($id,$secret)
    Backup an individual photo. This method is called internally by
    *backup*.

  $obj-&gt;scrub()
    Returns true or false.

  $obj-&gt;cancel_backup()
    Cancel the backup process as soon as the current photo backup is
    complete.

  $obj-&gt;register_callback($name, \&amp;func)
    This method is still considered experimental and may be removed.

    Valid callback triggers are :

    * start_backup_queue
        The list of photos to be backed up is pulled from the Flickr servers
        is done in batches. This trigger is invoked for the first successful
        result set.

        The callback function will be passed a *XML::XPath* representation
        of the result document returned by the Flickr API.

    * finish_backup_queue
        This trigger is invoked after the last photo has been backed up.

    * start_backup_photo
        This trigger is invoked before the object's backup_photo method is
        called.

        The callback function will be passed a *XML::XPath* representation
        of the current photo, as returned by the Flickr API.

    * finish_backup_photo
        This trigger is invoked after the object's backup_photo method is
        called.

        The callback function will be passed a *XML::XPath* representation
        of the current photo, as returned by the Flickr API, followed by a
        boolean indicating whether or not the backup was successful.

    Returns true or false, if *$func* is not a valid code reference.

  $obj-&gt;namespaces()
    Returns a hash ref of the prefixes and namespaces used by
    *Net::Flickr::RDF*

    The default key/value pairs are :

    a   http://www.w3.org/2000/10/annotation-ns

    acl http://www.w3.org/2001/02/acls#

    dc  http://purl.org/dc/elements/1.1/

    dcterms
        http://purl.org/dc/terms/

    exif
        http://nwalsh.com/rdf/exif#

    exifi
        http://nwalsh.com/rdf/exif-intrinsic#

    flickr
        x-urn:flickr:

    foaf
        http://xmlns.com/foaf/0.1/#

    geo http://www.w3.org/2003/01/geo/wgs84_pos#

    i   http://www.w3.org/2004/02/image-regions#

    rdf http://www.w3.org/1999/02/22-rdf-syntax-ns#

    rdfs
        http://www.w3.org/2000/01/rdf-schema#

    skos
        http://www.w3.org/2004/02/skos/core#

    trynt
        http://www.trynt.com#

    *Net::Flickr::Backup* adds the following namespaces :

    computer
        x-urn:$OSNAME: (where $OSNAME is the value of the English.pm $OSNAME
        variable.

  $obj-&gt;namespace_prefix($uri)
    Return the namespace prefix for *$uri*

  $obj-&gt;uri_shortform($prefix,$name)
    Returns a string in the form of *prefix*:*property*. The property is the
    value of $name. The prefix passed may or may be the same as the prefix
    returned depending on whether or not the user has defined or redefined
    their own list of namespaces.

    The prefix passed to the method is assumed to be one of prefixes in the
    default list of namespaces.

  $obj-&gt;make_photo_triples(\%data)
    Returns an array ref of array refs of the meta data associated with a
    photo (*%data*).

    If any errors are unencounter an error is recorded via the log method
    and the method returns undef.

  $obj-&gt;namespace_prefix($uri)
    Return the namespace prefix for *$uri*

  $obj-&gt;uri_shortform($prefix,$name)
    Returns a string in the form of *prefix*:*property*. The property is the
    value of $name. The prefix passed may or may be the same as the prefix
    returned depending on whether or not the user has defined or redefined
    their own list of namespaces.

    The prefix passed to the method is assumed to be one of prefixes in the
    default list of namespaces.

  $obj-&gt;api_call(\%args)
    Valid args are :

    * method
        A string containing the name of the Flickr API method you are
        calling.

    * args
        A hash ref containing the key value pairs you are passing to
        *method*

    If the method encounters any errors calling the API, receives an API
    error or can not parse the response it will log an error event, via the
    log method, and return undef.

    Otherwise it will return a *XML::LibXML::Document* object (if
    XML::LibXML is installed) or a *XML::XPath* object.

  $obj-&gt;log()
    Returns a *Log::Dispatch* object.

EXAMPLES
  CONFIG FILES
    This is an example of a Config::Simple file used to back up photos
    tagged with 'cameraphone' from Flickr

     [flickr] 
     api_key=asd6234kjhdmbzcxi6e323
     api_secret=s00p3rs3k3t
     auth_token=123-omgwtf4u
     api_handler=LibXML

     [search]
     tags=cameraphone
     per_page=500

     [backup]
     photos_root=/home/asc/photos
     scrub_backups=1
     fetch_medium=1
     fetch_square=1
     force=0

     [rdf]
     do_dump=1
     rdfdump_root=/home/asc/photos

  RDF
    This is an example of an RDF dump for a photograph backed up from Flickr
    (using Net::Flickr::RDF) :

     &lt;?xml version='1.0'?&gt;    
     &lt;rdf:RDF
      xmlns:geoname="http://www.geonames.org/onto#"
      xmlns:a="http://www.w3.org/2000/10/annotation-ns"
      xmlns:ph="http://www.machinetags.org/wiki/ph#camera"
      xmlns:filtr="http://www.machinetags.org/wiki/filtr#process"
      xmlns:nfr_geo="http://www.machinetags.org/wiki/geo#debug"
      xmlns:place="x-urn:flickr:place:"
      xmlns:exif="http://nwalsh.com/rdf/exif#"
      xmlns:trynt="http://www.trynt.com#"
      xmlns:mt="x-urn:flickr:machinetag:"
      xmlns:exifi="http://nwalsh.com/rdf/exif-intrinsic#"
      xmlns:geonames="http://www.machinetags.org/wiki/geonames#feature"
      xmlns:dcterms="http://purl.org/dc/terms/"
      xmlns:dc="http://purl.org/dc/elements/1.1/"
      xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
      xmlns:acl="http://www.w3.org/2001/02/acls#"
      xmlns:skos="http://www.w3.org/2004/02/skos/core#"
      xmlns:foaf="http://xmlns.com/foaf/0.1/"
      xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
      xmlns:flickr="x-urn:flickr:"
     &gt;

      &lt;flickr:user rdf:about="http://www.flickr.com/people/72238590@N00"&gt;
        &lt;foaf:mbox_sha1sum&gt;2fc2c76d7634d1a6446b1898bf5471205ed3d0cb&lt;/foaf:mbox_sha1sum&gt;
        &lt;foaf:name&gt;&lt;/foaf:name&gt;
        &lt;foaf:nick&gt;thincvox&lt;/foaf:nick&gt;
      &lt;/flickr:user&gt;

      &lt;flickr:tag rdf:about="http://www.flickr.com/photos/35034348999@N01/tags/filtr:process=filtr"&gt;
        &lt;skos:altLabel&gt;filtr&lt;/skos:altLabel&gt;
        &lt;dc:creator rdf:resource="http://www.flickr.com/people/35034348999@N01"/&gt;
        &lt;skos:broader rdf:resource="http://www.flickr.com/photos/tags/filtr:process=filtr"/&gt;
        &lt;skos:prefLabel rdf:resource="filtr:process=filtr"/&gt;
      &lt;/flickr:tag&gt;

      &lt;geoname:Feature rdf:about="http://ws.geonames.org/rdf?geonameId=5400754"&gt;
        &lt;geoname:featureCode&gt;PPLX&lt;/geoname:featureCode&gt;
        &lt;geoname:countryCode&gt;US&lt;/geoname:countryCode&gt;
        &lt;geoname:regionCode&gt;CA&lt;/geoname:regionCode&gt;
        &lt;geoname:gtopo30&gt;58&lt;/geoname:gtopo30&gt;
        &lt;geoname:region&gt;State of California&lt;/geoname:region&gt;
        &lt;geoname:city&gt;San Francisco County&lt;/geoname:city&gt;
        &lt;dc:isReferencedBy rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395"/&gt;
      &lt;/geoname:Feature&gt;

      &lt;flickr:machinetag rdf:about="http://www.machinetags.org/wiki/geonames#feature"&gt;
        &lt;mt:predicate&gt;feature&lt;/mt:predicate&gt;
        &lt;mt:namespace&gt;geonames&lt;/mt:namespace&gt;
        &lt;dc:isReferencedBy rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395"/&gt;
      &lt;/flickr:machinetag&gt;

      &lt;dcterms:StillImage rdf:about="http://farm1.static.flickr.com/232/522214395_d2841bdbb0_o.jpg"&gt;
        &lt;dcterms:relation&gt;Original&lt;/dcterms:relation&gt;
        &lt;exifi:height&gt;1944&lt;/exifi:height&gt;
        &lt;exifi:width&gt;2592&lt;/exifi:width&gt;
        &lt;rdfs:seeAlso rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395"/&gt;
        &lt;rdfs:seeAlso rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395#exif"/&gt;
      &lt;/dcterms:StillImage&gt;

      &lt;flickr:tag rdf:about="http://www.flickr.com/photos/tags/cameraphone"&gt;
        &lt;skos:prefLabel&gt;cameraphone&lt;/skos:prefLabel&gt;
      &lt;/flickr:tag&gt;

      &lt;flickr:tag rdf:about="http://www.flickr.com/photos/35034348999@N01/tags/filtr"&gt;
        &lt;skos:prefLabel&gt;filtr&lt;/skos:prefLabel&gt;
        &lt;dc:creator rdf:resource="http://www.flickr.com/people/35034348999@N01"/&gt;
        &lt;skos:broader rdf:resource="http://www.flickr.com/photos/tags/filtr"/&gt;
      &lt;/flickr:tag&gt;

      &lt;rdf:Description rdf:about="http://www.flickr.com/photos/35034348999@N01/522214395#exif"&gt;
        &lt;exif:flash&gt;Flash did not fire, auto mode&lt;/exif:flash&gt;
        &lt;exif:digitalZoomRatio&gt;100/100&lt;/exif:digitalZoomRatio&gt;
        &lt;exif:isoSpeedRatings&gt;100&lt;/exif:isoSpeedRatings&gt;
        &lt;exif:pixelXDimension&gt;2592&lt;/exif:pixelXDimension&gt;
        &lt;exif:apertureValue&gt;297/100&lt;/exif:apertureValue&gt;
        &lt;exif:pixelYDimension&gt;1944&lt;/exif:pixelYDimension&gt;
        &lt;exif:focalLength&gt;5.6 mm&lt;/exif:focalLength&gt;
        &lt;exif:dateTimeDigitized&gt;2007-05-30T15:10:01PDT&lt;/exif:dateTimeDigitized&gt;
        &lt;exif:colorSpace&gt;sRGB&lt;/exif:colorSpace&gt;
        &lt;exif:fNumber&gt;f/2.8&lt;/exif:fNumber&gt;
        &lt;exif:dateTimeOriginal&gt;2007-05-30T15:10:01PDT&lt;/exif:dateTimeOriginal&gt;
        &lt;exif:shutterSpeedValue&gt;4351/1000&lt;/exif:shutterSpeedValue&gt;
        &lt;exif:exposureTime&gt;0.049 sec (49/1000)&lt;/exif:exposureTime&gt;
      &lt;/rdf:Description&gt;

      &lt;trynt:color rdf:about="http://www.flickr.com/photos/35034348999@N01/522214395#604040"&gt;
        &lt;trynt:hexidecimal&gt;604040&lt;/trynt:hexidecimal&gt;
        &lt;trynt:count&gt;472&lt;/trynt:count&gt;
      &lt;/trynt:color&gt;

      &lt;rdf:Description rdf:about="x-urn:flickr:tag"&gt;
        &lt;rdfs:subClassOf rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/&gt;
      &lt;/rdf:Description&gt;

      &lt;trynt:color rdf:about="http://www.flickr.com/photos/35034348999@N01/522214395#000000"&gt;
        &lt;trynt:hexidecimal&gt;000000&lt;/trynt:hexidecimal&gt;
        &lt;trynt:count&gt;4841&lt;/trynt:count&gt;
      &lt;/trynt:color&gt;

      &lt;flickr:tag rdf:about="http://www.flickr.com/photos/35034348999@N01/tags/sanfrancisco"&gt;
        &lt;skos:prefLabel&gt;san francisco&lt;/skos:prefLabel&gt;
        &lt;skos:altLabel&gt;sanfrancisco&lt;/skos:altLabel&gt;
        &lt;dc:creator rdf:resource="http://www.flickr.com/people/35034348999@N01"/&gt;
        &lt;skos:broader rdf:resource="http://www.flickr.com/photos/tags/sanfrancisco"/&gt;
      &lt;/flickr:tag&gt;

      &lt;flickr:tag rdf:about="http://www.flickr.com/photos/tags/sanfrancisco"&gt;
        &lt;skos:prefLabel&gt;sanfrancisco&lt;/skos:prefLabel&gt;
      &lt;/flickr:tag&gt;

      &lt;dcterms:StillImage rdf:about="http://farm1.static.flickr.com/232/522214395_ed16f959a2.jpg"&gt;
        &lt;dcterms:relation&gt;Medium&lt;/dcterms:relation&gt;
        &lt;exifi:height&gt;375&lt;/exifi:height&gt;
        &lt;exifi:width&gt;500&lt;/exifi:width&gt;
        &lt;dcterms:isVersionOf rdf:resource="http://farm1.static.flickr.com/232/522214395_d2841bdbb0_o.jpg"/&gt;
        &lt;rdfs:seeAlso rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395"/&gt;
        &lt;rdfs:seeAlso rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395#exif"/&gt;
      &lt;/dcterms:StillImage&gt;

      &lt;flickr:tag rdf:about="http://www.flickr.com/photos/tags/geonames:feature=5405296"&gt;
        &lt;skos:altLabel&gt;5405296&lt;/skos:altLabel&gt;
        &lt;skos:broader rdf:resource="http://www.machinetags.org/wiki/geonames#feature"/&gt;
        &lt;skos:prefLabel rdf:resource="geonames:feature=5405296"/&gt;
      &lt;/flickr:tag&gt;

      &lt;flickr:tag rdf:about="http://www.flickr.com/photos/35034348999@N01/tags/cameraphone"&gt;
        &lt;skos:prefLabel&gt;cameraphone&lt;/skos:prefLabel&gt;
        &lt;dc:creator rdf:resource="http://www.flickr.com/people/35034348999@N01"/&gt;
        &lt;skos:broader rdf:resource="http://www.flickr.com/photos/tags/cameraphone"/&gt;
      &lt;/flickr:tag&gt;

      &lt;flickr:photoset rdf:about="http://www.flickr.com/photos/35034348999@N01/sets/72157594459261101"&gt;
        &lt;dc:description&gt;&lt;/dc:description&gt;
        &lt;dc:title&gt;LOG (2007)&lt;/dc:title&gt;
        &lt;dc:creator rdf:resource="http://www.flickr.com/people/35034348999@N01"/&gt;
      &lt;/flickr:photoset&gt;

      &lt;flickr:comment rdf:about="http://www.flickr.com/photos/straup/522214395/#comment72157600293655654"&gt;
        &lt;dc:identifier&gt;6065-522214395-72157600293655654&lt;/dc:identifier&gt;
        &lt;dc:created&gt;2007-05-31T14:54:25&lt;/dc:created&gt;
        &lt;a:body&gt;Kittens!&lt;/a:body&gt;
        &lt;dc:creator rdf:resource="http://www.flickr.com/people/35034348999@N01"/&gt;
        &lt;a:annotates rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395"/&gt;
      &lt;/flickr:comment&gt;

      &lt;flickr:user rdf:about="http://www.flickr.com/people/35034348999@N01"&gt;
        &lt;foaf:mbox_sha1sum&gt;587a68f90c4030a9b0c7d8ca6ff8549a8b40e5cd&lt;/foaf:mbox_sha1sum&gt;
        &lt;foaf:name&gt;Aaron Straup Cope&lt;/foaf:name&gt;
        &lt;foaf:nick&gt;straup&lt;/foaf:nick&gt;
      &lt;/flickr:user&gt;

      &lt;flickr:tag rdf:about="http://www.flickr.com/photos/35034348999@N01/tags/ph:camera=n95"&gt;
        &lt;skos:altLabel&gt;n95&lt;/skos:altLabel&gt;
        &lt;dc:creator rdf:resource="http://www.flickr.com/people/35034348999@N01"/&gt;
        &lt;skos:broader rdf:resource="http://www.flickr.com/photos/tags/ph:camera=n95"/&gt;
        &lt;skos:prefLabel rdf:resource="ph:camera=n95"/&gt;
      &lt;/flickr:tag&gt;

      &lt;rdf:Description rdf:about="x-urn:flickr:comment"&gt;
        &lt;rdfs:subClassOf rdf:resource="http://www.w3.org/2000/10/annotation-nsAnnotation"/&gt;
      &lt;/rdf:Description&gt;

      &lt;flickr:comment rdf:about="http://www.flickr.com/photos/straup/522214395/#comment72157600295486776"&gt;
        &lt;dc:identifier&gt;6065-522214395-72157600295486776&lt;/dc:identifier&gt;
        &lt;dc:created&gt;2007-06-01T00:19:05&lt;/dc:created&gt;
        &lt;a:body&gt;here kitty, kitty, &amp;lt;a href=&amp;quot;http://thincvox.com/audio_recordings/meow.mp3&amp;quot;&amp;gt;meow&amp;lt;/a&amp;gt;&lt;/a:body&gt;
        &lt;dc:creator rdf:resource="http://www.flickr.com/people/72238590@N00"/&gt;
        &lt;a:annotates rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395"/&gt;
      &lt;/flickr:comment&gt;

      &lt;flickr:tag rdf:about="http://www.flickr.com/photos/35034348999@N01/tags/geonames:feature=5405296"&gt;
        &lt;skos:altLabel&gt;5405296&lt;/skos:altLabel&gt;
        &lt;dc:creator rdf:resource="http://www.flickr.com/people/35034348999@N01"/&gt;
        &lt;skos:broader rdf:resource="http://www.flickr.com/photos/tags/geonames:feature=5405296"/&gt;
        &lt;skos:prefLabel rdf:resource="geonames:feature=5405296"/&gt;
      &lt;/flickr:tag&gt;

      &lt;flickr:machinetag rdf:about="http://www.machinetags.org/wiki/filtr#process"&gt;
        &lt;mt:predicate&gt;process&lt;/mt:predicate&gt;
        &lt;mt:namespace&gt;filtr&lt;/mt:namespace&gt;
        &lt;dc:isReferencedBy rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395"/&gt;
      &lt;/flickr:machinetag&gt;

      &lt;flickr:machinetag rdf:about="http://www.machinetags.org/wiki/geo#debug"&gt;
        &lt;mt:predicate&gt;debug&lt;/mt:predicate&gt;
        &lt;mt:namespace&gt;geo&lt;/mt:namespace&gt;
        &lt;dc:isReferencedBy rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395"/&gt;
      &lt;/flickr:machinetag&gt;

      &lt;flickr:photo rdf:about="http://www.flickr.com/photos/35034348999@N01/522214395"&gt;
        &lt;filtr:process&gt;filtr&lt;/filtr:process&gt;
        &lt;nfr_geo:debug&gt;namespace test&lt;/nfr_geo:debug&gt;
        &lt;acl:access&gt;visbility&lt;/acl:access&gt;
        &lt;dc:title&gt;Untitled #1180563722&lt;/dc:title&gt;
        &lt;ph:camera&gt;n95&lt;/ph:camera&gt;
        &lt;dc:rights&gt;All rights reserved.&lt;/dc:rights&gt;
        &lt;acl:accessor&gt;public&lt;/acl:accessor&gt;
        &lt;dc:description&gt;&lt;/dc:description&gt;
        &lt;dc:created&gt;2007-05-30T15:10:01-0700&lt;/dc:created&gt;
        &lt;dc:dateSubmitted&gt;2007-05-30T15:18:39-0700&lt;/dc:dateSubmitted&gt;
        &lt;geonames:feature&gt;5405296&lt;/geonames:feature&gt;
        &lt;dc:creator rdf:resource="http://www.flickr.com/people/35034348999@N01"/&gt;
        &lt;dc:subject rdf:resource="http://www.flickr.com/photos/35034348999@N01/tags/sanfrancisco"/&gt;
        &lt;dc:subject rdf:resource="http://www.flickr.com/photos/35034348999@N01/tags/ph:camera=n95"/&gt;
        &lt;dc:subject rdf:resource="http://www.flickr.com/photos/35034348999@N01/tags/geonames:feature=5405296"/&gt;
        &lt;dc:subject rdf:resource="http://www.flickr.com/photos/35034348999@N01/tags/geo:debug=namespacetest"/&gt;
        &lt;dc:subject rdf:resource="http://www.flickr.com/photos/35034348999@N01/tags/filtr:process=filtr"/&gt;
        &lt;dc:subject rdf:resource="http://www.flickr.com/photos/35034348999@N01/tags/filtr"/&gt;
        &lt;dc:subject rdf:resource="http://www.flickr.com/photos/35034348999@N01/tags/cameraphone"/&gt;
        &lt;dcterms:isPartOf rdf:resource="http://www.flickr.com/photos/35034348999@N01/sets/72157594459261101"/&gt;
        &lt;a:hasAnnotation rdf:resource="http://www.flickr.com/photos/straup/522214395/#comment72157600295486776"/&gt;
        &lt;a:hasAnnotation rdf:resource="http://www.flickr.com/photos/straup/522214395/#comment72157600293655654"/&gt;
        &lt;geo:Point rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395#location"/&gt;
        &lt;trynt:hasColor rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395#000000"/&gt;
        &lt;trynt:hasColor rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395#c0c0c0"/&gt;
        &lt;trynt:hasColor rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395#200000"/&gt;
        &lt;trynt:hasColor rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395#402020"/&gt;
        &lt;trynt:hasColor rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395#808080"/&gt;
        &lt;trynt:hasColor rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395#a08080"/&gt;
        &lt;trynt:hasColor rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395#000020"/&gt;
        &lt;trynt:hasColor rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395#c0a0a0"/&gt;
        &lt;trynt:hasColor rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395#604040"/&gt;
        &lt;trynt:hasColor rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395#806060"/&gt;
      &lt;/flickr:photo&gt;

      &lt;dcterms:StillImage rdf:about="http://farm1.static.flickr.com/232/522214395_ed16f959a2_t.jpg"&gt;
        &lt;dcterms:relation&gt;Thumbnail&lt;/dcterms:relation&gt;
        &lt;exifi:height&gt;75&lt;/exifi:height&gt;
        &lt;exifi:width&gt;100&lt;/exifi:width&gt;
        &lt;dcterms:isVersionOf rdf:resource="http://farm1.static.flickr.com/232/522214395_d2841bdbb0_o.jpg"/&gt;
        &lt;rdfs:seeAlso rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395"/&gt;
        &lt;rdfs:seeAlso rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395#exif"/&gt;
      &lt;/dcterms:StillImage&gt;

      &lt;rdf:Description rdf:about="x-urn:flickr:machinetag"&gt;
        &lt;rdfs:subClassOf rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/&gt;
      &lt;/rdf:Description&gt;

      &lt;geo:Point rdf:about="http://www.flickr.com/photos/35034348999@N01/522214395#location"&gt;
        &lt;geo:long&gt;-122.401937&lt;/geo:long&gt;
        &lt;acl:access&gt;visbility&lt;/acl:access&gt;
        &lt;geo:lat&gt;37.794694&lt;/geo:lat&gt;
        &lt;flickr:accuracy&gt;16&lt;/flickr:accuracy&gt;
        &lt;acl:accessor&gt;public&lt;/acl:accessor&gt;
        &lt;skos:broader rdf:resource="http://ws.geonames.org/rdf?geonameId=5400754"/&gt;
        &lt;skos:broader rdf:resource="http://www.flickr.com/geo/United%20States/California/San%20Francisco/San%20Francisco"/&gt;
      &lt;/geo:Point&gt;

      &lt;flickr:tag rdf:about="http://www.flickr.com/photos/tags/filtr:process=filtr"&gt;
        &lt;skos:altLabel&gt;filtr&lt;/skos:altLabel&gt;
        &lt;skos:broader rdf:resource="http://www.machinetags.org/wiki/filtr#process"/&gt;
        &lt;skos:prefLabel rdf:resource="filtr:process=filtr"/&gt;
      &lt;/flickr:tag&gt;

      &lt;trynt:color rdf:about="http://www.flickr.com/photos/35034348999@N01/522214395#808080"&gt;
        &lt;trynt:hexidecimal&gt;808080&lt;/trynt:hexidecimal&gt;
        &lt;trynt:count&gt;726&lt;/trynt:count&gt;
      &lt;/trynt:color&gt;

      &lt;trynt:color rdf:about="http://www.flickr.com/photos/35034348999@N01/522214395#a08080"&gt;
        &lt;trynt:hexidecimal&gt;a08080&lt;/trynt:hexidecimal&gt;
        &lt;trynt:count&gt;575&lt;/trynt:count&gt;
      &lt;/trynt:color&gt;

      &lt;trynt:color rdf:about="http://www.flickr.com/photos/35034348999@N01/522214395#000020"&gt;
        &lt;trynt:hexidecimal&gt;000020&lt;/trynt:hexidecimal&gt;
        &lt;trynt:count&gt;499&lt;/trynt:count&gt;
      &lt;/trynt:color&gt;

      &lt;trynt:color rdf:about="http://www.flickr.com/photos/35034348999@N01/522214395#402020"&gt;
        &lt;trynt:hexidecimal&gt;402020&lt;/trynt:hexidecimal&gt;
        &lt;trynt:count&gt;749&lt;/trynt:count&gt;
      &lt;/trynt:color&gt;

      &lt;flickr:tag rdf:about="http://www.flickr.com/photos/tags/ph:camera=n95"&gt;
        &lt;skos:altLabel&gt;n95&lt;/skos:altLabel&gt;
        &lt;skos:broader rdf:resource="http://www.machinetags.org/wiki/ph#camera"/&gt;
        &lt;skos:prefLabel rdf:resource="ph:camera=n95"/&gt;
      &lt;/flickr:tag&gt;

      &lt;rdf:Description rdf:about="#"&gt;
        &lt;dcterms:hasVersion&gt;2.0:1180823550&lt;/dcterms:hasVersion&gt;
        &lt;dc:created&gt;2007-06-02T15:32:30-0700&lt;/dc:created&gt;
        &lt;dc:creator rdf:resource="http://search.cpan.org/dist/Net-Flickr-RDF-2.0"/&gt;
        &lt;a:annotates rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395"/&gt;
      &lt;/rdf:Description&gt;

      &lt;flickr:tag rdf:about="http://www.flickr.com/photos/tags/filtr"&gt;
        &lt;skos:prefLabel&gt;filtr&lt;/skos:prefLabel&gt;
      &lt;/flickr:tag&gt;

      &lt;flickr:tag rdf:about="http://www.flickr.com/photos/35034348999@N01/tags/geo:debug=namespacetest"&gt;
        &lt;skos:altLabel&gt;namespace test&lt;/skos:altLabel&gt;
        &lt;dc:creator rdf:resource="http://www.flickr.com/people/35034348999@N01"/&gt;
        &lt;skos:broader rdf:resource="http://www.flickr.com/photos/tags/geo:debug=namespacetest"/&gt;
        &lt;skos:prefLabel rdf:resource="geo:debug=namespace test"/&gt;
        &lt;skos:altLabel rdf:resource="geo:debug=namespacetest"/&gt;
      &lt;/flickr:tag&gt;

      &lt;trynt:color rdf:about="http://www.flickr.com/photos/35034348999@N01/522214395#200000"&gt;
        &lt;trynt:hexidecimal&gt;200000&lt;/trynt:hexidecimal&gt;
        &lt;trynt:count&gt;841&lt;/trynt:count&gt;
      &lt;/trynt:color&gt;

      &lt;dcterms:StillImage rdf:about="http://farm1.static.flickr.com/232/522214395_ed16f959a2_m.jpg"&gt;
        &lt;dcterms:relation&gt;Small&lt;/dcterms:relation&gt;
        &lt;exifi:height&gt;180&lt;/exifi:height&gt;
        &lt;exifi:width&gt;240&lt;/exifi:width&gt;
        &lt;dcterms:isVersionOf rdf:resource="http://farm1.static.flickr.com/232/522214395_d2841bdbb0_o.jpg"/&gt;
        &lt;rdfs:seeAlso rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395"/&gt;
        &lt;rdfs:seeAlso rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395#exif"/&gt;
      &lt;/dcterms:StillImage&gt;

      &lt;rdf:Description rdf:about="x-urn:flickr:user"&gt;
        &lt;rdfs:subClassOf rdf:resource="http://xmlns.com/foaf/0.1/Person"/&gt;
      &lt;/rdf:Description&gt;

      &lt;trynt:color rdf:about="http://www.flickr.com/photos/35034348999@N01/522214395#806060"&gt;
        &lt;trynt:hexidecimal&gt;806060&lt;/trynt:hexidecimal&gt;
        &lt;trynt:count&gt;464&lt;/trynt:count&gt;
      &lt;/trynt:color&gt;

      &lt;flickr:machinetag rdf:about="http://www.machinetags.org/wiki/ph#camera"&gt;
        &lt;mt:predicate&gt;camera&lt;/mt:predicate&gt;
        &lt;mt:namespace&gt;ph&lt;/mt:namespace&gt;
        &lt;dc:isReferencedBy rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395"/&gt;
      &lt;/flickr:machinetag&gt;

      &lt;dcterms:StillImage rdf:about="http://farm1.static.flickr.com/232/522214395_ed16f959a2_s.jpg"&gt;
        &lt;dcterms:relation&gt;Square&lt;/dcterms:relation&gt;
        &lt;exifi:height&gt;75&lt;/exifi:height&gt;
        &lt;exifi:width&gt;75&lt;/exifi:width&gt;
        &lt;dcterms:isVersionOf rdf:resource="http://farm1.static.flickr.com/232/522214395_d2841bdbb0_o.jpg"/&gt;
        &lt;rdfs:seeAlso rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395"/&gt;
        &lt;rdfs:seeAlso rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395#exif"/&gt;
      &lt;/dcterms:StillImage&gt;

      &lt;dcterms:StillImage rdf:about="http://farm1.static.flickr.com/232/522214395_ed16f959a2_b.jpg"&gt;
        &lt;dcterms:relation&gt;Large&lt;/dcterms:relation&gt;
        &lt;exifi:height&gt;768&lt;/exifi:height&gt;
        &lt;exifi:width&gt;1024&lt;/exifi:width&gt;
        &lt;dcterms:isVersionOf rdf:resource="http://farm1.static.flickr.com/232/522214395_d2841bdbb0_o.jpg"/&gt;
        &lt;rdfs:seeAlso rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395"/&gt;
        &lt;rdfs:seeAlso rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395#exif"/&gt;
      &lt;/dcterms:StillImage&gt;

      &lt;trynt:color rdf:about="http://www.flickr.com/photos/35034348999@N01/522214395#c0a0a0"&gt;
        &lt;trynt:hexidecimal&gt;c0a0a0&lt;/trynt:hexidecimal&gt;
        &lt;trynt:count&gt;488&lt;/trynt:count&gt;
      &lt;/trynt:color&gt;

      &lt;flickr:place rdf:about="http://www.flickr.com/geo/United%20States/California/San%20Francisco/San%20Francisco"&gt;
        &lt;place:county&gt;San Francisco&lt;/place:county&gt;
        &lt;place:country&gt;United States&lt;/place:country&gt;
        &lt;place:region&gt;California&lt;/place:region&gt;
        &lt;place:locality&gt;San Francisco&lt;/place:locality&gt;
        &lt;dc:isReferencedBy rdf:resource="http://www.flickr.com/photos/35034348999@N01/522214395"/&gt;
      &lt;/flickr:place&gt;

      &lt;trynt:color rdf:about="http://www.flickr.com/photos/35034348999@N01/522214395#c0c0c0"&gt;
        &lt;trynt:hexidecimal&gt;c0c0c0&lt;/trynt:hexidecimal&gt;
        &lt;trynt:count&gt;1475&lt;/trynt:count&gt;
      &lt;/trynt:color&gt;

      &lt;flickr:tag rdf:about="http://www.flickr.com/photos/tags/geo:debug=namespacetest"&gt;
        &lt;skos:altLabel&gt;namespace test&lt;/skos:altLabel&gt;
        &lt;skos:broader rdf:resource="http://www.machinetags.org/wiki/geo#debug"/&gt;
        &lt;skos:prefLabel rdf:resource="geo:debug=namespacetest"/&gt;
      &lt;/flickr:tag&gt;

      &lt;/rdf:RDF&gt;

VERSION
    2.98

DATE
    $Date: 2007/09/03 05:36:44 $

AUTHOR
    Aaron Straup Cope &lt;ascope@cpan.org&gt;

SEE ALSO
    Net::Flickr::API

    Net::Flickr::RDF

    Config::Simple

    http://www.flickr.com/services/api/misc.userauth.html

BUGS
    Please report all bugs via http://rt.cpan.org

LICENSE
    Copyright (c) 2005-2007 Aaron Straup Cope. All Rights Reserved.

    This is free software. You may redistribute it and/or modify it under
    the same terms as Perl itself.

</pre></body></html>