You are not logged in.

#1 2008-01-23 17:21:03

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Archlinux file searchplugin for firefox

save this as arch-file.xml (or a name of your choice) in your firefox searchplugins directory:

<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
<os:ShortName>ArchLinux File Search</os:ShortName>
<os:Description>ArchLinux File Search</os:Description>
<os:InputEncoding>UTF-8</os:InputEncoding>
<os:Image width="16" height="16">data:image/x-icon;base64,R0lGODlhEAAQAOMJAAAAAAEBAQwRFFh3j1t8lWqQrWuRr3GZuHWfv////////////////////////////yH5BAEKAA8ALAAAAAAQABAAAAQ28MlJq0XYXsy15KD3gOFGYoWZhQDwdVTWunCFHPOYXUSrIx6BIfACVmaDyU4yc9mMoqh0KokAADs=</os:Image>
<UpdateUrl>arch.src</UpdateUrl>
<IconUpdateUrl>arch.gif</IconUpdateUrl>
<os:Url type="text/html" method="GET" template="http://www.google.com/search?sourceid=Mozilla-search&q=site:archlinux.org/packages/files&q={searchTerms}&sourceid=mozilla-search&start=0"></os:Url>
</SearchPlugin>

vlad

Offline

#2 2008-01-24 05:25:14

Finkregh
Member
From: Germany/Hannover
Registered: 2007-12-04
Posts: 44

Re: Archlinux file searchplugin for firefox

woot, thx pal

Offline

#3 2008-01-24 08:59:22

wolfden
Member
From: Midwest USA
Registered: 2008-01-23
Posts: 20

Re: Archlinux file searchplugin for firefox

I prefer this

<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/" xmlns:os="http://a9.com/-/spec/opensearch/1.1/">
<os:ShortName>ArchLinux Package Search</os:ShortName>
<os:Description>ArchLinux Package Search</os:Description>
<os:InputEncoding>UTF-8</os:InputEncoding>
<os:Image width="16" height="16">data:image/x-icon;base64,R0lGODlhEAAQAOMJAAAAAAEBAQwRFFh3j1t8lWqQrWuRr3GZuHWfv////////////////////////////yH5BAEKAA8ALAAAAAAQABAAAAQ28MlJq0XYXsy15KD3gOFGYoWZhQDwdVTWunCFHPOYXUSrIx6BIfACVmaDyU4yc9mMoqh0KokAADs=</os:Image>
<UpdateUrl>arch.src</UpdateUrl>
<IconUpdateUrl>arch.gif</IconUpdateUrl>
<os:Url type="text/html" method="GET" template="http://archlinux.org/packages/search/?repo=all;category=all;q={searchTerms}&sourceid=mozilla-search&start=0"></os:Url>
</SearchPlugin>

why involve google?

Last edited by wolfden (2008-01-24 09:36:34)

Offline

#4 2008-01-24 09:28:13

ise
Developer
From: Karlsruhe / Germany
Registered: 2005-10-06
Posts: 404
Website

Re: Archlinux file searchplugin for firefox

wolfden wrote:

why involve google?

Because your search is looking for packages. The search posted above looks for files in packages.

Offline

#5 2008-01-24 09:38:10

wolfden
Member
From: Midwest USA
Registered: 2008-01-23
Posts: 20

Re: Archlinux file searchplugin for firefox

ise wrote:
wolfden wrote:

why involve google?

Because your search is looking for packages. The search posted above looks for files in packages.

ahhhh, I see.  I misinterpreted the word "file"

Edit:
I edited the name and description in the one I posted

Last edited by wolfden (2008-01-24 09:39:29)

Offline

#6 2008-01-24 15:58:33

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Archlinux file searchplugin for firefox

I misinterpreted the word "file"

heh?

Offline

#7 2008-06-30 18:03:39

mschmarck
Member
From: A country south of Germany
Registered: 2008-06-02
Posts: 13

Re: Archlinux file searchplugin for firefox

Hello!

DonVla wrote:

save this as arch-file.xml (or a name of your choice) in your firefox searchplugins directory

Hm, is this searchplugin still supposed to be working?

I used it to search for firefox, which turned up nothing. I also tried looking for /usr/bin/firefox, which equally didn't return any results.

Is it required to change the Google URL somehow?

Cheers,
Michael

Offline

#8 2008-06-30 18:09:17

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Archlinux file searchplugin for firefox

It's probably not working anymore because we currently have lost the ability to display filelists on our website.

Offline

#9 2008-06-30 20:14:31

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Archlinux file searchplugin for firefox

It might be worth mentioning this here :
http://bbs.archlinux.org/viewtopic.php?id=50129

Since the filelists are on all mirrors now, I think it makes sense to use them wink


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

Board footer

Powered by FluxBB