Would it make sense to not write something new, but implement something
like e.g. OpenSearch here? ( I think this was actually proposed earlier
already)
Cheers,
Niels
> --
> You received this message because you are subscribed to the Google
> Groups "OpenSocial and Gadgets Specification Discussion" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/opensocial-and-gadgets-spec/-/KCg0eLuKMukJ.
> To post to this group, send email to
> opensocial-an...@googlegroups.com.
> To unsubscribe from this group, send email to
> opensocial-and-gadg...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/opensocial-and-gadgets-spec?hl=en.
var query="";
var paramMap= {"email":"*gmail.com", "type":"person", "firstName": "Dan"};
container.search(query, paramMap); // returns all people named dan who
have gmail addresses.
This dovetails nicely with the parameter specification for OpenSearch
(http://www.opensearch.org/Specifications/OpenSearch/Extensions/Parameter/1.0),
which will allow the container to expose this functionality to others.
On the implementation side, the container could either implement exact
match or full text seach.
I think supporting webfinger is also a good idea.
> --
> You received this message because you are subscribed to the Google Groups
> "OpenSocial and Gadgets Specification Discussion" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/opensocial-and-gadgets-spec/-/68p8guK4dksJ.
Done: http://code.google.com/p/opensocial-resources/issues/detail?id=1206
One option to consider is adopting the SQL-like query grammer from CMIS <http://docs.oasis-open.org/cmis/CMIS/v1.0/os/cmis-spec-v1.0.html#_Toc243905420> for this purpose. This will become even more compelling if CMIS is adopted as the standard OpenSocial API for documents and folders, because developers would not have to learn new concepts to search people/groups/etc. versus documents and folders.
Webfinger is interesting indeed, but would we not need webGroupFinger also?
Cheers,
Niels