[opencms-dev] Question about static publishing
Schliemann, Kai
K.Schliemann at comundus.com
Wed May 26 08:43:28 CEST 2010
Hi Nimret,
have you tried setting the property "exportname" of the folder "bar" to "/foo/"?
This should remove "bar" (and all other parent folders including "/sites/default/") from all statically exported resources in folder "bar" and set "foo" as new root folder.
HTH
Regards
_________________________________________
Kai Schliemann
Senior IT-Berater
comundus GmbH
Schüttelgrabenring 3, D-71332 Waiblingen
Telefon +49 7151-50028-0
E-Mail k.schliemann at comundus.com
Internet www.comundus.com
Geschäftsführer Klaus Hillemeier
Amtsgericht Stuttgart, HRB 264290
comundus ist ein Unternehmen der IT EXCELLENCE Group
_________________________________________
Die Kundenzufriedenheit bei comundus wieder verbessert -
Durchschnittsnote jetzt 1,7.
-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Nimret Sandhu
Gesendet: Mittwoch, 26. Mai 2010 01:11
An: The OpenCms mailing list
Betreff: [opencms-dev] Question about static publishing
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
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list