[daisy] importing and publishing static (x)html pages

Karel Vervaeke karel at outerthought.org
Tue Jun 10 12:16:36 CEST 2008


On Tue, 2008-06-10 at 02:07 -0700, Florian Rheindorf wrote:
> Hi,
> 
> we try to get used with daisy and its concepts and have some questions.
> 
> We would like to have a scheduler, that from time to time imports some date
> into the CMS.
> Could that be done using the import function?

The import tool can be used, but you would need to massage your data
into the format used by the import tool.

An alternative approach would be to use the API to create documents and
populate them.  This assumes the process responsible of creating the
documents knows how to obtain the data and store it in documents.

You should also have a look at the sync tool (in the source code under
applications/sync).

Both approaches have their value - much depends on specifics of your
situation. (Are you importing existing HTML pages? -> make sure they
still look ok after cleaning. How much data are you expecting
(#documents?, #bytes?).  Will the tool also be responsible of updating
data previously imported? ...)


> 
> Additionally, we would like to export static (X)HTML onto a named drive.
> This should also be triggered by a scheduler. 
> A static publishing function will be developed in the future, according to
> daisy wiki. But maybe there is already a way to publish static html-pages
> (without using wget or forrestbot).

I don't have experience with forrestbot, but from the short description
above, I would say wget is your friend.

> 
> Thanks for you help in advance!
> Florian
> 


More information about the daisy mailing list