BlogMatrix
 

Adding OpenSearch

edit David P. Janes 2006-08-30 04:58 UTC 2 comments  ·  ·  ·

There's an interesting post on "CSS Toys" (hat tip: Ted Drake from Yahoo! posting on the Microformats mailing list) about how to "Add OpenSearch to your website".

If you're unfamiliar with OpenSearch, here's a quick blurb:

OpenSearch is a set of simple formats for the sharing of search results. Any website that has a search feature can make their results available in OpenSearch™ format. Other tools can then read those search results. For example, here is an aggregator that brings together search results from many websites:

many search providers use OpenSearch to provide search results to aggregators

 

This something I can see BlogMatrix doing in the near future, once all the other dust settles. 

This brought up the topic of hAtom (my contribution to the world of Microformats) and using this for encoding search results. Here's what I replied:

  • according the article, Yahoo only returns its results in HTML, so
  • we know HTML is good
  • one could add an extra field to the OpenSearch XML (a description
  • file about how your results are returned) indicating that the file is
  • hAtom
  • parties not understanding hAtom can just display HTML
  • parties wating to understand hAtom can do it themselves or use a webservice

When I was at MashupCamp in February there was a guy from
A9/OpenSearch very interested in mashup type applications and
developer feedback so there's a door open for us.

I'll also note that his WordPress integration problem will probably go
away if we did this, as an independent XML-feed result will not have
to be returned;

Full disclosure: I got a nice Amazon A9 hat from the conference. If anyone knows his name, please let me know -- the early MashupCamp 1 Wiki information seems to have disappeared.

Comment #1toys

2007-09-04 15:21:09

Do the search results come from Yahoo? How can you integrate multiple search engines? That would be pretty cool – if you could integrate the best, as well as bookmarking websites such as del.icio.us or mag.nol.ia. Unless I misunderstand what you mean by your description of OpenSearch? It sounds like a very useful application – I'm still a bit of a newbie, so excuse my ignorance!

I mean, I don't really even know what you mean by hAtom... I know what HTML and XML is, though. So much still to learn, I guess. Well, it looks like it's all here, I just need to take the time to actually sift through everything!

Comment #2portraits art

2007-10-09 06:59:36

hAtom is a Microformat for marking up (X)HTML content on web pages so that an Atom feed can be derived from it.

 

The hAtom schema consists of the following:

  • hfeed (hfeed). optional.
  • hentry (hentry).
    • entry-title. required. text.
    • entry-content. optional (see field description). text. [*]
    • entry-summary. optional. text.
    • updated. required using datetime-design-pattern. [*]
    • published. optional using datetime-design-pattern.
    • author. required using hCard. [*]
    • bookmark (permalink). optional, using rel-bookmark.
    • tags. optional. keywords or phrases, using rel-tag.

Add Comment