[daisy] Querying for document comments?

A Rocha Webmaster webmaster at arocha.org
Wed Jul 16 17:23:53 CEST 2008


Wonderful starting tip Paul, thanks :)

Qua, 2008-07-16 às 17:15 +0200, Paul Focke escreveu:
> Júlio
> 
> Well there is nothing in the query language that allows you to query for
> comments found on documents so we'll have to find another way. The way
> you could get a list of all comments would be to use a publisher
> request.
> 
> This powerful yet not so well known feature is documented here 
> http://cocoondev.org/daisydocs-2_3/373-cd/194-cd.html
> 
> Read up on this and play around with creating custom publisher requests
> for your documents if you haven't already done this.
> 
> Your request will probably want to include this
> <p:group id="allComments">
>   <p:forEach>
>     <p:query>select name where true</p:query>
>     <p:document>
>       <p:comments/>
>     </p:document>
>   </p:forEach>
> </p:group>
> 
> This little blurb of xml will get the comments for every single document
> that results from the query and place them in a p:group element (which
> will be a sibling of the d:document element that you know from the
> document styling).
> 
> That should get you on your way
> 
> Paul
> 
> 
> On Wed, 2008-07-16 at 15:58 +0100, A Rocha Webmaster wrote:
> > Dear list
> > 
> > I've been at the Query language page and at the Document Comments
> > http://cocoondev.org/daisydocs-2_2/373-cd/114-cd.html
> > 
> > I've been adding comments to pages for all site editors; now I want to
> > find these pages and fix what was wrong with them, but I only seem to
> > have an option of listing my own private comments (none, as I am not the
> > only editor!)
> > 
> > Is there a way of finding such pages?
> > 
> > TIA
> > Júlio.
> > 
> 
> _______________________________________________
> daisy community mailing list
> Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
> mail to: daisy at lists.cocoondev.org
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy



More information about the daisy mailing list