[Lenyacms-dev] Static File Exporter improved
Michael Wechner <[email protected]> Thu, 17 Apr 2003 18:18:40 +0200
| Newsgroups | gmane.comp.cms.wyona.devel |
|---|---|
| Message-ID | <[email protected]> |
Dear List I have slightly improved the export of static files during publishing. You can now specify absolute paths within the "publication.xconf", which means you can now easily export your pages from "dynamic" Lenya into a "static" Apache Webserver, without having it waiting in the queue. This makes sense if you have Lenya and an Apache on the same machine deployed. The latter (with the queue) is of course still possible, which makes sense if you have Lenya (authoring) and the production (live) server on different machines deployed, such as for instance within a load-balanced environment, where network connections can be turned on and off. I also moved the syntax of the export config into the direction of String().replaceAll(regexp,replacement) and away from the sed string, which means you might have to update your publication.xconf: <substitution regexp="/lenya/oscom" replacement=""/> instead of <substitution regexp="s/\/lenya\/oscom//g"/> Thanks Michael