Martin Scotta wrote:
> Hi all!
> 
> I'd like to add php.net to my browser search box.
> Most browser can do it by "looking" at some XML provided by the site.
> 
> The HTML must contain a simple link tag like this
> <link rel="search" type="application/opensearchdescription+xml"
> title="PHP.net"
>     href="http://php.net/osd.xml"; />
> 
> and osd.xml should be something like this
> <?xml version="1.0" encoding="utf-8"?>
> <OpenSearchDescription>
>     <ShortName>PHP.net</ShortName>
>     <Description>Quick search in PHP.net!</Description>
>     <Tags>php quick search</Tags>
>     <Image height="16" width="16" type="image/x-icon">
> http://php.net/images/logos/php-icon-white.gif</Image>
>     <Url type="text/html" method="GET" template="
> http://search.php?pattern={searchTerms}"/>
>     <InputEncoding>UTF-8</InputEncoding>
>     <AdultContent>false</AdultContent>
> </OpenSearchDescription>
> 
> I know php.net use method="POST", but it's quite easy to provide a GET
> mechanism.
> 
> 
> is this the correct place for posting this?
> 

I use FF 2 & 3 and I created a bookmark that simply had a keyword
assigned to it.

Bookmark properties are as follows:

Name:           PHP.net
Location:       http://www.php.net/%s
Keyword:        php
Description:    Type "php <search term>" in the address bar
                to perform a PHP.net search

Not sure if you can do this with other browsers, but I have found it to
be very useful.

Jim Lucas


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to