[opencms-dev] Static export again (6.0a2)

Ekkehard Kraemer ekraemer at pluto.camelot.de
Sat Dec 4 01:05:49 CET 2004


Hello,

how do you get static export to actually export the whole site in 6.0a2?

Can someone post the steps to get the templateone or any of the other examples shipped with 6.0a2 as static files?

After a clean install on Tomcat 4, MySQL 4.0, I have tried the following:

1. Edit opencms-importexport.xml and set the correct port (8081) in the export URL:
	<exporturl>http://127.0.0.1:8081${CONTEXT_NAME}/handle404</exporturl>
2. /sites/default/demopages => Properties => Advanced
	=> export = static
	=> exportname = demoxyz
3. Publish project
4. Administration => Static Export => Ok

Then the export runs like this:

Starting static export ...
Export Non-Template Resources...
(1 / 28) Exporting /sites/default/demopages/search-demo/excelsheet.xls ... ignored
(2 / 28) Exporting /sites/default/demopages/search-demo/OpenCms6_Alkacon_Business.pdf ... ignored
(3 / 28) Exporting /sites/default/demopages/search-demo/TN_0027_OpenCms_Workplace_structure.pdf ... ignored
(4 / 28) Exporting /sites/default/demopages/search-demo/wordtestdocument.doc ... ignored
(5 / 28) Exporting /sites/default/xmlcontent/article.xsd ... o.k.
.
.
.
(28 / 28) Exporting /system/shared/page.dtd ... o.k.
... Export Non-Template Resources completed.
Export Template Resources...
(1 / 49) Exporting /templateone/resources/style_accessible.css ... 404
(2 / 49) Exporting /templateone/resources/style.css ... 404
(3 / 49) Exporting /sites/default/xmlcontent/subfolder/subtree_side.html ... 404
.
.
.
(49 / 49) Exporting /sites/default/demopages/colordemo/index.html ... 404
... Export Template Resources completed.
Statistics: duration: 00:00:08
... the static export is finished

The static pages are present in the static export directory, the HTML pages are not.

It almost looks like static export of dynamic pages isn't implemented yet - "handle404" looks like it *intended* to return the 404 error code.

I have browsed the archives and surfed the net - to no avail. Any help would be appreciated.

TIA, Ekkehard



More information about the opencms-dev mailing list