On Mon, 2006-09-18 at 18:06 +1000, Bengt Thuree wrote:
> On Mon, 2006-09-18 at 08:02 +0200, Jean-Christophe Dubacq wrote:

> > A while ago, I became concerned about the tag names that are stored in
> > the DB. Some tags are localized (Places in C locale becomes Lieux in
> > fr_FR locale). However, the localized tag is stored in the DB (here:
> > Lieux) instead of the generic (English) name. Thus, if someone switches
> > (with the same DB) from one locale to another, the tag does not change.
> > Which means that EXIF field filling will probably become impossible
> > (such as extracting the country from the tags, or the author, or
> > anything else). This is something I see as interesting to be done, and
> > it requires just minute changes to the tag-handling categories (in
> > short: always display the tag name, but store original tag-name in the
> > DB instead).
> Good idea I think.
> 

On second thought...
This is quite ok for the permanent main categories... which current
F-Spot do not have.
How would it be with all user defined tags?
To me it looks like we need some permanent tag names in one form or
another. 

Below is a printout of the embedded XMP tags in a photo I have.
As you can see, it is very detailed, and easy to get the meaning of the
various tags. Paris, Hilton (Paris) and Paris are different tags for
instance.

> <?xpacket begin="
> " id="W5M0MpCehiHzreSzNTczkc9d"?>
> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Public XMP Toolkit Core 4.0">
>    <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";>
>       <rdf:Description rdf:about=""
>             xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/";>
>          <photoshop:Urgency>8</photoshop:Urgency>
>          <photoshop:Instructions>Instructions String</photoshop:Instructions>
>          <photoshop:City>City String</photoshop:City>
>          <photoshop:State>State String</photoshop:State>
>          <photoshop:Country>Country String</photoshop:Country>
>          <photoshop:TransmissionReference>Job Identifier 
> String</photoshop:TransmissionReference>
>          <photoshop:Headline>Headline String</photoshop:Headline>
>          <photoshop:Credit>Provider String</photoshop:Credit>
>          <photoshop:Source>Source String</photoshop:Source>
>          <photoshop:CaptionWriter>Description Writer 
> String</photoshop:CaptionWriter>
>          <photoshop:AuthorsPosition>Creator Job 
> Title</photoshop:AuthorsPosition>
>          <photoshop:SupplementalCategories>
>             <rdf:Bag>
>                <rdf:li>Categories 1</rdf:li>
>                <rdf:li>Categories 2</rdf:li>
>                <rdf:li>Categories 3</rdf:li>
>             </rdf:Bag>
>          </photoshop:SupplementalCategories>
>          <photoshop:DateCreated>2006-09-16</photoshop:DateCreated>
>          <photoshop:Category>Category String</photoshop:Category>
>       </rdf:Description>
>       <rdf:Description rdf:about=""
>             xmlns:dc="http://purl.org/dc/elements/1.1/";>
>          <dc:creator>
>             <rdf:Seq>
>                <rdf:li>Creator Name</rdf:li>
>             </rdf:Seq>                                                        
>                                             
>          </dc:creator>
>          <dc:subject>
>             <rdf:Bag>
>                <rdf:li>Keyword 1</rdf:li>
>                <rdf:li>Keyword 2</rdf:li>
>                <rdf:li>Keyword 3</rdf:li>
>             </rdf:Bag>
>          </dc:subject>
>          <dc:description>                                                     
>                                                
>             <rdf:Alt>
>                <rdf:li xml:lang="x-default">AppleMark&#xD;&#xA;</rdf:li>
>             </rdf:Alt>
>          </dc:description>
>          <dc:title>
>             <rdf:Alt>
>                <rdf:li xml:lang="x-default">Title String</rdf:li>
>             </rdf:Alt>
>          </dc:title>                                                          
>                                           
>          <dc:rights>
>             <rdf:Alt>
>                <rdf:li xml:lang="x-default">Copyright Notice String</rdf:li>
>             </rdf:Alt>
>          </dc:rights>
>       </rdf:Description>
>       <rdf:Description rdf:about=""
>             xmlns:xapRights="http://ns.adobe.com/xap/1.0/rights/";>
>          <xapRights:WebStatement>URL.COM.String</xapRights:WebStatement>
>          <xapRights:UsageTerms>
>             <rdf:Alt>
>                <rdf:li xml:lang="x-default">Rights Usage Terms String</rdf:li>
>             </rdf:Alt>
>          </xapRights:UsageTerms>
>       </rdf:Description>
>       <rdf:Description rdf:about=""
>             xmlns:xap="http://ns.adobe.com/xap/1.0/";>
>          <xap:Rating>4</xap:Rating>
>       </rdf:Description>
>       <rdf:Description rdf:about=""
>             xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/";>
>          <Iptc4xmpCore:Location>Location String</Iptc4xmpCore:Location>
>          <Iptc4xmpCore:CountryCode>US</Iptc4xmpCore:CountryCode>
>          <Iptc4xmpCore:IntellectualGenre>Intellectual Genre 
> String</Iptc4xmpCore:IntellectualGenre>
>          <Iptc4xmpCore:CreatorContactInfo rdf:parseType="Resource">
>             <Iptc4xmpCore:CiAdrExtadr>Creator Address 1&#xD;&#xA;Creator 
> Address 1</Iptc4xmpCore:CiAdrExtadr>
>             <Iptc4xmpCore:CiAdrCity>Creator City</Iptc4xmpCore:CiAdrCity>
>             <Iptc4xmpCore:CiAdrRegion>Creator 
> State/Province</Iptc4xmpCore:CiAdrRegion>
>             <Iptc4xmpCore:CiAdrPcode>Creator Postal 
> Code</Iptc4xmpCore:CiAdrPcode>
>             <Iptc4xmpCore:CiAdrCtry>Creator Country</Iptc4xmpCore:CiAdrCtry>
>             <Iptc4xmpCore:CiTelWork>Creator Phone 1&#xD;&#xA;Creator Phone 
> 2</Iptc4xmpCore:CiTelWork>
>             <Iptc4xm          <rdf:li>Keywords 
> Field</rdf:li>pCore:CiEmailWork>Creator [EMAIL PROTECTED]&#xD;&#xA;Creator 
> [EMAIL PROTECTED]</Iptc4xmpCore:CiEmailWork>
>             <Iptc4xmpCore:CiUrlWork>Creator web.address.com1&#xD;&#xA;Creator 
> web.address.com2</Iptc4xmpCore:CiUrlWork>
>          </Iptc4xmpCore:CreatorContactInfo>
>          <Iptc4xmpCore:SubjectCode>
>             <rdf:Bag>
>                <rdf:li>12345678</rdf:li>
>                <rdf:li>23456789</rdf:li>
>                <rdf:li>34567890</rdf:li>
>             </rdf:Bag>
>          </Iptc4xmpCore:SubjectCode>
>          <Iptc4xmpCore:Scene>
>             <rdf:Bag>
>                <rdf:li>123456</rdf:li>
>                <rdf:          <rdf:li>Keywords 
> Field</rdf:li>li>234567</rdf:li>
>                <rdf:li>345678</rdf:li>
>             </rdf:Bag>
>          </Iptc4xmpCore:Scene>
>       </rdf:Description>
>       <rdf:Description rdf:about=""
>             xmlns:mediapro="http://ns.iview-multimedia.com/mediapro/1.0/";>
>          <mediapro:Status>Status String</mediapro:Status>
>          <mediapro:Event>Event String</mediapro:Event>
>          <mediapro:People>
>             <rdf:Bag          <rdf:li>Keywords Field</rdf:li>>
>                <rdf:li>People 1</rdf:li>
>                <rdf:li>People 2</rdf:li>
>                <rdf:li>People 3</rdf:li>
>             </rdf:Bag>
>          </mediapro:People>
>       </rdf:Description>
>    </rdf:RDF>
> </x:xmpmeta>                 
> <?xpacket end="w"?>
> 

On the other hand
Here is the same outpu          <rdf:li>Keywords Field</rdf:li>t of a photo 
empty of tags, and I just added a favorit tag to it.

> <?xpacket begin="
> " id="testing"?>
> <x:xmpmeta xmlns:x="adobe:ns:meta/">
>   <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"; 
> xmlns:ns="http://purl.org/dc/elements/1.1/";>
>     <rdf:Description>
>       <ns:subject>
>         <rdf:Bag>
>           <rdf:li>Favorites</rdf:li>
>         </rdf:Bag>          <rdf:li>Keywords Field</rdf:li>
>       </ns:subject>
>     </rdf:Description>
>   </rdf:RDF>
> </x:xmpmeta>
> <?xpacket end="r"?>

As you can see, all tags will end up in the same bag.
Not to easy to differentiate, as well as have permanent tag names.

/Bengt

_______________________________________________
F-spot-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/f-spot-list

Reply via email to