[daisy] importing and publishing static (x)html pages
Olivier Lange
wire at petit-atelier.ch
Tue Jun 10 12:07:05 CEST 2008
Hi Florian,
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?
I didn't understand what you would like to import, yet if you'd like to display content from another web service, you could also fetch it with a Daisy/Cocoon extension, eventualy cleaning it and then transforming it with XSLT.
There may be many other ways to do what you want, this is just one I've been trying with success, grabing content from XHTML pages and styling them on the fly. If you'd like, I can provide you with some code to get you started.
> 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).
Here also, there are many solutions. I am currently doing this with an Ant script, that grabs the content with 'wget', fixes the links and the pushes the fixed content to another server via FTP. The Ant script is triggered by the cron service on the server running the Daisy instances.
HTH, regards,
Olivier
--
Le Petit Atelier de Génie logiciel
t. +41-21-6487665, m. +41-76-5166212, http://www.petit-atelier.ch/
More information about the daisy
mailing list