[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: amazon search with konqueror shortcuts



Joerg Johannes wrote:
Am Freitag, 5. April 2002 10:51 schrieb Rob Weir:

On Wed, Apr 03, 2002 at 04:28:48PM +0200, Joerg Johannes wrote:

Hi list

In opera, there is a search field, which loads amazon.com (or .de for me)
with a search for the given words.
I know that in konqueror in the "enhanced browsing" options, one can
define such shortcuts. What I would like to do is a "amazon:search-item"
in the address field, so that konqueror loads amazon.de with a search for
search-item.
Anyone knows how to do that?

I think you just need to add it in the Konq preferences window.  I
think the part you want might even be called "Enhanced Browsing".

-rob


OK, thanks, I think I did not make myself clear enough: What I need is the correct "search-url" to add to the enhanced browsing dialog. I tried to figure a general pattern out by doing some searches in "all products", but the search item does not appear in the url. Only if I search in a certain category (classics, or sth else), the search item appears in the url.
Any idea how to get the correct search-url for "all products"?

joerg



The reason you can't see the search data in the url is because the data is probably being submitted using the POST method (which among other things allows for larger amount of data to be sent).

The way I get around this is to save a copy of the HTML page to my PC. Open the file in a text editor, and find the <form method=post action=results_url> tag for the relevant search box. Change the method to be GET, check the value of the action attribute and make sure it is a full url to the page not a relative one (ie it includes http://host.domian/ etc). If not edit it as necessary.

Save the page and view it in a browser. Now any data submitted from your local copy of the page will get sent as part of the url and thus you can then figure out what you need to set in Konqueror.

Some site may rely on session ids in the form data and submitting a form without it (or an expired one) may just bounce you to another page, but usually this is only for sites that require you to log in.

Hope That Helps

--

Jason Chambers (jason.chambers@ntlworld.com)


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: