[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accepting articles and bookmarks



El Miércoles, 6 de Junio de 2007 15:18, Tim Bray escribió:
> On Jun 6, 2007, at 1:04 AM, Antonio Tapiador del Dujo wrote:
> > Hi everyone,
> > I have an implementation issue about APP.
> >
> > I'm writting an APP enabled CMS [1]. This CMS accepts articles and
> > bookmarks,
> > among other types of content. It's not clear for me how should I
> > announce
> > these two types in the Service Document so any client is able to
> > distinguish
> > them.
> >
> > In a thread in Atom-Syntax [2] there is consensus about
> > representing bookmarks
> > as Atom Entries, so I think they should be announced as
> > application/atom+xml;type=entry. But this would prevent clients
> > that manage
> > both types, like Flock browser [3], to know where both types of
> > collections
> > are.
>
> Couldn't you have two collections, one named "Articles" and the other
> "Bookmarks"?  -Tim

Yes, this is what I have right now.
My point is that the client is able to automatically connect the blogging 
module with the Articles collection(s), and the favorites module with the 
Bookmarks collection(s), after fetching the Service Document.

Cheers.