Currently photos are uploaded from the Facebook KIPI Plugin without any Facebook caption. It would be great if there was a combobox in the import plugin which allowed the selection between "no caption", "title as caption" or "description as caption". If this is acceptable I have commit access so with a few pointers I could implement this or at least fire a patch someone's way! Thanks!
Before to patch something, use last stable kipi-plugins (0.4.0), or better, code from svn trunk. Gilles Caulier
I'm not on my computer at the moment so I just set the kipi-plugins to what I thought was the latest stable release. If I make a patch it will be against trunk.
I would like to have it to where it would be smart enough to save the names as tags. it could be done by reading the description and filtering out "In this photo: " saving the name as one tag and using a comma as the divider for the next tag. the comment saved as meta-data would be nice also. look at the facedown java program for an example on how to access the comment and tags on facebook. The gui also needs a little love. Im in the process of making a mockup of a better way to design the gui and will post it as a seperate wish towards this plugin.
(In reply to comment #3) > I would like to have it to where it would be smart enough to save the names as > tags. it could be done by reading the description and filtering out "In this > photo: " saving the name as one tag and using a comma as the divider for the > next tag. the comment saved as meta-data would be nice also. look at the > facedown java program for an example on how to access the comment and tags on > facebook. The gui also needs a little love. Im in the process of making a > mockup of a better way to design the gui and will post it as a seperate wish > towards this plugin. my apologies. i was commenting thinking u were talking about importing photos, not uploading them. my comment still stands, but concerning importing of photos
Mike, any news to implement this feature against code from svn trunk. It's easy to do... Gilles Caulier
I'm afraid I doubt I'll get to it any time soon, up to my eyes with real world stuff, sorry!
I don't think this is too off-topic, but I've recently been considering something very similar (I also want this applied to the SmugMug plugin), only I've been wanting to use the tags and descriptions in Digikam for keywords/tags and the caption. Since, as I understand it, kipi-plugins is "unaware" of the Digikam DB, I've been unsure of the best method to implement this idea. Am I correct? Where are the image description and tags, as seen in Gwenview, stored? Any other thoughts?
Another vote for this function: http://bugs.debian.org/564574 ---------- Forwarded Message ---------- Subject: [Pkg-kde-extras] Bug#564574: facebook plugin: please set image description as a caption in facebook Date: Sunday 10 January 2010 From: "Artur R. Czechowski" <arturcz@hell.pl> To: Debian Bug Tracking System <submit@bugs.debian.org> Package: kphotoalbum Version: 4.1.1-1 Severity: wishlist Hello, Could you, please, add a functionality for facebook export plugin? If I upload pictures to facebook I'd be glad to check an option to set current image description as a caption in facebook album. Regards Artur -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-trunk-amd64 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages kphotoalbum depends on: ii kdebase-runtime 4:4.3.4-2 runtime components from the offici ii kdelibs5 4:4.3.4-1 core libraries for all KDE 4 appli ii libc6 2.10.2-2 GNU C Library: Shared libraries ii libexiv2-5 0.18.2-1+b1 EXIF/IPTC metadata manipulation li ii libgcc1 1:4.4.2-7 GCC support library ii libjpeg62 6b-15 The Independent JPEG Group's JPEG ii libkdcraw7 4:4.3.4-1 RAW picture decoding C++ library ( ii libkipi6 4:4.3.4-1 library for apps that want to use ii libmarble4 4:4.3.4-1 Marble globe widget library ii libphonon4 4:4.5.3-4 Qt 4 Phonon module ii libqt4-dbus 4:4.5.3-4 Qt 4 D-Bus module ii libqt4-network 4:4.5.3-4 Qt 4 network module ii libqt4-qt3support 4:4.5.3-4 Qt 3 compatibility library for Qt ii libqt4-sql 4:4.5.3-4 Qt 4 SQL module ii libqt4-sql-sqlite 4:4.5.3-4 Qt 4 SQLite 3 database driver ii libqt4-svg 4:4.5.3-4 Qt 4 SVG module ii libqt4-xml 4:4.5.3-4 Qt 4 XML module ii libqtcore4 4:4.5.3-4 Qt 4 core module ii libqtgui4 4:4.5.3-4 Qt 4 GUI module ii libstdc++6 4.4.2-7 The GNU Standard C++ Library v3 ii phonon 4:4.5.3-4 Qt 4 Phonon module metapackage Versions of packages kphotoalbum recommends: pn khelpcenter <none> (no description available) ii kipi-plugins 1.0.0-1 image manipulation/handling plugin Versions of packages kphotoalbum suggests: ii mplayerthumbs 4:4.3.4-1 video thumbnail generator for KDE -- no debconf information -- Wyjaśnienie odwołujące się do przetrwania, niczego nie wyjaśnia, dopóki nie wyjaśni się, dlaczego przetrwanie przetrwało /Pierre Bourdieu, Jean Claude Passeron "Reprodukcja"/ _______________________________________________ pkg-kde-extras mailing list pkg-kde-extras@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-kde-extras -------------------------------------------------------
Created attachment 41474 [details] prototype fix of the caption issue in fb plugin The patch header contains more details
Created attachment 41475 [details] libexiv2 - Language alternative accessor fix (KExiv2::getXmpTagStringLangAlt()) details are in the patch header
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.
(In reply to comment #11) > 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. SVN: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdegraphics/libs/libkexiv2/ Web frontend: http://websvn.kde.org/trunk/KDE/kdegraphics/libs/libkexiv2/
Just wondering if there is any will to get this fixed at least on the libkexiv2 level? Could anyone comment on the libkexiv2 patch that I have provided? Thanks, Jan
Jan, i don't have take a look at your Kexiv2 patch... I will do it... But please take a look of the new feature to support image title in digiKam 2.2.0 : https://bugs.kde.org/show_bug.cgi?id=155374 i currently review in-deep patches from this entry. Picasa and Flickr tool will support title property. I will be nice to support title in Facebook tool too... Gilles Caulier
Jan, To not lost your work, the libkexiv2 patch must be moved in another entry relevant of this library. The lead subject of this entry will be fixed by a near commit from : https://bugs.kde.org/show_bug.cgi?id=155374 Please open a new file with your patch into digiKam/libkexiv2 component. Thanks in advance Gilles Caulier
Git commit 2e106152329b8887aa35fc9c6dbc0c29fb241f86 by Petri Damstén. Committed on 06/09/2011 at 13:06. Pushed by pdamsten into branch 'master'. - Image title support for flickr, picasa, facebook and gallery export. - libkipi api changes CCBUG: 155374 BUGS: 221195, 199317 M +2 -0 CMakeLists.txt M +0 -7 batchprocessimages/CMakeLists.txt M +5 -0 batchprocessimages/tools/renameimageswidget.cpp M +9 -44 facebook/fbwindow.cpp M +1 -1 facebook/fbwindow.h M +1 -1 flickrexport/flickrwindow.cpp M +7 -11 galleryexport/gallerytalker.cpp M +2 -2 galleryexport/gallerytalker.h M +7 -29 galleryexport/gallerywindow.cpp M +6 -1 htmlexport/imageelement.h M +9 -0 kmlexport/kmlexport.cpp M +15 -3 picasawebexport/picasawebwindow.cpp M +5 -0 yandexfotki/yfwindow.cpp http://commits.kde.org/kipi-plugins/2e106152329b8887aa35fc9c6dbc0c29fb241f86