[daisy] LinksFrom Navigation document

Victor Oomens victor at oomens-ict.nl
Mon Sep 4 04:36:53 CDT 2006


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.

Victor.

-----Oorspronkelijk bericht-----
Van: daisy-bounces at lists.cocoondev.org
[mailto:daisy-bounces at lists.cocoondev.org] Namens Bruno Dumon
Verzonden: woensdag 30 augustus 2006 10:21
Aan: Daisy: open source CMS - general mailinglist
Onderwerp: Re: [daisy] LinksFrom Navigation document

On Tue, 2006-08-29 at 13:14 +0200, Victor Oomens wrote:
> Hi,
> 
>  
> 
> For a document task I would like to get a list of documents which are
> the result of a Navigation document. I?ve tried using the LinksFrom
> function, but this doesn?t seem to work on a Navigation document. Is
> there another solution?
> 

Link extraction should also work for navigation documents (and also for
book definitions). You could check if the navigation document is listed
with the referers of the documents that are included in the navigation.

This hasn't always been the case, but it's already in there for a long
time, IIRC at least version 1.3 or possibly earlier.

If you're using Daisy 1.4 or 1.5, you could verify in the admin screen
for the "NavigationDescription" part that the "Link extractor" is set to
navigation.
BTW, this only works for documents linked from the navigation, documents
included by a query in the navigation are of course not handled by the
link extraction. 

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

_______________________________________________
daisy community mailing list
Professional Daisy support:
http://outerthought.org/site/services/daisy/daisysupport.html
mail to: daisy at lists.cocoondev.org
list information: http://lists.cocoondev.org/mailman/listinfo/daisy



More information about the daisy mailing list