Re: Importing XMP data with SemWeb



The code in f-spot that translates the IPTC data to XMP uses the
IPTC4XMP spec (the results of which are displayed in the metadata
browser).  Right now that logic isn't used for much else.

One of the more complicated parts of supporting XMP is bi-directional
transformation of other metadata formats into the various XMP schemas
defined in the specification.  The png loader has a some code that
attempts this translation for image metadata that I put together to test
the concept.

I encourage anyone interested in this to examine some files with XMP
from Photoshop in the metadata browser and propose ways f-spot should
use this data here on the list either in code or words.

--Larry

On Mon, 2006-04-17 at 17:12 -0400, David Moore wrote:
> The best reference I know of for questions like this is the IPTC schema
> for XMP:
> 
> http://www.iptc.org/IPTC4XMP/
> 
> This documentation is nice because it tells how to map legacy IPTC IIM
> metadata to XMP format and vice versa, as well as specifying all the
> commonly used fields available in Photoshop.
> 
> If f-spot were to implement all the same fields as Photoshop, I think
> we'd be in good shape.
> 
> -David
> 
> On Mon, 2006-04-17 at 09:47 -0400, Warren Baird wrote:
> > Hi all,
> > 
> > I've been looking into how to get XMP importing working - specifically 
> > for Category/Tag values.
> > 
> > I looked at the XMP writing code in JpegHeader, and all it's doing is 
> > adding an anonymous bag containing the Category/Tag names as strings. 
> >     I've only done a bit of reading on XMP so far --- is this really the 
> > best way to store Category/Tag data?   Is that the format I should look 
> > for when importing?  It seems overly general to just assume that any 
> > rdf::Bag structure I find contains category names.  Is their a standard 
> > XMP namespace for storing this kind of information that we should use?
> > 
> > While I'm asking silly questions - is there any way to get at the 
> > hierarchical structure of an XMP file via the semweb code?  I've taken a 
> > quick look through the semweb docs and haven't seen anything --- 
> > everything I find seems to walk through statements as if it was a flat 
> > list.   What I'd like to do is find the bag containing the category 
> > information and then walk through it's children specifically.    some 
> > kind of DOM-like access to the data would be best...
> > 
> > Thanks,
> > 
> > Warren
> > 
> > 
> > _______________________________________________
> > F-spot-list mailing list
> > F-spot-list gnome org
> > http://mail.gnome.org/mailman/listinfo/f-spot-list
> 
> _______________________________________________
> F-spot-list mailing list
> F-spot-list gnome org
> http://mail.gnome.org/mailman/listinfo/f-spot-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]