Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 chilling in the Monastery: (6)
As of 2015-07-04 23:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls