Bug 345802

Summary: html export does not longer export the description tag to gallery.xml
Product: [Applications] digikam Reporter: alain.quincerot_lnx
Component: Plugin-Generic-HTMLGalleryAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 4.9.0

Description alain.quincerot_lnx 2015-04-02 13:50:41 UTC
html export to a local directory does not longer export the description (title) of an image.
But this was exported in an earlier version running in December 2010.
The current kipi plugins version is 4.6.0-13.23

The <description> is empty, whatever the langage is ( fr-FR, or x-default, or both)
The current gallery.xml looks as :

<?xml version="1.0" encoding="UTF-8"?>
<collections>
 <collection>
  <name>AAAA</name>
  <fileName>aaaa</fileName>
  <comment></comment>
  <image>
   <title>A08_001.jpg</title>
   <description></description>
   <date>1970-12-25T09:59:27</date>
   <full fileName="a08_001_jpg.jpeg" height="1024" width="1011"/>
   <thumbnail fileName="thumb_a08_001_jpg.jpeg" height="120" width="120"/>
   
But the xmp file, when generated, shows the description, as in this example :

  <rdf:Description rdf:about=""
    xmlns:xmp="http://ns.adobe.com/xap/1.0/"
    xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"
    xmlns:digiKam="http://www.digikam.org/ns/1.0/"
    xmlns:exif="http://ns.adobe.com/exif/1.0/"
    xmlns:tiff="http://ns.adobe.com/tiff/1.0/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmp:CreatorTool="digiKam-4.5.0"
   xmp:CreateDate="1970-12-25T09:59:27"
   xmp:MetadataDate="1970-12-25T09:59:27"
   xmp:ModifyDate="1970-12-25T09:59:27"
   photoshop:Urgency="0"
   photoshop:DateCreated="1970-12-25T09:59:27"
   digiKam:PickLabel="0"
   digiKam:ColorLabel="0"
   exif:DateTimeOriginal="1970-12-25T09:59:27"
   tiff:DateTime="1970-12-25T09:59:27"
   tiff:Software="digiKam-4.8.0">
   <dc:title>
    <rdf:Alt>
     <rdf:li xml:lang="fr-FR">1970</rdf:li>
    </rdf:Alt>
   </dc:title>
  </rdf:Description>


Reproducible: Always

Steps to Reproduce:
1. select the Caption/Tags menu
2. select an image and enter a comment in the Description Title area (ie. 1970 )
3. clic on the "Apply" button or select an other image
4. select the Export to HTML menu ...
5. in the export directory, you'll find the gallery.xml

Actual Results:  
 <title>A08_001.jpg</title>
   <description></description>

Expected Results:  
 <title>A08_001.jpg</title>
   <description>1970</description>
Comment 1 Maik Qualmann 2015-04-05 07:22:03 UTC
I can not reproduce this bug. The <description> is correctly filled in the file gallery.xml.

Maik
Comment 2 caulier.gilles 2015-04-05 07:42:05 UTC
Maik,

Perhaps the dysfunction depend of HTML export theme used...

If not, well this file can be closed as fixed for the current release where regression tests are done.

Gilles
Comment 3 Maik Qualmann 2015-04-05 10:57:46 UTC
I have it with all HTML export themes and other languages as x-default tested, not reproducible with me.

Maik