Author Topic: XML namespace missing?  (Read 5693 times)

Offline BrianShirk

  • Newcomer
  • *
  • Posts: 2
    • View Profile
XML namespace missing?
« on: January 05, 2007, 12:21:26 AM »
I'm in the process of developing some software which will be interfacing with Photo Mechanic through Photo Mechanic's use of XMP... 

I checked out the XMP metadata embedded by Photo Mechanic in a few JPEG files and found the following namespace listed: http://ns.camerabits.com/photomechanic/1.0/...  however, this doesn't seem to exist?  It seems that the version is also fairly out of date; is there an updated namespace available anywhere?  (or, even better, an english-readable list of what XMP attributes Photo Mechanic uses for ranking/sorting, etc?)

Thanks!

Offline Kirk Baker

  • Senior Software Engineer
  • Camera Bits Staff
  • Superhero Member
  • *****
  • Posts: 24730
    • View Profile
    • Camera Bits, Inc.
Re: XML namespace missing?
« Reply #1 on: January 05, 2007, 07:03:35 AM »
I'm in the process of developing some software which will be interfacing with Photo Mechanic through Photo Mechanic's use of XMP... 

I checked out the XMP metadata embedded by Photo Mechanic in a few JPEG files and found the following namespace listed: http://ns.camerabits.com/photomechanic/1.0/...  however, this doesn't seem to exist?  It seems that the version is also fairly out of date; is there an updated namespace available anywhere?  (or, even better, an english-readable list of what XMP attributes Photo Mechanic uses for ranking/sorting, etc?)

There is no such server called ns.camerabits.com just like there is no ns.adobe.com.  Those urls are created just to define the shorthand XML namespaces.  Our short namespace is "photomechanic".  The long one is http://ns.camerabits.com/photomechanic/1.0/

Also, I'm not sure how you can say it is out of date?  Just because we call it 1.0?

Here are the tags specific to Photo Mechanic that we write out:
<photomechanic:EditStatus>edit status field from IPTC record</photomechanic:EditStatus>
<photomechanic:CountryCode>USA</photomechanic:CountryCode>
<photomechanic:TimeCreated>HHMMSS+dHdS</photomechanic:TimeCreated>
<photomechanic:Prefs>T:C:R:F</photomechanic:Prefs>

Where:

HH = 24hr hour value (0-23)
MM = minute value (0-59)
SS = second value (0-59)
dH = GMT hour delta (+/- 12)
dS = GMT minute delta (0-59)
T = Tag status (0 or 1)
C = Color Class value (0-8)
R = Rating (0-5)
F = Frame number of image or -1 if undetermined

HTH,

-Kirk