[Cosmo-dev] Magic URL's

Brian Moseley bcm at osafoundation.org
Tue Sep 12 16:49:08 PDT 2006


On 9/12/06, Ted Leung <twl at osafoundation.org> wrote:

> Given that Cosmo and Scooby are now merged, what are people's
> thoughts about the kind of solution we ought to pursue?

my proposal is a sort of hybrid of earlier ones.

let there be a canonical "web url" for a collection shared to the
server that chandler understands how to construct. when somebody
visits that web url in their browser, the resulting page contains
links to subscribe to the collection via atom and dav.

example: i share the "mystuff" collction. chandler tells me that the
web url for this calendar is <http://osaf.us/home/bcm/mystuff/>. when
i point my browser at that url, i get a web page that (among other
things) tells me that i can use atom to access the collection at
<http://osaf.us/atom/1.0/bcm/mystuff/> and dav at
<http://osaf.us/atom/1.0/dav/bcm/mystuff/>.

note that i am consciously avoiding using existing url spaces like
"/pim" and "/console" to avoid tying people's understanding to the
current web ui.

looking ahead to the new sharing format and protocol (which i call
"morse code", chandler would also know that to share the collection it
uses the morse code url <http://osaf.us/morsecode/bcm/mystuff/>.

we could even incorporate the autodiscovery idea by providing an
introspection document at a url like
<http://osaf.us/atom/bcm/mystuff/autodiscovery>.


More information about the cosmo-dev mailing list