Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Create FireFox search plugin for arbitrary web site

by jgamble (Pilgrim)
on Nov 29, 2008 at 21:45 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://726839]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-09-18 11:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (24 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.