List Info

Thread: Flickr photo search plugin




Flickr photo search plugin
country flaguser name
Italy
2007-05-05 17:25:55
Hi all,
I'm experimenting with Deskbar, which is wonderful, and I've
created  
a simple handler which searches photos on Flickr by tag,
based on the desklicious plugin code.

At the moment, I am displaying a thumbnail of the image in
the  
results pane, along with author details; it doesn't look
bad, but I
think that it could possibly break UI guidelines, so I'm
looking for  
opinions and ideas.
I'm a complete newbie about PyGTK and GNOME development in
general,  
so if you notice bad stuff in the code let me know.

Have a look at the code here:
http://deskbarphoto.googlecode.com/files/deskbar-flick
r.py

I put a screenshot in this page on my blog:
https://fabione.wordpress.com/software/deskbar-photo
-search/

Please note that I created a project on Google code only
because it's  
the easiest way for me at the moment, it will be probably
destroyed later to find a more appropriate home.

Thanks for your work,
Fabio Corneti
infocorneti.com
_______________________________________________
deskbar-applet-list mailing list
deskbar-applet-listgnome.org
http://mail.gnome.org/mailman/listinfo/deskbar-applet-
list

Re: Flickr photo search plugin
country flaguser name
Germany
2007-05-06 05:27:40
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fabio Corneti schrieb:
> Hi all,
> I'm experimenting with Deskbar, which is wonderful, and
I've created  
> a simple handler which searches photos on Flickr by
tag,
> based on the desklicious plugin code.
> 
Great idea!

> At the moment, I am displaying a thumbnail of the image
in the  
> results pane, along with author details; it doesn't
look bad, but I
> think that it could possibly break UI guidelines, so
I'm looking for  
> opinions and ideas.
> I'm a complete newbie about PyGTK and GNOME development
in general,  
> so if you notice bad stuff in the code let me know.
> 
> Have a look at the code here:
> http://deskbarphoto.googlecode.com/files/deskbar-flick
r.py
> 
> I put a screenshot in this page on my blog:
> https://fabione.wordpress.com/software/deskbar-photo
-search/
> 
Showing thumbnails is really a great idea and I would love
to see this
with more handlers. But it doesn't display search results
all the time
on my machine. E.g. searching for golf does show pictures,
but searching
for penguin doesn't. Nevertheless, keep up the great work.

- --
Greetings,
Sebastian Pölsterl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


iD8DBQFGPa2c1ygZeJ3lLIcRAgkyAJ9MpHKPHS80yPKOWCINQvG5kpfeewCg
qOVb
baZEumAO7To/wxHxr5WlBWA=
=6x1q
-----END PGP SIGNATURE-----
_______________________________________________
deskbar-applet-list mailing list
deskbar-applet-listgnome.org
http://mail.gnome.org/mailman/listinfo/deskbar-applet-
list

Re: Flickr photo search plugin
country flaguser name
Spain
2007-05-06 06:54:44
On Sun, 2007-05-06 at 12:27 +0200, Sebastian Pösterl wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Fabio Corneti schrieb:
> > Hi all,
> > I'm experimenting with Deskbar, which is
wonderful, and I've created  
> > a simple handler which searches photos on Flickr
by tag,
> > based on the desklicious plugin code.
> > 
> Great idea!

Really good work !

I don't think we have any UI guidelines for how to present
matches. It's
up to the user to decide if he want or not that handler with
huge
thumbnails. Besides i don't find it too disturbing.

As you may know, we don't really accept new plugins in the
core
distribution, and rely instead on the user to download them
on the
internet and install them manually. This is to reduce our
maintaining
overhead. In the future, we hope this can be integrated with
NewStuffManager.

You can put your handler in bugzilla if you wish, and/or
link it in the
wiki page

Thanks !
Raf

_______________________________________________
deskbar-applet-list mailing list
deskbar-applet-listgnome.org
http://mail.gnome.org/mailman/listinfo/deskbar-applet-
list
Re: Flickr photo search plugin
country flaguser name
Italy
2007-05-07 02:20:56
On 06/mag/07, at 13:54, Raphaël Slinckx wrote:

> As you may know, we don't really accept new plugins in
the core
> distribution, and rely instead on the user to download
them on the
> internet and install them manually. This is to reduce
our maintaining
> overhead. In the future, we hope this can be integrated
with
> NewStuffManager.

I've looked at NewStuffManager, seems a very good idea (just
like the  
Eclipse
software update facility if you know it).

> You can put your handler in bugzilla if you wish,
and/or link it in  
> the
> wiki page

Before going into Bugzilla, I would like to have an opinion
about the  
handler functionality;
yesterday I have extended the handler to create two kind of
matches,  
one for Flickr and one
for Google Images; is it better to create two separate
handlers or to  
have a single one which
can search for images using multiple providers?

Best,
Fabio Corneti
infocorneti.com
_______________________________________________
deskbar-applet-list mailing list
deskbar-applet-listgnome.org
http://mail.gnome.org/mailman/listinfo/deskbar-applet-
list

Re: Flickr photo search plugin
country flaguser name
Spain
2007-05-07 03:16:45
> > You can put your handler in bugzilla if you wish,
and/or link it in  
> > the
> > wiki page
> 
> Before going into Bugzilla, I would like to have an
opinion about the  
> handler functionality;
> yesterday I have extended the handler to create two
kind of matches,  
> one for Flickr and one
> for Google Images; is it better to create two separate
handlers or to  
> have a single one which
> can search for images using multiple providers?

I think they should be separate handlers, but it could be
the same
python file exporting several handlers. If code needs to be
shared.

Raf

_______________________________________________
deskbar-applet-list mailing list
deskbar-applet-listgnome.org
http://mail.gnome.org/mailman/listinfo/deskbar-applet-
list

Re: Flickr photo search plugin
user name
2007-05-07 09:18:29

On 5/7/07, Raphaël Slinckx < raphaelslinckx.net">raphaelslinckx.net> wrote:


I think they should be separate handlers, but it could be the same
python file exporting several handlers. If code needs to be shared.

Raf

_______________________________________________
deskbar-applet-list mailing list
deskbar-applet-listgnome.org">deskbar-applet-listgnome.org
http://mail.gnome.org/mailman/listinfo/deskbar-applet-list


I like this plugin. I'd suggest letting the users decide which service to point at. Make the options available in the preferences. Some will prefer flickr, some google and some maybe wikipedia. Change the name to remove the flickr reference and call it Image Plugin or something more generic. This opens the possibility of many new image library queries.
Will
--
http://willsimpson.org
Moscow, Idaho
gnupg public key :: 1024D/F0E55A06
Re: Flickr photo search plugin
country flaguser name
Italy
2007-05-07 09:47:30
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 07/mag/07, at 16:18, Will Simpson wrote:
>
> I like this plugin. I'd suggest letting the users
decide which  
> service to point at. Make the options available in the
preferences.  
> Some will prefer flickr, some google and some maybe
wikipedia.  
> Change the name to remove the flickr reference and call
it Image  
> Plugin or something more generic. This opens the
possibility of  
> many new image library queries.
> Will

Either way I will probably have some code that could be
useful to  
share between the handlers (I would especially like to use a
 
multithreaded class to fetch the thumbnails in order to
speed up the  
search); would an additional python file containing shared
code be  
compatible with the NewStuffManager plugin descriptor? From
the  
documentation on the site it would seem so, but I'd like to
get a  
confirmation before going on.

Best,
Fabio Corneti
infocorneti.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFGPzwCPFKrTPOkVfsRAlE/AJ9PU/S892zpJUQBklfSi2ooJr2XFQCc
Dzyc
FNOPJIcnIzEkTy0ZPlMpKEk=
=yr9f
-----END PGP SIGNATURE-----
_______________________________________________
deskbar-applet-list mailing list
deskbar-applet-listgnome.org
http://mail.gnome.org/mailman/listinfo/deskbar-applet-
list

Re: Flickr photo search plugin
user name
2007-05-08 03:14:08
2007/5/7, Fabio Corneti < infocorneti.com">infocorneti.com>:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 07/mag/07, at 16:18, Will Simpson wrote:
>;
> I like this plugin. I'd suggest letting the users decide which
> service to point at. Make the options available in the preferences.
> Some will prefer flickr, some google and some maybe wikipedia.
> Change the name to remove the flickr reference and call it Image
> Plugin or something more generic. This opens the possibility of
> many new image library queries.
> Will

Either way I will probably have some code that could be useful to
share between the handlers (I would especially like to use a
multithreaded class to fetch the thumbnails in order to speed up the
search);  <SNIP&gt;

Why would a thread speed up thumbnail fetching? The AsyncHandler is already completely asynchronous with respect to the deskbar integration so you shouldn9;t be delaying anything. If it is because you want to fetch from multiple sources at once I suggest you create an AsyncHandler for each thread (a handler you do not export) and then create an aggregating async handler for all you subhandlers that relay all method calls to the subhandlers (and export the aggregating handler). This way you would get stop-notifications correct and all... Does this make sense?

Cheers,
Mikkel

Re: Flickr photo search plugin
country flaguser name
Italy
2007-05-08 04:04:27
On 08/mag/07, at 10:14, Mikkel Kamstrup Erlandsen wrote:
>
> Why would a thread speed up thumbnail fetching? The
AsyncHandler is  
> already completely asynchronous with respect to the
deskbar  
> integration so you shouldn't be delaying anything. If
it is because  
> you want to fetch from multiple sources at once I
suggest you  
> create an AsyncHandler for each thread (a handler you
do not  
> export) and then create an aggregating async handler
for all you  
> subhandlers that relay all method calls to the
subhandlers (and  
> export the aggregating handler). This way you would get
stop- 
> notifications correct and all... Does this make sense?
>
> Cheers,
> Mikkel
>

Thanks for the hint, I will take it
  into consideration.

Best,
Fabio Corneti
infocorneti.com 
_______________________________________________
deskbar-applet-list mailing list
deskbar-applet-listgnome.org
http://mail.gnome.org/mailman/listinfo/deskbar-applet-
list

[1-9]

about | contact  Other archives ( Real Estate discussion Medical topics )