|
February 13, 2009, 08:27 AM
|
|
Hi,
just a small information that I'm working with the digikam developers to integrate 23 into digikam (http://www.digikam.org) for exporting photos. I have done small tweaks to the existing flickr plugin of digikam and it works so far.
I have test it successfully with some photos. I will give more information and details soon. :)
Cheers,
Daniel
|
|
|
Team 23
February 13, 2009, 08:31 AM
|
|
Hey Daniel,
That's so cool! Let os know if you need any help from our end...
|
|
|
February 13, 2009, 08:38 AM
|
|
At the moment everything is fine. I will ask you if there are any problems with the API.
Cheers,
Daniel
|
|
|
February 16, 2009, 05:35 PM
|
|
Ok, now there is one small thing.
The plugin works really great at the moment and different upload scenarios were succesful. There is just one small point. The plugin can create PhotoSets (albums) which works without problems, but after the creation of an album the plugin tries to receive the the albums with:
method=flickr.photosets.getList
But this method just returns albums with photos inside, if the album is empty (just like after the creation of it) it doesn't return the empty album and you can't upload the photos to the newly created album. Is this a bug in the API, because flickr seems to send empty albums.
Cheers and thanks a lot,
Daniel
|
|
|
Team 23
February 16, 2009, 06:42 PM
|
|
I think it's a privacy measure to not return empty albums to the public (albums are only displayed to the public on 23 if there are public photos in them). Are you signing the request photosets.getList with the user credentials?
|
|
|
February 16, 2009, 06:55 PM
|
|
|
|
|
February 16, 2009, 10:10 PM
|
|
I have read the documentation of the flickr API about the "flickr.photosets.getList". It says that authentication isn't necessary for this method.
But why isn't the method returning an empty album? In my eyes it isn't a privacy thing, because if the album is empty then you have nothing to "hide". It's empty.
Am I totally wrong on this?
PS: The plugin went into the SVN. Here is the commit info: http://websvn.kde.org/?view=rev&revision=927117
|
|
|
Team 23
February 16, 2009, 10:43 PM
|
|
So, there's a backstory: When 23 was initially created we didn't have an API, and we only displayed empty albums to the user owning the album. When we built the API we tried to be consistent: If you expect your empty album to be hidden, that behaviour is replicated in the API.
Obviously if you're signing the request to get the list, you'll see a full list -- just as you would in the standard UI: See anonymous request (one album with two public photos) and authenticated request (two album, one is empty)
In this case, adding another line to flickrtalker.cpp in FlickrTalker::listPhotoSets() would probably do the trick:
url.addQueryItem("auth_token", m_token);
|
|
|
February 17, 2009, 06:21 AM
|
|
I think I was totally wrong. Now it's much clearer. Thanks for your example which enlighten me. Then it must be changed as you proposed it, I will try it in the evening and let you know if it works, but I think it will work.
Thanks a lot for your help.
|
|
|
February 18, 2009, 10:05 PM
|
|
With the changes you told everything is fine. Thanks again for your help. I have send the changes to the digikam developers. I hope it will be completly integrated in the next release. They are at release candidate 2 at the moment. Don't know if they integrate new code for this release. But the next release it will definitly be included.
Cheers,
Daniel
|
|
|
February 23, 2009, 06:13 AM
|
|
The plugin is ready and checked in into the CVS. Here is a screenshot with the interface:

Have fun with digikam and 23hq. :)
|
|
|
September 01, 2009, 05:01 PM
|
|
that's really cool stuff. I recently migrated to ubuntu and digikam seems to meet best with my needs.
I still have a question: is it possible to work also the other way round, i.e. get albums and tags from your 23hq-account and use them for your local pictures / digikam?
I tagged 10000 photos online in 23hq, but due to some networking problems that was partly really annoying.
Now it would be awesome to get those tags and albums created in 23hq to use them also for the (same) pictures I still have locally.
Do you know a way to do so? Or maybe another opensource-app that can import tags and albums (would be best to do it without downloading all these GB of pictures)?
Thank you,
cheers,
Martin
|
|
|
September 13, 2009, 02:03 PM
|
|
no one? No solution available?
The question was: is it possible to export tags and albums from 23hq to digikam? I changed to linux and really need this.
|
|