W3C home > Mailing lists > Public > public-media-annotation@w3.org > August 2009

AW: [MAWG] API specification

From: Bailer, Werner <werner.bailer@joanneum.at>
Date: Fri, 7 Aug 2009 08:50:24 +0200
To: Victor Rodriguez Doncel <victorr@ac.upc.edu>, Thierry Michel <tmichel@w3.org>
CC: Florian Stegmaier <stegmai@dimis.fim.uni-passau.de>, "public-media-annotation@w3.org" <public-media-annotation@w3.org>
Message-ID: <CD9846F872C7874BB4E0FDF2A61EF09F198E1FFD2F@RZJC1EX.jr1.local>
Dear Victor,

thanks for raising these issues, here are my comments to some of them:

1. URIs: is there a way in IDL to define a pattern restricted string?

2. yes, I think having separate interfaces for get and (maybe one day in the future) for set is good

3. can IDL use Unicode strings?

4. This is tricky, as you need a consitent user identification during annotation and later use of the annotation. As it is only for user-defined properties, a practical solution could be to provide a method for getting the list of user IDs for which annotations have been provided, and then use one of those for querying the actual annotation. An application could then still do some processing to resolve them. Maybe also the domain of the user ID could be also returned, e.g. "user123" with domain "www.youtube.com", then the application could look up the user's profile and get possibly further info, e.g. a name to display.

Best regards,
Werner

> -----Ursprüngliche Nachricht-----
> Von: public-media-annotation-request@w3.org [mailto:public-media-
> annotation-request@w3.org] Im Auftrag von Victor Rodriguez Doncel
> Gesendet: Donnerstag, 06. August 2009 19:06
> An: Thierry Michel
> Cc: Florian Stegmaier; public-media-annotation@w3.org
> Betreff: [MAWG] API specification
> 
> Hello,
> 
> For those like Florian or Felix who are not making holidays, I pose
> some
> questions in the PDF that I attach about the formalisation of the API
> definition.
> I send a sample IDL declaration of the two quintaessential calls, plus
> some questions that up to my knowledge remain open.
> 
> Any hint for them?
> 
> Victor
Received on Friday, 7 August 2009 06:51:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 7 August 2009 06:51:07 GMT