ABS-WP: Add your blog to search browser

Thursday, August 21, 2008
Update: latest

OpenSearch is a standard that defines a set of formats for the sharing of search results. This standard is used, for example, from Social Network as Facebook, which have a system of research. One of the uses of this standard for browsers that support it, is the ability to automatically recognize and then add your own website or blog to the list of search engines in the drop-down menu of your browser:

image

If you visit (with Firefox or Flock) the search engine Divoogle, you can insert between the search engines on the menu.
This, however, could be done manually by selecting "Manage Search Engines ..." in Firefox, for example. But besides being a particular, each user should individually play. Latest browser, like Flock, thanks to allow standard OpenSearch to automate this function, reporting automatically to the website or blog offers its own search engine:

image

WordPress Plugin: Your Blog in the list of search engines

The procedure manual, useful to activate this feature everywhere, so we shall see below. In the meantime, if you have a Wordpress Blog, you can install this simple Plugin (wp-abs.zip) that does all the work for you. Once installed and activated will not have to configure anything! Loading your Wordpress Blog on Firefox or Flock, magically find your blog listed in the pulldown menu of search engines.
For the source see here.

Installation manual of standard OpenSearch

For those wishing to perform the installation of the OpenSearch standard in manual mode can follow the simple tutorial sample exposed below and / or refer to the documentation on this site OpenSearch.

To report the presence of a search engine the browser simply create an XML file on our website or blog. For example, here's the file of opensearch_desc.xml undolog.com:

XML:
  1. ? > <? Xml version = "1.0"?>
  2. <= Xmlns OpenSearchDescription "http://a9.com/-/spec/opensearch/1.1/"
  3. > xmlns: moz = "http://www.mozilla.org/2006/browser/search/">
  4. <ShortName> Undolog </ ShortName>
  5. <Description> Open Search Undolog.com </ Description>
  6. width = "16" type = "image/x-icon" > http://www.undolog.com/favicon.ico </Image > <image "16" Height = width = "16" type = "image/x-icon"> http://www.undolog.com/favicon.ico </ Image>
  7. method = "get" template = "http://www.undolog.com/?s={searchTerms}" /> <url Type = "text/html" method = "get" template = "http://www.undolog.com/?s={searchTerms}" />
  8. http://www.undolog.com/ </moz :SearchForm > <moz :SearchForm> http://www.undolog.com/ </ moz: SearchForm>
  9. </ OpenSearchDescription>

As you can see its format is fairly simple. The important point is the line 7:

XML:
  1. ...
  2. method = "get" template = "http://www.undolog.com/?s={searchTerms}" /> <url Type = "text/html" method = "get" template = "http://www.undolog.com/?s={searchTerms}" />
  3. ...

This tells the browser how and where to search. Usually, as in this case, using the standard Wordpress:

CODE:
  1. http://mioblog.com/?s=stringa to search

But according to need, as I did for Divoogle, this piece of code can vary. Once you create this file, simply insert a tag link head section of our home page:

HTML:
  1. <! - Opensearch ->
  2. type = "application/opensearchdescription+xml" href = "http://www.undolog.com/opensearch_desc.xml" title = "Undolog" / > <link rel = "search" type = "application/opensearchdescription+xml" href = "http://www.undolog.com/opensearch_desc.xml" title = "Undolog" />

Through the attribute rel="search" link will report to the browser (which supports it) to retrieve all information to add the search engine.

Related Post

8 comments to: "ABS-WP: Add your blog to search the browser"

  1. Friday 22 August, 2008 at 10:25 a.m.
    David said:

    Excellent article ..
    This is a Cosetta to add, I prefer to do it and act on that code via plugin, does not change his life but could always helpful. Thank you.

    Answer Quote
  2. Monday 25 August, 2008 at 07:55
    Opensearch in with a Wordpress plugin | Napolux.com said:

    [...] WP-ABS is a plugin created from his Giovambattista / Undolog easing the lives of those who want to implement the standard OpenSearch on your WordPress blog in order to offer its readers a feature that in some cases it might be really welcome. [...]

  3. Monday 25 August, 2008 to 12:30
    Julius said:

    Grande GIO 'really useful so I install this plugin now!

    Answer Quote
  4. Monday 25 August, 2008 at 13:31
    Giovambattista Fazioli said:

    @ Julius: Thank you dear! Welcome back :)

    Answer Quote
  5. Monday 25 August, 2008 at 17:38
    hivesoft said:

    However the OpenSearch Referrer Extension is supported by Internet Explorer 7 ... you do not work! : p

    Answer Quote
  6. Monday 25 August, 2008 at 17:43
    Giovambattista Fazioli said:

    @ Hivesoft is true ... "mea culpa" ... :)

    Answer Quote
  7. Thursday 28 August, 2008 at 08:10
    Klose said:

    really good,
    how to add personalized search adsense? :)

    Answer Quote
  8. Thursday 28 August, 2008 at 17:22
    ABS-WP: update release 1.1 | Undolog.com said:

    [...] At the request of Yuri, who asked how to use the Plugin for WordPress WP Browser Add Search to add the [...]

Leave a comment

TAG XHTML <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <a <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Use <pre> to enclose code