|
|
OpenSearch namespace definition
Extension: OpenSearch (A9)
Extension Name: openSearch
Purpose: The OpenSearch namespace allows
the users to add information to provide search
results via RSS.
Declaration: The namespace for OpenSearch
is defined at: http://opensearch.a9.com/spec/opensearchrss/1.0/
<rss version="2.0"xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">
Elements: Elements that appear at the
<channel> level are described below:
<openSearch:totalResults> the number
of search results available.
<openSearch:startIndex> the index of
the first item returned
<openSearch:itemsPerPage> the maximum
number of items returned by the search.
Additionally the namespace makes suggestions
for existing RSS feeds and their formatting.
When using this extension consider these tips
for standard RSS feed values.
Channel <title> should contain the name
of the search provider additionally it should
not contain HTML
Channel <link> should be to an URL that
can recreate the search
Channel <description> should contain
information describing the search criteria.
It can contain HTML
Item <title> should contain the title
of the search results and it should not contain
HTML.
Item <link> resulting in the content
of the search.
Item <description> should contain a
description of the search results. It can
contain HTML.
Example:
<!-- Snipped for Brevity -->
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:openSearch ="http://opensearch.a9.com/spec/opensearchrss/1.0/"
version="2.0">
<channel>
<title>FeedForAll Search</title>
<link>http://www.feedforall.com/search</link>
<description>Searching FeedForAll
for information </description>
<openSearch:totalResults>100</openSearch:totalResults>
<openSearch:startIndex>10</openSearch:startIndex>
<openSearch:itemsPerPage>20</openSearch:itemsPerPage>
<!--Snipped for Brevity-->
|
|
|
|
|