Board index   FAQ   Search  
Register  Login
Board index php forum :: Bar Free time

Php.net FireFox / Bon Echo Search Plugins

Bar discussions . Talk about everything not only php !. Guests are welcome here , forum registration is not required.

Moderators: macek, egami, gesf

Php.net FireFox / Bon Echo Search Plugins

Postby gesf » Wed Sep 27, 2006 10:44 pm

Today i received an email from a friend saying that Firefox 2 RC 1 came with a different search plugin style and asking what was the part inside the image tag.
Than i explained. No, no! Don't ask me what's that inside the image tag! You'll soon find out :)

So i decided to make a php.net search plugin. This are for both Firefox 1 (not sure but at least 1.5.x) and Firefox 2.x (project name "Bon Echo").

Php.net Search Plugin for Firefox 1.whatever (php.net.src):
Code: Select all
<search
   name="php.net"
   description="Search php.net function list"
   method="GET"
   action="http://www.php.net/manual-lookup.php"
   update=""
   updateCheckDays=1   
   queryEncoding="utf-8"
   queryCharset="utf-8"
>
<input name="pattern" user>
<interpret browserResultType="result" charset="utf-8">
</search>
<browser update="" updateIcon="http://www.php.net/favicon.ico" updateCheckDays="30">


Php.net Search Plugin for Bon Echo (php.net.xml) :
Code: Select all
<SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/">
<ShortName>php.net</ShortName>
<Description>Search php.net function list</Description>
<InputEncoding>utf-8</InputEncoding>
<Image width="16" height="16">data:image/x-icon;base64,Qk02AwAAAAAAADYAAAAoAAAAEAAAABAAAAABABgAAAAAAAADAADEDgAAx
A4AAAAAAAAAAAAAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAw
ICAwICAwICAwICAwICAwICAwICAwICA19fX19fX19fXwICAwICAwICAwICAwICAwICAwICA19fX19fX19fXwICAwICAwICA19fXAAAA19fXwICAw
ICAwICAwICAwICAwICAwICA19fXAAAA19fXwICAwICAwICA19fXAAAA19fX19fXwICAwICA19fXwICAwICA19fX19fXAAAA19fX19fXwICAwICA1
9fXAAAAAAAAAAAA19fX19fXAAAA19fX19fXAAAA19fXAAAAAAAAAAAA19fX19fX19fXAAAA19fX19fXAAAA19fXAAAA19fX19fXAAAA19fXAAAA1
9fX19fXAAAA19fX19fXAAAA19fX19fXAAAA19fXAAAA19fX19fXAAAA19fXAAAA19fX19fXAAAA19fX19fXAAAA19fX19fXAAAA19fXAAAA19fX1
9fXAAAA19fXAAAA19fX19fXAAAA19fX19fXAAAAAAAAAAAA19fX19fXAAAAAAAAAAAA19fX19fXAAAAAAAAAAAA19fX19fXwICA19fX19fX19fXw
ICA19fXAAAA19fX19fXwICAwICA19fX19fX19fXwICAwICAwICAwICAwICAwICAwICA19fXAAAA19fXwICAwICAwICAwICAwICAwICAwICAwICAw
ICAwICAwICAwICAwICA19fX19fX19fXwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAw
ICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwICAwI
CAwICAwICAwICAwICAwICAwICAwICA</Image>
<Url type="text/html" method="GET" template="http://www.php.net/manual-lookup.php">
  <Param name="pattern" value="{searchTerms}"/>
  <Param name="sourceid" value="Mozilla-search"/>
</Url>
<SearchForm>http://www.php.net/manual-lookup.php</SearchForm>
</SearchPlugin>
Give them the names you want, note the files' extensions. For both Firefox versions, both files should reside in the firefox searchplugins directory.

I think i'll make one for the forum but... not without a great forum 16x16 icon.
Don't wanna blame no one, but someone got to make it, right Alexei !? :D

Hope you like this stupid idea :)
User avatar
gesf
Moderator
Moderator
 
Posts: 1717
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden

Postby gesf » Thu Sep 28, 2006 8:18 am

Because the "web developer" extension is not compatible with Firefox 2 (yet), i got the 1.5.7 again and noticed that the plugin (the first one) can't show the image.... i guess the people from php.net got a hotlink protection. So you better save the image in your firefox extension directory and change its location in the plugin. If you have problems with .ico, try changing it's extension to .png.
User avatar
gesf
Moderator
Moderator
 
Posts: 1717
Joined: Sun Dec 29, 2002 5:03 am
Location: Portugal / Sweden


Return to Free time

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron