<br><br><div><span class="gmail_quote">2007/10/1, Mikolaj Machowski <<a href="mailto:mikmach@wp.pl" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mikmach@wp.pl</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

Dnia poniedzia³ek 01 pa¼dziernik 2007, Gilles Caulier napisa³:<br>> 2007/10/1, Mikolaj Machowski <<a href="mailto:mikmach@wp.pl" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mikmach@wp.pl</a>
>:<br>> > Dnia poniedzia³ek 01 pa¼dziernik 2007, Gilles Caulier napisa³:
<br>> > >     xmlns:dc="<a href="http://purl.org/dc/elements/1.1/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://purl.org/dc/elements/1.1/</a>"<br>> > >     xmlns:digiKam="
<a href="http://www.digikam.org/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.digikam.org/
</a>"<br>> ><br>> > Shouldn't path be more precise?<br>> Excepted for <a href="http://digikam.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">digikam.org</a>, where we can host a dedicaced page where users
<br>> can found the descrition of the provate schema, all others are official
<br>> and provided by specifications from adobe. For all request please mail<br>> to Adobe support (:=)))<br><br>Well, I was commenting on <a href="http://digikam.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
digikam.org</a>,  the  rest was left as comparison
<br>(all the 1.0, 1.1 ;)</blockquote><div><br>ok </div><br>Just for the fun, look like Micro$oft use XMP metadata with jpeg files under M$ Vista to index pictures. M$ use a dedicaced XMP schema to record private tags.<br>

This schema provide an URL to the spec. like the Adode XMP paper ask in this case, but the url is... invalid (:=)))). Try with this picture :<br><br><a href="http://digikam3rdparty.free.fr/TEST_IMAGES/METADATA/Vista/Autumn" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://digikam3rdparty.free.fr/TEST_IMAGES/METADATA/Vista/Autumn</a> Leaves.jpg<br><br>[gilles@localhost Vista]$ exiv2 -px Autumn\ Leaves.jpg<br>Xmp.dc.creator                               XmpSeq      1  Peter Miller<br>

Xmp.dc.title                                 LangAlt     1  lang="x-default" Feuilles d'érable en automne.<br>Xmp.dc.subject                               XmpBag      3  Exemple, Paysage, Ceci est un test pour digiKam
<br>Xmp.tiff.artist                              XmpText    12  Peter Miller<br>Xmp.tiff.copyright                           LangAlt     1  lang="x-default" (c) Peter Miller/Iconica/Getty Images<br>Xmp.MicrosoftPhoto.Rating

                    XmpText     2  50<br>Xmp.MicrosoftPhoto.LastKeywordXMP            XmpBag      3  Exemple, Paysage, Ceci est un test pour digiKam<br>Xmp.MicrosoftPhoto.LensManufacturer          XmpText    41  ceci est le champ Fabricant de l'Objectif
<br>Xmp.MicrosoftPhoto.FlashManufacturer         XmpText    37  ceci est le champs Fabricant du flash<br>Xmp.MicrosoftPhoto.LensModel                 XmpText    40  ceci est le champs Modéle de l'Objectif<br>Xmp.MicrosoftPhoto.FlashModel

                XmpText    35  Ceci est le champs Modéle du flash<br>Xmp.MicrosoftPhoto.CameraSerialNumber        XmpText    32  Ceci est le No de serie de l'APN<br>Xmp.xmp.Rating                               XmpText     1  3
<br>Xmp.exif.DateTimeOriginal                    XmpText    20  2005-11-05T01:12:05Z<br>Xmp.xmpMM.InstanceID                         XmpText    41  uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b<br><br>To get the Xmp packet, just use Exiv2 command line tool :
<br><br>exiv2 -eX Autumn\ Leaves.jpg<br><br>a new Autumn\ Leaves.xmp file will be created with this content :<br><br><?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d'?><br><xmp:xmpmeta xmlns:xmp="adobe:ns:meta/"><rdf:RDF xmlns:rdf="
<a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#">http://www.w3.org/1999/02/22-rdf-syntax-ns#</a>"><rdf:Description rdf:about="uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b" xmlns:dc="<a href="http://purl.org/dc/elements/1.1/">
http://purl.org/dc/elements/1.1/</a>"><dc:creator><rdf:Seq xmlns:rdf="<a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#">http://www.w3.org/1999/02/22-rdf-syntax-ns#</a>"><rdf:li>Peter Miller</rdf:li></rdf:Seq>
<br>                        </dc:creator></rdf:Description><rdf:Description rdf:about="uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b" xmlns:tiff="<a href="http://ns.adobe.com/tiff/1.0/">http://ns.adobe.com/tiff/1.0/
</a>"><tiff:artist>Peter Miller</tiff:artist><tiff:copyright><rdf:Alt xmlns:rdf="<a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#">http://www.w3.org/1999/02/22-rdf-syntax-ns#</a>"><rdf:li xml:lang="x-default">(c) Peter Miller/Iconica/Getty Images</rdf:li></rdf:Alt>
<br>                        </tiff:copyright></rdf:Description><rdf:Description rdf:about="uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b" xmlns:MicrosoftPhoto="<a href="http://ns.microsoft.com/photo/1.0">
http://ns.microsoft.com/photo/1.0</a>"><MicrosoftPhoto:Rating>50</MicrosoftPhoto:Rating></rdf:Description><rdf:Description rdf:about="uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b" xmlns:xmp="
<a href="http://ns.adobe.com/xap/1.0/">http://ns.adobe.com/xap/1.0/</a>"><xmp:Rating>3</xmp:Rating></rdf:Description><rdf:Description rdf:about="uuid:faf5bdd5-ba3d-11da-ad31-d33d75182f1b" xmlns:exif="
<a href="http://ns.adobe.com/exif/1.0/">http://ns.adobe.com/exif/1.0/</a>"><exif:DateTimeOriginal>2005-11-05T01:12:05Z</exif:DateTimeOriginal></rdf:Description><rdf:Description xmlns:dc="
<a href="http://purl.org/dc/elements/1.1/">http://purl.org/dc/elements/1.1/</a>"><dc:title><rdf:Alt xmlns:rdf="<a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#">http://www.w3.org/1999/02/22-rdf-syntax-ns#
</a>"><rdf:li xml:lang="x-default">Feuilles d'érable en automne.</rdf:li></rdf:Alt><br>                        </dc:title><dc:subject><rdf:Bag xmlns:rdf="<a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
http://www.w3.org/1999/02/22-rdf-syntax-ns#</a>"><rdf:li>Exemple</rdf:li><rdf:li>Paysage</rdf:li><rdf:li>Ceci est un test pour digiKam</rdf:li></rdf:Bag><br>                        </dc:subject></rdf:Description><rdf:Description xmlns:MicrosoftPhoto="
<a href="http://ns.microsoft.com/photo/1.0">http://ns.microsoft.com/photo/1.0</a>"><MicrosoftPhoto:LastKeywordXMP><rdf:Bag xmlns:rdf="<a href="http://www.w3.org/1999/02/22-rdf-syntax-ns#">http://www.w3.org/1999/02/22-rdf-syntax-ns#
</a>"><rdf:li>Exemple</rdf:li><rdf:li>Paysage</rdf:li><rdf:li>Ceci est un test pour digiKam</rdf:li></rdf:Bag><br>                        </MicrosoftPhoto:LastKeywordXMP></rdf:Description><rdf:Description xmlns:MicrosoftPhoto="
<a href="http://ns.microsoft.com/photo/1.0">http://ns.microsoft.com/photo/1.0</a>"><MicrosoftPhoto:LensManufacturer>ceci est le champ Fabricant de l'Objectif</MicrosoftPhoto:LensManufacturer><MicrosoftPhoto:FlashManufacturer>ceci est le champs Fabricant du flash</MicrosoftPhoto:FlashManufacturer><MicrosoftPhoto:LensModel>ceci est le champs Modéle de l'Objectif</MicrosoftPhoto:LensModel><MicrosoftPhoto:FlashModel>Ceci est le champs Modéle du flash</MicrosoftPhoto:FlashModel><MicrosoftPhoto:CameraSerialNumber>Ceci est le No de serie de l'APN</MicrosoftPhoto:CameraSerialNumber></rdf:Description></rdf:RDF></xmp:xmpmeta>
<br><?xpacket end='w'?><br><br>The url to the namespace (ns) definition from M$ is  <br><br><a href="http://ns.microsoft.com/photo/1.0">http://ns.microsoft.com/photo/1.0</a><br><br>Thanks to M$ to provide dumy url (:=)))
<br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> > > But i have a question about how to save the a tag path. Currently
<br>> > > the separator is a '/'. This can be a problem if user use this<br>> > > character in a tag name because it will break the tags tree in a<br>> > > future import (backup/restore). If somebody has an alternative to
<br>> > > prevent this problem, let's me hear...<br>> > ><br>> > > Thanks in advance for you constructive remarks...<br>> ><br>> > Maybe some "phishing"?<br>> ><br>

> > Unicode provides several types of slash, among them:<br>> ><br>> > 2044    ???     FRACTION SLASH<br>> > 2215    ???     DIVISION SLASH<br>><br>> This can be fine.<br><br>Hmm. See below.
<br>
><br>> Comparing to well known solidus:<br>> > 002F    /       SOLIDUS<br>> ><br>> > Since XMP fully supports utf-8 we could use them. But there is one big<br>> > problem (as seen above): we may be not sure if user has font with
<br>> > proper glyphs. Of course it is possible to do some display time<br>> > substitute but with that it would be probably better to use some<br>> > special sequence of chars, beginning eg with :: and ending with {%this
<br>> > is digikam tags path separator%} :)<br>><br>> no; the separator is never displayed somewhere in digiKam it used<br>> internally to "separate" all branches of the Tags Album treeview. In<br>

> fact the right separator char must be used to not be confused with the<br>> real text (Tag names)<br><br>In that case it is probably better use really different path separator<br>(as arrow below) or just plain ASCII where :: seems favorite :)
<br><br>> > Well, after a moment of thinking... why stop at phishing-like<br>> > solutions? Just use real arrows:<br>> ><br>> > 279D    ???     TRIANGLE-HEADED RIGHTWARDS ARROW<br>> ><br>> > I put it in some random string in 
libksirtet.po and works quite nice<br>> > on my system.  While I am working on KDE from SVN (3.5 branch), and Qt<br>> > 3.4.3 the rest of my system is 2 years old - including fonts.<br>> ><br>> > If you prefer good old ASCII:
<br>> > :: - geek friendly, may be not so understandable for "masses"<br>><br>> I love this one. It's like C++ namespace. I think it's not used with<br>> natural languages. Someone can confirm ?
<br><br>>> Feature wish: auto synchronisation of appropriate  digiKam tags with<br>>> more common XMP schemas like DC, or IPTC Core.<br>><br>> Already don in svn (:=))) Just missing 2 methods to sync Exif/Iptc with
<br>> Xmp, because Xmp can host all standard Exif/Iptc tags.<br>><br>> The only tags witch cann ot be sync is makernote. A possible solution is<br>> to host markernotes byte array as binary string in a dedicaced Xmp tag.
<br>> but it doesn't exist in norm.<br><br>Binary XML is evil ;) As you wrote in several occasions (in<br>apprehension) - leave Makernotes as they are and don't touch them<br>if not really necessary.<br><br>Personally I am interested *exclusively* in contextual metadata like
<br>covered in Dublin Core and IPTC Core.</blockquote><div><br>sure but including binary data in a xml packet is supported by the Adobe paper. Look for example the thumbnail Xmp tag:<br> <br><a href="http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/XMP.html#xmp">
http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/XMP.html#xmp</a><br></div></div><br>Gilles<br>