[pmwiki-users] Google local site search

Patrick R. Michaud pmichaud at pobox.com
Mon Dec 26 14:48:15 CST 2005


On Thu, Dec 22, 2005 at 11:15:34PM +0100, Sebastian Siedentopf wrote:
> Am 21.12.2005 um 15:59 schrieb Paul Lewis:
> >Has anyone done the markup to implement into PmWiki Google's local  
> >site search similar to what is described here?: http:// 
> >www.google.com/help/features.html#sitesearch
> >
> A simple solution is to just send the value "sitesearch" with your  
> search request. For example
> 
> http://www.google.com/custom?q=something&sitesearch=pmwiki.org

Wow, I wasn't aware of the sitesearch= parameter.  That means
that one can use the following markup:

    (:input form action="http://www.google.com/custom" method=get:)
    (:input hidden sitesearch pmwiki.org:)
    (:input text q:)
    (:input submit value="Search via Google":)
    (:input end:)

See, for example, http://www.pmwiki.org/wiki/Test/GoogleSearch .

Pm





More information about the pmwiki-users mailing list