[KPhotoAlbum] Tokens in big xml db

albert at yabacs.net albert at yabacs.net
Fri Aug 25 16:12:54 BST 2006


Hi Christoph,

I got the wrong file on wednesday - my example was the 2.2 file :-(
Saved with kphotoalbum-2006-08-22 it looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<KPhotoAlbum version="3" compressed="0" >
...
  <Category viewtype="0" icon="cookie" thumbnailsize="32" name="Tokens"
show="1" />
  <Category viewtype="0" icon="video" thumbnailsize="32" name="Media Type"
show="1" >
   <value value="Video" id="1" />
   <value value="Image" id="2" />
  </Category>
...
  <image width="736" startDate="1994-11-19T00:00:00" height="560"
endDate="1994-11-19T00:00:00" md5sum="45b869ecca8a369a7b47a4f17099404e"
file="1994/h_94_2/H94_025.JPG" label="H94_025" angle="0" description="" >
   <options>
    <option name="Folder" >
     <value value="1994/h_94_2" />
    </option>
    <option name="Media Type" >
     <value value="Image" />
    </option>
    <option name="Tokens" >
     <value value="P" />
    </option>
   </options>
  </image>

But the result is the same - only "no tokens" is visible. The 5493 entries
with token "P" are not listed.

If you like to have this file for testing I can send it by email. But it's
about  3 MB (bzip2 compressed).

regards
Albert


> Hi Albert,
>
> do you have a section like this in your uncompressed 2.2-index.xml-file?
>
>    <Category viewtype="0" icon="cookie" name="Tokens" show="1">
>     <value value="D" id="1" />
>    </Category>
>
> I mean, a <Category /> with name="Tokens"?
>
> Can you one example of an <image>-tag which is tagged with a token.
>
> You have got 124.000 pics in your db? Wow, that's a lot. How long does
> it take for you to open kphotoalbum?
>
> Cheers,
> Christoph
>
> albert-VOEe47XxOh2sTnJN9+BGXg at public.gmane.org wrote:
>> Hi,
>> no, I have used the uncompressed xml from KPA 2.2.
>> I known the problem with the compressed xml and I have posted it here.
>>
>> I have used the same file with 2.2 and the new snapshot - and in 2.2
>> it's
>> o.k.
>>
>> greets
>> Albert
>>
>>> Hi Albert,
>>>
>>> did you use the compressed index.xml generated by KPA2.2 ? These
>>> index.xmls do not contain the Tokens in the categories-tag, just the
>>> IDs
>>> of the Tokens in the image-tags. The relations between tokens and
>>> images
>>> get lost in the compressed index.xml in version 2.2. That has been
>>> fixed
>>> in the snapshot. Did you try open your uncompressed index.xml in the
>>> snapshot?
>>>
>>> best regards,
>>> Christoph
>>>
>
>
> _______________________________________________
> KPhotoAlbum mailing list
> KPhotoAlbum at kdab.net
> http://mail.kdab.net/mailman/listinfo/kphotoalbum
>
>





More information about the Kphotoalbum mailing list