You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Han Nguyen <hn...@us.ibm.com> on 2010/05/15 02:15:48 UTC
how's the string "http://a9.com/-/spec/opensearch/1.1" used in
XStream081Configuration.java ?
Hi,
At a quick glance, the string "http://a9.com/-/spec/opensearch/1.1" looks
like one of the namespaces used in the XStream081Configuration.java class.
But does anyone know exactly how the string is used in Shindig?
Is it used to invoke any search? and if so then where does it search and
how Shindig consumes the search results?
Thanks much!
Han
Re: how's the string "http://a9.com/-/spec/opensearch/1.1" used in
XStream081Configuration.java ?
Posted by Paul Lindner <pl...@linkedin.com>.
Correct, it's only used to namespace atom xml responses.
Shindig doesn't have specific opensearch support beyond that.
On Mon, May 17, 2010 at 1:47 PM, Han Nguyen <hn...@us.ibm.com> wrote:
> Paul,
> I don't mean to be annoying, but just to make sure and get a confirmation
> from you that the string was used as the name space for XStream ATOM
> serialization and it is NOT part of any opensearch that Shindig might
> process or consume correct?
> Thanks much!
> Han
>
>
>
> From: Paul Lindner <pl...@linkedin.com>
> To: dev@shindig.apache.org
> Date: 05/15/2010 08:04 AM
> Subject: Re: how's the string "http://a9.com/-/spec/opensearch/1.1"
> used in XStream081Configuration.java ?
> Sent by: lindner@inuus.com
>
>
>
> opensearch namespace is used for atom output.
>
> curl http://localhost:8080/rest/people/john.doe/@friends?format=atom
> <feed xmlns="http://www.w3.org/2005/Atom" xmlns:osearch="
> http://a9.com/-/spec/opensearch/1.1">
> <entry>
> ....
> <osearch:startIndex>0</osearch:startIndex>
> <osearch:totalResults>3</osearch:totalResults>
> <osearch:itemsPerPage>3</osearch:itemsPerPage>
> ....
> </feed>
>
> On Fri, May 14, 2010 at 5:15 PM, Han Nguyen <hn...@us.ibm.com> wrote:
>
> > Hi,
> > At a quick glance, the string "http://a9.com/-/spec/opensearch/1.1"
> looks
> > like one of the namespaces used in the XStream081Configuration.java
> class.
> > But does anyone know exactly how the string is used in Shindig?
> > Is it used to invoke any search? and if so then where does it search and
> > how Shindig consumes the search results?
> > Thanks much!
> > Han
>
>
Re: how's the string "http://a9.com/-/spec/opensearch/1.1" used in
XStream081Configuration.java ?
Posted by Han Nguyen <hn...@us.ibm.com>.
Paul,
I don't mean to be annoying, but just to make sure and get a confirmation
from you that the string was used as the name space for XStream ATOM
serialization and it is NOT part of any opensearch that Shindig might
process or consume correct?
Thanks much!
Han
From: Paul Lindner <pl...@linkedin.com>
To: dev@shindig.apache.org
Date: 05/15/2010 08:04 AM
Subject: Re: how's the string "http://a9.com/-/spec/opensearch/1.1"
used in XStream081Configuration.java ?
Sent by: lindner@inuus.com
opensearch namespace is used for atom output.
curl http://localhost:8080/rest/people/john.doe/@friends?format=atom
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:osearch="
http://a9.com/-/spec/opensearch/1.1">
<entry>
....
<osearch:startIndex>0</osearch:startIndex>
<osearch:totalResults>3</osearch:totalResults>
<osearch:itemsPerPage>3</osearch:itemsPerPage>
....
</feed>
On Fri, May 14, 2010 at 5:15 PM, Han Nguyen <hn...@us.ibm.com> wrote:
> Hi,
> At a quick glance, the string "http://a9.com/-/spec/opensearch/1.1"
looks
> like one of the namespaces used in the XStream081Configuration.java
class.
> But does anyone know exactly how the string is used in Shindig?
> Is it used to invoke any search? and if so then where does it search and
> how Shindig consumes the search results?
> Thanks much!
> Han
Re: how's the string "http://a9.com/-/spec/opensearch/1.1" used in
XStream081Configuration.java ?
Posted by Paul Lindner <pl...@linkedin.com>.
opensearch namespace is used for atom output.
curl http://localhost:8080/rest/people/john.doe/@friends?format=atom
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:osearch="
http://a9.com/-/spec/opensearch/1.1">
<entry>
....
<osearch:startIndex>0</osearch:startIndex>
<osearch:totalResults>3</osearch:totalResults>
<osearch:itemsPerPage>3</osearch:itemsPerPage>
....
</feed>
On Fri, May 14, 2010 at 5:15 PM, Han Nguyen <hn...@us.ibm.com> wrote:
> Hi,
> At a quick glance, the string "http://a9.com/-/spec/opensearch/1.1" looks
> like one of the namespaces used in the XStream081Configuration.java class.
> But does anyone know exactly how the string is used in Shindig?
> Is it used to invoke any search? and if so then where does it search and
> how Shindig consumes the search results?
> Thanks much!
> Han