[daisy] Create new site from wiki interface

Parisi, Lou Lou.Parisi at photomask.com
Tue Sep 11 06:11:02 CDT 2007


I am working on a proof of concept for a project management CMS using
daisy.  When a new project is started, I have a defined set of documents
I want to populate into a new site.  I have been able to generate the
documents in an existing site but now I want to create a project
management site where one of the tasks that can be performed is to
create a new site with the populated blank documents using a form to
collect the information necessary to create the site.  I have been
working on this and am using the repository manager to create a new
collection and this works but the collection is not visible in the daisy
home site list.  I have also looked at the code for
org.outerj.daisy.install.DaisyWikiAddSite.  It seems the main difference
between what DaisyWikiAddSite code does and what I am doing is to create
the site directory and add the siteconf.xml to the directory.

 

I am still new to Daisy and have a few questions about this.

 

Question 1: It seems there is a distinction between a collection and a
site.  It appears the difference is that a site has a site directory but
a collection does not.  Is this correct?  If so, how is a collection
used if it is not a site?

 

Question 2: Is it possible to create a full-fledged site using
javascript through the wiki front-end or does this have to be done by an
external script calling a java class?  If it can't be done through
javascript through daisy, is it possible to accomplish the same thing by
creating a Servlet that the form called to write to the filesystem or
possibly an applet embedded in a document?

 

Thanks in advance for any help and insight you can provide.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cocoondev.org/pipermail/daisy/attachments/20070910/2f352133/attachment.htm


More information about the daisy mailing list