CPAN search from mozilla address bar

2001-04-18 Thread Struan Donald

no idea if anyone will find this useful but:

if you use mozilla (on linux/*nix at least) stick this:

search
   name="CPAN"
   description="CPAN Search"
   method="GET"
   action="http://search.cpan.org/search"


input name="mode" value="module"
input name="query" user

/search

in a file called cpan.src in the searhcplugins directory of your
mozilla install. restart mozilla. go the the internet search options, 
select CPAN as your default Search Engine and hey presto, you can now
search cpan direct from the mozilla address bar.

only don't tick the display in my sidebar option as it doesn't work. 

struan



Re: CPAN search from mozilla address bar

2001-04-18 Thread Simon Cozens

On Wed, Apr 18, 2001 at 01:35:25PM +0100, Struan Donald wrote:
 no idea if anyone will find this useful but:
 if you use mozilla (on linux/*nix at least) stick this:

To do something similar for Netscape, look at
http://bofh.concordia.ca/ns/ns-cli.txt
(Netscape can call out to a CGI program to parse "commands" in the location
bar)

-- 
Actually Perl *can* be a Bondage  Discipline language but it's unique
among such languages in that it lets you use safe words. 
-- Piers Cawley



Re: CPAN search from mozilla address bar

2001-04-18 Thread Dominic Mitchell

On Wed, Apr 18, 2001 at 01:35:25PM +0100, Struan Donald wrote:
 no idea if anyone will find this useful but:
 
 if you use mozilla (on linux/*nix at least) stick this:
 
 search
name="CPAN"
description="CPAN Search"
method="GET"
action="http://search.cpan.org/search"
 
 
 input name="mode" value="module"
 input name="query" user
 
 /search
 
 in a file called cpan.src in the searhcplugins directory of your
 mozilla install. restart mozilla. go the the internet search options, 
 select CPAN as your default Search Engine and hey presto, you can now
 search cpan direct from the mozilla address bar.
 
 only don't tick the display in my sidebar option as it doesn't work. 

Is there any way to get this installed into my ~/.mozilla directory
instead of installing it globally?  I've tried creating a searchplugins
directory, but it's not being picked up, even when I remove my
localstore.rdf file...

-Dom