[daisy] Daisy Detachment - updates

tim_cranfield at goldenboat.net tim_cranfield at goldenboat.net
Wed Aug 2 20:58:12 CDT 2006


Recently I have been working on the following things:

1)Implementing the uploading of edited documents to a 
repository.

Reading some of the comments about daisy 2.0, I imagine you 
want the ability to upload to a different repository to which 
it was retrieved from. Actually at the moment I am not storing 
the repository a Document belongs to. You have to choose a 
repository to connect to before you can upload.

Although I have been using the 1.5 jars, I think the 
Detachment project will fit better with 2.0, as that will 
allow for the creation of Documents offline, and for 
transferral between repositories. It raises the issue of what 
namespace to use for a Document created by the Detachment 
program however.

2)Adding and editing CustomFields, Fields and Links. Regarding 
Fields - is there a set ID for each type - string, long etc ? 
If I add a new Field I need to know what ID to give it.

3)Automatically including image Documents with a Document 
chosen for downloading. This is done with Bruno's code for 
extracting image links:
http://lists.cocoondev.org/pipermail/daisy/2006-July/004572.html
The DaisyHtml part data is run through a SAX processor to get 
the img links.

Perhaps including images couold be optional.

4)Now I am considering how to change the DaisyHtml into normal 
Html that can be read by an editor. In particular:
-img src attributes have to be changed
-css link has to be inserted
-must be UTF-8 encoded 
(http://lists.cocoondev.org/pipermail/daisy/2006-June/004037.html)

My basic idea is to create a second html file which can be 
used for editing, through xsl, SAX or DOM.


More information about the daisy mailing list