[opencms-dev] links during static export

Chirouze Olivier olivier.chirouze at volvo.com
Tue Aug 5 16:33:33 CEST 2008


Hi Jehan,
 
I guess it has to do with changing <userelativelinks> from true to false
in that file indeed.

Also, you might not use the <cms:link> tag but just usual URLs in your
<a>, <img>, etc. I suspect you will loose some functionality but I think
you still get link validation on publish.
 
I think the static export is a very complicated subject and I have been
trying very hard these two last days :-(
I found the synchronization feature that is much more simple and faster.
The only pb so far is... it doesn't generate template files. Only
non-template files are usable once exported (because they are plain html
or img files...)
 
Olivier

Olivier CHIROUZE
I&0 Infrastructure 
Volvo Information Technology 

 


________________________________

	From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Jaleel, Jehan
	Sent: 01 August 2008 17:32
	To: opencms-dev at opencms.org
	Subject: [opencms-dev] links during static export
	
	

	Hi all,

	           When I export an HTML page out of opencms, I would
like to change the relative urls of all the links so that they are no
longer pointing to the VFS but rather they are pointing to resources in
my actual file system.

	 

	             Is there anyway to do this without using the
<cms:link> tag? 

	 

	             I suspect the solution has something to do with
tweaking the opencms-importexport.xml file. If someone can provide a
small sample of the xml I have to put that would be great.

	 

	Thanks in advance for any help,

	Jehan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080805/2f0bb265/attachment.htm>


More information about the opencms-dev mailing list