Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Create FireFox search plugin for arbitrary web site

by jgamble (Pilgrim)
on Nov 29, 2008 at 21:45 UTC ( #726839=note: print w/ replies, xml ) Need Help??


in reply to Create FireFox search plugin for arbitrary web site

This is great.

I wonder if there is some way to automate the output file, instead of having to type the path to the filename explicitly. I believe you can get away with a hardcoded path in Windows, but is it different for Linux?


Comment on Re: Create FireFox search plugin for arbitrary web site
Re^2: Create FireFox search plugin for arbitrary web site
by ccn (Vicar) on Nov 30, 2008 at 00:28 UTC

    Yes, there is. The best way is to make a personal wrapper for the script:

    linux:

    #!/bin/sh perl mksp.pl $1 $2 > ~/.mozilla/firefox/YOURPROFILE/searchplugins/$1.x +ml

    windows:

    REM windows batch file perl mksp.pl %1 %2 > PATH\TO\YOUR\PROFILE\searchplugins\%1.xml

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://726839]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2014-11-28 03:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (192 votes), past polls