[opencms-dev] Custom export of static content
bessette
Bessette at pokemon-seattle.com
Thu May 3 23:35:02 CEST 2007
My initial goal with OpenCms was to create/edit the content within the cms,
but export the final pages (html mostly) and host them on a different
server. There's a lot of threads here that talk about exporting and
different stage servers, but I didn't see anything that had a definitive way
to customize the export process for yourself. We have another requirement
that we need to post-process the files, ie change some links, etc., because
we wanted the structure in the cms to be easier to manager. For example,
instead of a ton of files in the root directory, we have a folder called
"root" that won't actually be deployed to the production server.
I've successfully hooked into the publishing process, using the module
action hook. But every place in the code that handle static exporting uses
a ServletRequest and ServletResponse. I'm not sure how I can get those
objects from within the Action.
I welcome any suggestions on how to meet these goals, questions on what I
mean, etc.
Thanks,
Eric
--
View this message in context: http://www.nabble.com/Custom-export-of-static-content-tf3689070.html#a10313584
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
More information about the opencms-dev
mailing list