I was wondering if there is any possibility of putting comments in the search results to mark the beginning and ending of the result set and the beginning and ending of individual items within the set.

This request comes from purely selfish motives, but I'm hoping that others might find it useful. I've recently been investigating the some of the extra functionality of Mozilla and hit upon the search plugins. Since I find myself searching perlmonks a bit, I looked around for a plugin and found this by boo_radley. It works fairly well but gives a lot of junk when used in the sidebar. I have attempted to remedy this, but have been a bit unsuccessful because of a lack of unique markings to denote the boundaries of the result set and its individual items.

Replies are listed 'Best First'.
Re: Feature request for search results
by jasonk (Parson) on Dec 03, 2003 at 15:09 UTC

    Wouldn't it be easier to just request search results as xml?


    We're not surrounded, we're in a target-rich environment!

      That gives the XML view of the search page, not what you want. Save the search page you get back somewhere, experiment, figure out just what you want, and then reply to this node, and I'll write up a patch.


      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).

      It might, but that doesn't seem to work when the search returns a list of possibile pages. Compare a search for 'search plugin' in html mode and to the same search in xml mode

      Update: fixed typo