Mailinglist Archive: opensuse-buildservice (349 mails)

< Previous Next >
Re: [opensuse-buildservice] POST vs GET, and another comment on New Design
  • From: John Pye <john@xxxxxxxxxxxxxxxxxx>
  • Date: Wed, 07 Nov 2007 20:43:55 +1100
  • Message-id: <473188DB.5090704@xxxxxxxxxxxxxxxxxx>
Hi Pascal

Pascal Bleser wrote:
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"):

My comment actually referred to the Build Service search, which I
believe may be separate to the '' search. But in
any case, the problem seems to have been fixed in the new layout. The
page uses method="GET" instead of "POST".

But I note that there no longer is a search box on every page. I would
personally like to see the search box brought back: there's plenty of
room for it in the right-side of the page header, and it's a really
useful feature, and it saves clicks.

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

I got an error:

XML Parsing Error: not well-formed
Line Number 8, Column 55:


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

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

< Previous Next >