List Info

Thread: Extending OpenSearch 1.1




Extending OpenSearch 1.1
user name
2006-08-11 06:54:59
Thanks Michael.

>From a quick look, Media RSS looks to be the most
flexible approach
(http://search.yahoo.com/
mrss) allowing a <media:thumbnail> within
<item> in RSS and many other multimedia types.

<item>
    <title>New York History</title>
 
<link>http://www.columbia.edu/cu/lweb/eguides/a
merihist/nyc.html</link>
    <media:thumbnail url="http://www.foo.com/ke
yframe.jpg" width="75"
height="50"/>
    <description>
       ... Harlem.NYC - A virtual tour and information on
        businesses ...  with historic photos of Columbia's
own New York
        neighborhood ... Internet Resources for the City's
History. ...
    </description>
</item>

Any other thoughts anyone?

Tony

-----Original Message-----
From: Michael Fagan [mailto:mfagangmail.com] 
Sent: Friday, 11 August 2006 2:00 PM
To: Tony Boston
Cc: discussopensearch.org
Subject: Re: [OpenSearch Discuss] Extending OpenSearch 1.1

there are a couple of choices I think..

1) atom:link with a custom rel value
3) atom:enclosure - doesn't seem very appropriate
2) pheed extension http://www.pheed.com/phee
d/  - not so great because
you can't specify dimensions etc
4) yahoo-initiated media rss - seems like the most
appropriate to me

thoughts, anyone?


On 8/10/06, Tony Boston <tbostonnla.gov.au> wrote:
> Hi OpenSearchers,
>
> We are working on a project to OpenSearch enable
collection databases 
> from several Australian cultural agencies such as
libraries, museums, 
> archives and galleries.
>
> We would like to include links to thumbnail images in
the OpenSearch 
> RSS or Atom Response and I wanted to get advice on the
best way to do
this.
> Traditionally when searching say a database of art or
museum objects 
> it is good to include thumbnails of the collection item
in the results

> list so that the user can quickly see if the item is of
interest. In 
> fact wouldn't this be a good optional element to
include in the 
> OpenSearch
> 1.1 Response?
>
> I note that OpenSearch 1.1 includes reference to an
optional <Image> 
> element in the OpenSearch Description. Could this be
re-used in the 
> OpenSearch Response like this? :
>
> <?xml version="1.0"
encoding="UTF-8"?> <rss
version="2.0"
>      xmlns:opensearch="http://a9.com/-/
spec/opensearch/1.1/">
>   <channel>
>     <title>Example.com Search: New York
history</title>
>     <link>http
://example.com/New+York+history</link>
>     <description>Search results for "New
York history" at 
> Example.com</description>
>    
<opensearch:totalResults>4230000</opensearch:totalR
esults>
>    
<opensearch:startIndex>21</opensearch:startIndex>
;
>    
<opensearch:itemsPerPage>10</opensearch:itemsPerPag
e>
>     <opensearch:link rel="search"
>
href="http://e
xample.com/opensearchdescription.xml"
>
type="application/opensearchdescription+xml"/>
;
>     <opensearch:Query role="request"
searchTerms="New York History" />
>     <item>
>       <title>New York History</title>
>
> <link>http://www.columbia.edu/cu/lweb/eguides/ameri
hist/nyc.html</link
> >
>
> <opensearch:Image>
http://www.centralparknyc.org/media/image/Bethesda19
> th
> C.jpg</opensearch:Image>
>       <description>
>         ... Harlem.NYC - A virtual tour and information
on
>         businesses ...  with historic photos of
Columbia's own New
York
>         neighborhood ... Internet Resources for the
City's History.
...
>       </description>
>     </item>
>     <!-- 9 additional <item> elements appear
here -->
>   </channel>
> </rss>
>
> Or I guess we could do this just for our project via
the extensibility

> feature of OpenSearch 
> (http://opensearch.a9.com/spec/1.1/response/#extensibili
ty).
>
> Any advice appreciated.
>
> Tony Boston
> National Library of Australia
>
>
>
>  [ Opensearch.org Discuss mailing list ] 
> http:
//opensearch.org/mailman/listinfo/discuss/
> Unsubscribe on the web page, or discuss-unsubscribeopensearch.org
> Problems?  Reach a human at mailman-adminopensearch.org
>

=== [ Opensearch.org Discuss mailing list ]
========================http:
//opensearch.org/mailman/listinfo/discuss/
Unsubscribe on the web page, or discuss-unsubscribeopensearch.org
Problems?  Reach a human at mailman-adminopensearch.org
Extending OpenSearch 1.1
user name
2006-08-11 08:22:02
Tony Boston writes:
 > Thanks Michael.
 > 
 > >From a quick look, Media RSS looks to be the most
flexible approach
 > (http://search.yahoo.com/
mrss) allowing a <media:thumbnail> within
 > <item> in RSS and many other multimedia types.
 > 
 > <item>
 >     <title>New York History</title>
 >  
 > <link>http://www.columbia.edu/cu/lweb/eguides/a
merihist/nyc.html</link>
 >     <media:thumbnail url="http://www.foo.com/ke
yframe.jpg" width="75"
 > height="50"/>
 >     <description>
 >        ... Harlem.NYC - A virtual tour and information
on
 >         businesses ...  with historic photos of
Columbia's own New York
 >         neighborhood ... Internet Resources for the
City's History. ...
 >     </description>
 > </item>
 > 
 > Any other thoughts anyone?

Nothing constructive, just a rant ...

I can't _believe_ there isn't a The One Right Way to do
this very
simple thing.  Can it really be that this requirement
hasn't cropped
up again and again and again?

 _/|_	
____________________________________________________________
_______
/o ) \/  Mike Taylor  <mikemiketaylor.org.uk>  http://www.miketaylor.or
g.uk
)_v__/\  "There is something fascinating about
science.  One gets such
	 wholesome returns of conjecture out of such a trifling
investment
	 of fact" -- Mark Twain.


=== [ Opensearch.org Discuss mailing list ]
=========================
http:
//opensearch.org/mailman/listinfo/discuss/
Unsubscribe on the web page, or discuss-unsubscribeopensearch.org
Problems?  Reach a human at mailman-adminopensearch.org
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )