Version: (using KDE 4.2.98) OS: Linux Installed from: SuSE RPMs Yandex.Fotki is a popular image hosting site, but it is not possible to use it in Kipi's export plugin. Yes, it is possible to use it's API, but there are no any English documentation. Fortunately, there is a small python program which uses this API. You can find it here: http://github.com/svetlyak40wt/yafotkiuploader/tree/master . So you can simply make a frontend to it. I can tell you more information if you are interested in.
How it's work: > ./yafotki -u myusername -p mypasword --albums /home/aaa/svn/yafotki/YaFotkiLib/MultipartPostHandler.py:45: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 authorization as h31mail with password *******... 1) "Myalbum" By this command we see a list of albums and their numbers. > ./yafotki -u myusername -p mypasword --album 1 /home/aaa/Chake.gif /home/aaa/svn/yafotki/YaFotkiLib/MultipartPostHandler.py:45: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 authorization as myusername with password *******... Uploading /home/aaa/Chake.gif into album "Myalbum" By this command we upload this file (you can upload multiple files) to the first album. It is possible to use this program as a library. You can directly use an API, there is some documentation about it - http://translate.google.ru/translate?js=y&prev=_t&hl=en&ie=UTF-8&u=http%3A%2F%2Fapi.yandex.ru%2Ffotki%2Fdoc%2Ffotki-api-doc.pdf&sl=ru&tl=en&history_state0=
Another translator: http://www.online-translator.com//url/translation.aspx?direction=re&template=Computer&autotranslate=on&transliterate=&showvariants=&sourceURL=http://api.yandex.ru/fotki/doc/ Developers promised to make a little howto in English :-)
Shotwell now supports Yandex.Fotki, developers could just port it to kipi-plugins. http://tigro.info/wp/?p=1955 (about Yandex.Fotki support in Shotwell in Russian)
I've recently implemented #202226 functionality. Currently supported: - authentication (with provided by Yandex public domain library) - photo exporting, album selection - metadata updating: title, description; access settings (public, friends only, private); flags (adult, hide original, no comment) - tags, via undocumented reverse-engineered API - already uploaded photo handling: update metadata, add as new and skip photo modes (image data replace is not supported by API) I also implemented support for image import and creation of new albums in the backend library, but GUI haven't got support yet. See TODO list for more details. Tested with KIPI 1.5. Source code is not yet cleaned and stylized for KIPI integration, I'm planned to finish the work next month. Source code: http://gitorious.org/kipiplugin-yandexfotki/ Description on my home page with screenshots (in English): http://roman.tsisyk.com/projects/kipi-yandex I you have some questions, don't hesitate to contact me. ---- WBR, Tsisyk Roman
roman, Great to see a new plugin implementation starting there. I propose to include this source code in next kipi-plugins 2.0.0. We will migrate next week digiKam & kipi-plugins source code from KDE subversion to KDE git repository. What do you think to move your code to KDE git repository when time will be fine ? Do you have a KDE git repository account, to import and maintain your code at this place in the future ? Best Gilles Caulier
Dear, Gilles! Moving to KDE git is a great idea. I can import code to new repo and maintain it, but I haven't got an account yet. Where can I create it? Also, I can try to finish implementing my TODO list before release of 2.0.0, if you told me release date. --- WBR, Tsisyk Roman
Roman, Well, the svn/git migration will be done next week by Marcel if all is fine... I CC him for info. To ask account to Git repository, take a look here : http://techbase.kde.org/Development/Tutorials/Git/KdeOnGit Gilles Caulier
There is no special git account, you need to apply for a KDE developer account as for SVN if you want to develop on KDE code. With that, you can if you want import your repository to KIPI, maybe using the subtree merge strategy, not sure if that is the right tool. Or just copy the code if there is not too much history to preserve.
Roman, Kipi-plugins have been migrated to GIT : https://projects.kde.org/projects/extragear/graphics/kipi-plugins You can import your code in this repository. Let's me hear if you need help... Gilles Caulier
New album feature added, some GUI and backend issues solved, code style updated according to the digiKam HACKING guide. Imported to the development/2.0-yandexfotki branch (https://projects.kde.org/projects/extragear/graphics/kipi-plugins/repository/show?rev=development%2F2.0-yandexfotki). It can be merged to the development/2.0 branch at any time, as you decide. Tested out with latest kipi-plugins + Gwenview source. -- Tsisyk Roman
Roman, yes, please merge with 2.0 branch of kipi-plugins now, to be published with next beta3 planed in one week... Gilles Caulier
Merged. I'm not sure that I can correctly remove branch 2.0-yandexfotki at the remote repo, will try later after reading Git manual.
Thanks i close this file now. Gilles Caulier
I created a new YandexFotki component in KDE bugzilla Gilles Caulier
Thanks!