Dear Wiki user, You have subscribed to a wiki page or wiki category on "Lenya Wiki" for change notification.
The following page has been changed by StephenVarga: http://wiki.apache.org/lenya/HowToExportStaticHTML New page: ## Please edit system and help pages ONLY in the moinmaster wiki! For more ## information, please see MoinMaster:MoinPagesEditorGroup. ##master-page:Unknown-Page ##master-date:Unknown-Date ##acl MoinPagesEditorGroup:read,write,delete,revert All:read #format wiki #language en == Export Static HTML == {{{ To set up your publication for static html export: }}} In the file located at \pubs\*YOUR PUBLICATION*\config\tasks\tasks.xconf look for the commented out lines and uncomment. <!-- <task id="export" class="org.apache.lenya.cms.publishing.StaticHTMLExporter"> <parameter name="export-path" value="work/export/pending"/> <parameter name="substitute-regexp" value="/lenya/default/live/"/> <parameter name="substitute-replacement" value="/"/> <parameter name="my-server-port" value="1313"/> </task> --> To change the directory as to where the files are stored alter the line <parameter name="export-path" value="work/export/pending"/> change the value to the physical path that you want your static html to be value=âc:\somefolder\someotherfolder\etcâ the folders do not have to be created before you export your html, they will be dynamically generated. == You can also specify multiple places to store the static html: == In the file tasks.xconf <task id="publish"> : : : <task id="export" class="org.apache.lenya.cms.publishing.StaticHTMLExporter"> <parameter name="export-path" value="c:/somedirectory"/> <parameter name="substitute-regexp" value="/lenya/default/live/"/> - no idea as to what this does <parameter name="substitute-replacement" value="/"/> - no idea as to what this does <parameter name="my-server-port" value="1313"/> - no idea as to what this does </task> <task id="export-backup" class="org.apache.lenya.cms.publishing.StaticHTMLExporter"> <parameter name="export-path" value="c:/somedirectory-backup"/> <parameter name="substitute-regexp" value="/lenya/default/live/"/> - no idea as to what this does <parameter name="substitute-replacement" value="/"/> - no idea as to what this does <parameter name="my-server-port" value="1313"/> - no idea as to what this does </task> </task> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
