Flickr KIO

System Software

Source (required if based on other people's work):

0
Score 64%
Description:

First release of a flickr KIO.

KIO slave for browsing Flickr from within KDE. Access files directly from dolphin or gwenview.

Originally started to help someone out on KDE Brainstorm, but no-one gave any feedback at all so I promptly got bored and started something else.

Decided I should upload this (as it works) in case anyone finds it useful or wants to continue it.

http://dev.sharpley.org.uk/temp/flickrk ... 0.1.tar.gz
Requires libQJson

Standard compile instructions:

Make the direktory build: mkdir build
Change into the directory: cd build
run:
cmake -DCMAKE_INSTALL_PREFIX=/usr
make

change to root:
make install

visit flickr:// in dolphin

you can also do
flickr://some username@/
(you sometimes need to do this when it forgets who you are too)

I\'d like to support galleries as well as photosets, and some sort of searching. The code is pretty straightforward from now if someone else is willing to take it on, I\'d be happy to be a mentor.

kiwibird

8 years ago

What exactly is meant by "username" here? Is it the yahoo login? Or the NSID? Or the string that is in the flickr user page path? I tried using my login name and page path with no luck.


-----


Also, I'm trying to make an Arch Linux AUR package for this, but I'm getting a warning that the compiled .so file has a reference to the source dir where I compiled it:


==> Making package: flickrkio 0.1-1 (ty. 17. aug. 17:40:15 +0200 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Found flickrkio_0.1.tar.gz
==> Validating source files with md5sums...
flickrkio_0.1.tar.gz ... Passed
==> Extracting Sources...
-> Extracting flickrkio_0.1.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
-- Found Qt-Version 4.6.3 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Phonon Version: 4.4.2
-- Found KDE 4.4 include dir: /usr/include
-- Found KDE 4.4 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Configuring done
-- Generating done
-- Build files have been written to: /home/kiwibird/builds/flickrkio/src/build
[ 0%] Built target kio_flickr_automoc
[100%] Built target kio_flickr
==> Entering fakeroot environment...
==> Starting package()...
[ 0%] Built target kio_flickr_automoc
[100%] Built target kio_flickr
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /home/kiwibird/builds/flickrkio/pkg/usr/lib/kde4/kio_flickr.so
-- Set runtime path of "/home/kiwibird/builds/flickrkio/pkg/usr/lib/kde4/kio_flickr.so" to "/usr/lib"
-- Installing: /home/kiwibird/builds/flickrkio/pkg/usr/share/kde4/services/flickr.protocol
==> Tidying install...
-> Purging other files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> WARNING: Package contains reference to $srcdir
==> Creating package...
-> Generating .PKGINFO file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: flickrkio 0.1-1 (ty. 17. aug. 17:40:16 +0200 2010)

Process makepkg finished


(and indeed grepping for my home dir in the so-file matches). I have no idea whether this is dangerous though...

Report

C

DavidEdmundson

8 years ago

It should be the name in

About <username> / Full Name

on your profile page.

KIO can get itself a bit confused with cached login details.

Try visiting directly

flickr://<username>:@/

As for the second question, I really don't know. I'm not aware of having coded up anything strange.

Report

unhammer

8 years ago

Wow, that worked great! Even with strange usernames with characters like

&{}~

in them :-) I really hope you consider extending this KIO with more features. Some things I'd like to see:

Sounds simple:
* ability to find the img URL for a certain image (eg. direct links to all sizes, if I have license rights or am logged in as the owner of this image)

Sounds difficult:
* ability to change image info like tags, title, etc.

Report

C

DavidEdmundson

8 years ago

I really don't have time to do any work on here right now. I'm busy helping out with KTelepathy, and I'm moving house/job too.

Given it's only had ~25 downloads, it's not one of my more important projects to maintain.

Sorry.

Report

unhammer

8 years ago

Alright, very understandable :-)

Report

unhammer

8 years ago

Well, if anyone's interested, I made a version that solves my immediate problem at http://github.com/unhammer/flickrkio ;-) looks like http://img194.imageshack.us/img194/6186/flickrkio.png

But for authenticating, it looks like having to copy a whole lot of the kipi-plugin code, not sure I'm up to that quite yet.

Report

unhammer

8 years ago

btw it's now in Arch Linux:
http://aur.archlinux.org/packages.php?ID=40028

Report

C

DavidEdmundson

8 years ago

Cool thanks.

Report

product-maker 6 15

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
0.1
updated Jun 03 2010
added Jun 03 2010
downloads today
0
page views today 0
System Tags app software