pouët.net

search pouet.net with Mozilla Ubiquity

category: general [glöplog]
 
I wrote a command for Mozilla Ubiquity that allows to search pouet for a prod/group/etc.

run "command-editor", then paste in the editing window following code:

Code: noun_type_pouetsearch = new CmdUtils.NounType( "search type", ["prod", "group", "party", "board", "user", "bbs"] ); CmdUtils.CreateCommand({ name: "pouet", takes: {"what": noun_arb_text}, modifiers: {as: noun_type_pouetsearch}, preview: function( pblock, what, mods ) { var msg = 'Searches pouet for "' + what.text + '" as type ' + mods.as.text + '.'; pblock.innerHTML = msg; }, execute: function( what, mods ) { var astext = mods.as.text || "prod"; var url_dest = "http://www.pouet.net/search.php?type=" + astext + "&what=" + what.text; Application.activeWindow.open(Utils.url(url_dest)); } })


make sure to fix all the wrong newlines as well ;)

after then you can run a search command like "pouet fairbrausch as group".
added on the 2008-08-29 20:17:26 by paniq paniq
so much work just for a search shortcut!
added on the 2008-08-29 20:21:00 by skrebbel skrebbel
dont forget to make a wikipedia entry about it
added on the 2008-08-29 20:26:56 by xeNusion xeNusion
Quote:
"pouet fairbrausch as group".


Does it work for Farlight?
added on the 2008-08-29 20:27:50 by oxb oxb
it's a cool one tho, allowing me to search in one step only. i can also search for text selection :)
added on the 2008-08-29 20:28:04 by paniq paniq
xeNusion: done, see http://en.wikipedia.org/wiki/Ubiquity_Command_For_Pouet
added on the 2008-08-29 20:29:03 by paniq paniq
oxb: unfortunately not.
added on the 2008-08-29 20:29:47 by paniq paniq
Quote:
so much work just for a search shortcut!


is it a shortcut? For me it's just easier to remember "pouet.net" and search there

Plus I often search for something I don't remember the name for (I only remember a scene or the party where it was presented)
added on the 2008-08-29 20:47:38 by iq iq
added on the 2008-08-29 20:47:51 by pohar pohar
You can easily add this functionality to Opera too. I've had this setup for a few years now:

[Search Engine 3]
ID=1000002
Name=Pouët Prod Search
Verbtext=0
URL=http://pouet.net/search.php?what=%s&type=prod
Query=
Key=ppr
Is post=0
Has endseparator=0
Encoding=iso-8859-15
Search Type=0
Position=-1
Nameid=0
Deleted=0

Just add to your search.ini in your profile dir. Or create it using the GUI in prefs which may be quicker for some.

And additional ones for Group etc as you see fit. So i just do something like: ppr photon race
to search from the address bar, but normal like iq says i'd too be already on pouet so just search using the box :) But i have that option should i want it.
added on the 2008-08-29 21:08:13 by Intrinsic Intrinsic
i prefer using Firefox 1.x in which i can type "pouet XXX" and it goes directly to what i'm looking for ...most of the times.
added on the 2008-08-29 21:38:23 by BarZoule BarZoule
intrinsic, right click in a search field for even quicker access.
added on the 2008-08-29 21:44:33 by skrebbel skrebbel

login