http://qs321.pair.com?node_id=306306


in reply to a Mozilla Firebird searchplugin for Perlmonks

This isn't hugely related, but do you know how to add rewriting URL schemas, such that I can type id://306196 into the URL field, or pad://theorbtwo, or ...

BTW, if it's possible to get the search plugin mechinisim to parse XML, and you'd be interested in writing that half of it, I'd be interested in writing the PM side of it. In the meantime, add a displaytype=print, which will keep PM from rendering the nodelets and thus speed things up.


Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

  • Comment on Re: a Mozilla Firebird searchplugin for Perlmonks

Replies are listed 'Best First'.
Re^2: a Mozilla Firebird searchplugin for Perlmonks
by Aristotle (Chancellor) on Nov 11, 2003 at 19:53 UTC
    You might be interested in the stuff I posted at Laziness, Lizards and Monks. You can very easily create more of the same for other purposes such as a pad keyword.

    Makeshifts last the longest.

Re: Re: a Mozilla Firebird searchplugin for Perlmonks
by boo_radley (Parson) on Dec 08, 2003 at 15:55 UTC

    I think the Protozilla package may do what you're looking for, although I haven't tested it. Protozilla Examples says

    A protocol handler with the extension .url is treated as an "URL re-direction" specifier, rather than an executable program. For example, a handler named moz.url may contain an URL prefix, such as http://mozilla.org/. In this case, the URI moz:docs is translated to http://mozilla.org/docs. The peer-to-peer freenet protocol uses a local proxy server accessible on port 8081. To be able to use freenet: URLs in the browser, all you need to do is to create a file named freenet.url containing the text http://localhost:8081/. (Of course, you need to be running the freenet proxy server as well.)
    heck, it might be possible to tie this into tye's usage of a cached supersearch page as well, something like pmsupersearch://auth=boo_radley;title=foo;startdate=bar;enddate=baz

      The project seems to have stalled though, and while it installs cleanly in Firebird, no way to change its settings appears anywhere.

      Makeshifts last the longest.