[Kde-imaging] [Bug 199317] Support title/description as Facebook Photo Caption

Jan Capek jan-consulting at capkovi.eu
Tue Mar 9 14:16:02 CET 2010


https://bugs.kde.org/show_bug.cgi?id=199317


Jan Capek <jan-consulting at capkovi.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arturcz at hell.pl,
                   |                            |jan-consulting at capkovi.eu




--- Comment #11 from Jan Capek <jan-consulting capkovi eu>  2010-03-09 14:15:57 ---
Hello,

I am not a KDE developer but was courious why this doesn't work as I needed to
upload my vacation pics to FB. 

The problem is on two levels:

1) the kipi plugin -  doesn't specify the language alternative when querying
the xmp and iptc metadata. The only case when a caption gets transferred to FB
is when the user uses 'x-default' as the language alternative. In that case, it
the caption lands in the a normal exif comment (in parallel to xmp and iptc)
and that works. But we want to use XMP and iptc and all those nice things,
right?
The underlying kexiv2 library, as an adapter for the exiv2 library, doesn't
provide a 'default' caption value if no language has been specified. Therefore,
I consider this as a bug in kipi plugins. The first patch (fb-caption-hack)
shows how to get at least something from the FB backend for now. It calls for a
separate UI control for the caption language alternative. The header in the
patch explains the details. I have checked the upstream sources of the fb
plugin and it looks like that language alternatives are not being handled
there, too

2) kexiv2 - even if we specify a language alternative (as showed in
fb-caption-hack patch), the captions still won't work. The reason is that
kexiv2 is broken, too, and doesn't handle the caption correctly. 
It looks like kexiv2 relies on a broken/disappeared functionality of exiv2 and 
performs parsing of the language alternatives on its own instead of using the
functionality available in exiv2 library. I am attaching a second
patch(lang-alt-fix) that applies towards the kexiv2 library - in debian it's
part of the entire kdegraphics package. I was not able to locate kexiv2's SVN
repository on the web, so I cannot tell whether the patch is still relevant.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kde-imaging mailing list