You are not logged in.
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
woot, thx pal
Offline
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
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
I misinterpreted the word "file"
heh?
Offline
Hello!
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
It's probably not working anymore because we currently have lost the ability to display filelists on our website.
Offline
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
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline