Mailinglist Archive: opensuse-buildservice (349 mails)

< Previous Next >
[opensuse-buildservice] POST vs GET, bookmarklets and openSearch (was: Search results pages on are POST)
  • From: Pascal Bleser <pascal.bleser@xxxxxxxxx>
  • Date: Wed, 07 Nov 2007 09:40:26 +0100
  • Message-id: <473179FA.7050309@xxxxxxxxx>
Hash: SHA1

John Pye wrote:
A bit of an issue with the search pages on is
that they use the HTTP 'POST' method for the search query. This means
than when using the 'back' button to return the list of search results,
Firefox asks me if I want to re-post the query again, or cancel the
request. The preferred approach is to use HTTP GET as it allows the
browser to cache results, and makes web usability much better.

John, seems you can also do HTTP GET (it hides in "Permanent link to
this result"):

A bookmarklet would look like this:

Always using HTTP GET instead of POST on the form would make it a little
more straightforward though (just search, bookmark the result, and edit
the bookmark to use a placeholder (%s) for a bookmarklet).

About bookmarklets and bookmark keywords in Firefox:
(works in Konqueror too)

And here for further details:

But OpenSearch support would be nice as well :)

I've quickly hacked openSearch configurations (XML) for the openSUSE
Build Service (10.3 and 10.2):

(Packman and Webpin already have it on their site but I copied it there
as well)
Doesn't work with Konqueror as of now (which is quite sad as it's an
open standard) but with Firefox, just go the the URL above and there you
can add search engines to Firefox' search field (the search field should
be highlighted with a drop-down arrow from where you can select which
ones to add).

Have a look at the openSearch XML files and the source of the page at
the URL above to see how it's implemented (it's very simple, really).

- --
-o) Pascal Bleser
/\\ <pascal.bleser@xxxxxxxxx> <guru@xxxxxxxxxxx>
_\_v The more things change, the more they stay insane.
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE -

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups