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

Re: Accepting articles and bookmarks




On 6/7/07, Antonio Tapiador del Dujo <atapiador@xxxxxxxxxx> wrote:

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.

How about using a <categories> with a predefined term/tag:

<collection href="/blog">
 <categories>
   <category term="sys:entry" />
 </categories>
</collection>
<collection href="/bookmarks">
 <categories>
   <category term="sys:bookmark" />
 </categories>
</collection>

Clients can be programmed to retrieve the Bookmark collection's link
through xpath query:

"collection[categories/category/@term='sys:bookmark']/@href"


--
Teo Hui Ming