[opencms-dev] Question about static publishing

Nimret Sandhu nimret.sandhu at allstardirectories.com
Thu May 27 20:49:18 CEST 2010


Hi Mathias,

Thanks for your reply.

> you cannot just remove the bar folder in opencms already and move the
content 
> up one level?

No. We want to maintain a different folder structure in OpenCMS which
makes more sense for our editorial team and a different folder structure
upon publish which is more geared towards the web application, SEO, etc.

> Or what's the current purpose of bar in opencms.

It's used to segregate content and make it easy for our editorial team
to work with it.

I guess I basically want to know whether we can maintain one folder
structure with OpenCMS which makes more sense for our editorial team and
another for our deployment after publishing without having to customize
anything post publish.

Thanks!
Nimret




Nimret Sandhu <nimret.sandhu at allstardirectories.com> wrote:
>Hi Folks,
>
>I have a question about static publishing.
>We currently have a folder structure like this in OpenCMS:
>
>/sites/default
>		/foo
>			/bar
>				/file1.html
>				/file2.html
>				/file3.html
>
>We're using on-demand static publishing via a custom publishing 
>mechanism ( via the handle404 servlet, which I have yet to understand 
>fully and will be the topic of another email :). So the real file 
>system contains the above structure after publishing.
>
>However, we would like to set it up so that the publishing process 
>removes the '/bar' folder and we end up with the following on the real 
>file system:
>..../foo/file1.html
>..../foo/file2.html
>..../foo/file3.html
>
>The internal url links within the html files will also need to be 
>updated to reflect the removal of the '/bar' folder.
>
>Is this something that can be easily done in OpenCMS, ideally with 
>minimal customizations?
>
>If so, what level of control does it allow? ie can we only remove 
>existing folders or completely control the output folder structure and 
>update the links in the content appropriately?
>
>Thanks!
>--
>Nimret
>Senior Developer
>http://www.allstardirectories.com



More information about the opencms-dev mailing list