Hi devs, as a result of the need to allow annotated text to be edited wrt to an annotation (for example, replace the annotated text with the annotation comment), the need of identifying the annotation target more precise emerged, so solution 3 was elaborated, based on the idea that an annotation could be directed towards the field of an object in a document, with a method to identify it in the rendered HTML. The details are here http://dev.xwiki.org/xwiki/bin/view/Design/AnnotationFeature#HSolution3addan... please bear with their length and lack of precision, is only an idea, haven't prototyped yet. WDYT? Thanks, Anca On 11/24/2009 07:41 PM, Anca Luca wrote:
Hi devs,
while trying to prototype this solution, I came up with a refinement which changes the strategy a bit, basing it on XHTML content mainly, and considering 'content' as the main unit (and not 'document') and 'annotations set' (instead of 'document's annotations'). It is described at http://dev.xwiki.org/xwiki/bin/view/Design/AnnotationFeature#HSolution2store... .
WDYT?
Roadmap stays the same, even with this new approach.
Happy hacking, Anca
On 10/30/2009 05:21 PM, Anca Luca wrote:
Hi devs,
following a discussion with Fabio about the second desired feature for the annotations, namely the ability to add annotations on any document, no matter how its content is generated, we came up with the solution described at http://dev.xwiki.org/xwiki/bin/view/Design/AnnotationFeature#HSolution1store... , the main idea being that annotations would be defined by their selected text and a context (as opposed to offsets) and would be identified to be rendered in a document on a serialization of the transformed XDOM of the document, this way taking into account any macro rendering, document inclusion, etc.
WDYT about this solution?
Also, because the implementation of this, though relatively localized, comes together with refactor and cleanup of the annotations module (update everything so that annotations don't store and use offsets anymore, remove classes& functions which are not needed in this simplified process), I propose to include this improvement in version 1.0 of the annotations module (so that we don't cleanup and release what we know for sure we'll delete) and push the 1.0 version further to mid to end December.
here's my +1 for this, WDYT?
Happy coding, Anca
_______________________________________________ devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list devs@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs