Bug 138072

Summary: New tool to export collection contents properties (as comments) from database to text/xml file
Product: [Applications] digikam Reporter: Dusan Zatkovsky <msk.spam>
Component: Plugin-Generic-WishForNewToolsAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: caulier.gilles, krienke
Priority: NOR    
Version: 0.8.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dusan Zatkovsky 2006-11-29 12:26:23 UTC
Version:           0.8.2-rc1 (using KDE KDE 3.5.2)
Installed from:    Ubuntu Packages
OS:                Linux

Should it be possible to implement function, which exports comments associated with files to separate text or xml file, please? For example:

FILE1.jpg "Comment about this photo"
FILE2.jpg "Comment about another photo"

It will be usable when using external html gallery generator.

Thank you.
Comment 1 caulier.gilles 2006-11-29 12:33:50 UTC
In digikam 0.9.0, there is a script named digitaglinktree witch export tag to filesystem.

http://websvn.kde.org/trunk/extragear/graphics/digikam/utilities/scripts/digitaglinktree?rev=578854&view=auto

Perhaps this script or another one can be improved to export comments...

Gilles Caulier
Comment 2 caulier.gilles 2018-11-03 11:02:17 UTC
WARNING : with digiKam 6.0.0 and later, we will not support kipi interface anymore. All tools are now located in digiKam core as well for a plan to provide a more power-full integration with Batch Queue Manager and to be able to export a workflow on a web-service.

All export tools are now available everywhere : album view, Image editor, Light table, and Showfoto. Previously, only album view from digiKam core was able to deal with export tools through libkipi.

All export tools are now located here :

https://cgit.kde.org/digikam.git/tree/core/utilities/assistants/webservices

All export tools use now a dedicated interface to communicate with the application : 

- digiKam (database) : 

https://cgit.kde.org/digikam.git/tree/core/libs/database/utils/ifaces/dbinfoiface.h

- Showfoto (files metadata) : 

https://cgit.kde.org/digikam.git/tree/core/utilities/assistants/common/dmetainfoiface.h


There is not direct use of digiKam database for compatibility with Showfoto.

We plan later to provide a dynamic loading of export tools using a plugins mechanism. This will reduce overloading of the internal core libraries. A dedicated devel branch have been created for that, but it's not yet complete:

https://cgit.kde.org/digikam.git/tree/?h=development/dplugins

But take a care, digiKam export tools as plugins will not be shared with another external application. API will still private and only shared between Showfoto and digiKam core. The experience with libkipi was bad and complex to maintain/extend in time.

Gilles Caulier