[daisy] LinksFrom Navigation document

Bruno Dumon bruno at outerthought.org
Mon Sep 4 11:31:41 CDT 2006


On Mon, 2006-09-04 at 11:36 +0200, Victor Oomens wrote:
> Hi Bruno,
> 
> Ok, thanks.
> 
> Can you recommend me on the following: I would like to create a document
> task to add documents from a TOC with queries to another collection. The
> only thing I can come up with is a solution in javascript, which accesses
> the repository, iterates over a navigation document and adds each document
> to the assigned collection. I'm using Daisy 1.4.1.

With Daisy 1.5, it is possible to start a document task from the content
of the document basket, and it is possible to add documents to the
document basket by selecting them from the navigation tree (the
interface is still somewhat primitive as you have to mark them
one-by-one).

Otherwise, you can still use document tasks, you just have to come up
with the list of documents to process, in the correct syntax so that you
can copy-paste them in the document-list-textarea of the document task
wizard. This list could be generated by a javascript, or a possibly
easier alternative is to request the expanded navigation tree through
the HTTP API (can simply be done by entering the correct URL in your
browser) and transform it with XSLT to the required format.

HTH

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org                          bruno at apache.org



More information about the daisy mailing list