Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I call htsearch from a hypertext link, rather than from a search form?

0
10 Posted

How can I call htsearch from a hypertext link, rather than from a search form?

0

If you change the search.html form to use the GET method rather than POST, you can see the URLs complete with all the arguments that htsearch needs for a query. Here is an example: http://www.grommetsRus.com/cgi-bin/htsearch?config=htdig&restrict=&exclude=&method=and&format=builtin-long&words=grapple+grommets which can actually be simplified to: http://www.grommetsRus.com/cgi-bin/htsearch?method=and&words=grapple+grommets with the current defaults. The “&” character acts as a separator for the input parameters, while the “+” character acts as a space character within an input parameter. In versions 3.1.5 or 3.2.0b2, or later, you can use a semicolon character “;” as a parameter separator, rather than “&”, for HTML 4.0 compliance. Most non-alphanumeric characters should be hex-encoded following the convention for URL encoding (e.g. “%” becomes “%25”, “+” becomes “%2B”, etc). Any htsearch input parameter that you’d use in a search form can be added to the URL in this way.

0

If you change the search.html form to use the GET method rather than POST, you can see the URLs complete with all the arguments that htsearch needs for a query. Here is an example: http://www.grommetsRus.com/cgi-bin/htsearch?config=htdig&restrict=&exclude=&method=and&format=builtin-long&words=grapple+grommets which can actually be simplified to: http://www.grommetsRus.com/cgi-bin/htsearch?method=and&words=grapple+grommets with the current defaults. The “&” character acts as a separator for the input parameters, while the “+” character acts as a space character within an input parameter. In versions 3.1.5 or 3.2.0b2, or later, you can use a semicolon character “;” as a parameter separator, rather than “&”, for HTML 4.0 compliance. Most non-alphanumeric characters should be hex-encoded following the convention for URL encoding (e.g. “%” becomes “%25”, “+” becomes “%2B”, etc). Any htsearch input parameter that you’d use in a search form can be added to the URL in this way. This can be emb

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.