<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word"><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Nachricht</TITLE>
<META content=Word.Document name=ProgId>
<META content="MSHTML 6.00.2800.1126" name=GENERATOR>
<META content="Microsoft Word 10" name=Originator><LINK
href="cid:filelist.xml@01C3207C.050B0E30" rel=File-List><!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:HyphenationZone>21</w:HyphenationZone>
<w:EnvelopeVis/>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]-->
<STYLE>@font-face {
font-family: Wingdings;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 70.85pt 70.85pt 2.0cm 70.85pt; mso-header-margin: 35.4pt; mso-footer-margin: 35.4pt; mso-paper-source: 0; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"; mso-ansi-language: EN-GB
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"; mso-ansi-language: EN-GB
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"; mso-ansi-language: EN-GB
}
A:link {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline; text-underline: single
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline; text-underline: single
}
SPAN.EmailFormatvorlage17 {
COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose; mso-style-noshow: yes; mso-ansi-font-size: 10.0pt; mso-bidi-font-size: 10.0pt; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-bidi-font-family: Arial
}
SPAN.SpellE {
mso-style-name: ""; mso-spl-e: yes
}
SPAN.GramE {
mso-style-name: ""; mso-gram-e: yes
}
DIV.Section1 {
page: Section1
}
</STYLE>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Normale Tabelle";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]--></HEAD>
<BODY lang=DE style="tab-interval: 35.4pt" vLink=purple link=blue>
<DIV><SPAN class=860220814-22052003><FONT face=Arial color=#0000ff size=2>Mark,
</FONT></SPAN></DIV>
<DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><SPAN
class=860220814-22052003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN></FONT></FONT></FONT> </DIV>
<DIV><SPAN class=860220814-22052003><FONT color=#0000ff><FONT face=Arial><FONT
size=2>the "<FONT color=#000000><SPAN class=SpellE><FONT
color=#0000ff>relativeroot" property feature is currently experimental. It
intended for the link replacement engine rather then the static export.</FONT>
</SPAN></FONT></FONT></FONT></FONT></SPAN></DIV>
<DIV><FONT face=Arial><FONT size=2><FONT color=#0000ff><SPAN
class=860220814-22052003><FONT face=Arial color=#0000ff size=2><FONT
color=#000000><SPAN
class=SpellE></SPAN></FONT></FONT></SPAN></FONT></FONT></FONT> </DIV>
<DIV><SPAN class=860220814-22052003><FONT><FONT face=Arial color=#0000ff
size=2><SPAN class=SpellE>The use case scenario is difficult to describe, but
will try:</SPAN></FONT></FONT></SPAN></DIV>
<UL>
<LI><SPAN class=860220814-22052003><FONT><FONT face=Arial color=#0000ff
size=2><SPAN class=SpellE>Image two folders, /one/ and
/two/.</SPAN></FONT></FONT></SPAN></LI>
<LI><SPAN class=860220814-22052003><FONT><FONT face=Arial color=#0000ff
size=2><SPAN class=SpellE>Now image have some page files /one/a.html and
/one/b.html.</SPAN></FONT></FONT></SPAN></LI>
<LI><SPAN class=860220814-22052003><FONT><FONT face=Arial color=#0000ff
size=2><SPAN class=SpellE>Then create VFS links from /two/a.html to
/one/a.html and from /two/b.html to /one/b.html so that you have the content
of these pages in one place and re-use it in another
place.</SPAN></FONT></FONT></SPAN></LI>
<LI><SPAN class=860220814-22052003><FONT color=#0000ff><FONT face=Arial
color=#000000 size=2><SPAN class=SpellE><FONT color=#0000ff>Problems are
caused e.g. by http links in the editable content of /one/a.html to
/one/b.html. The OpenCms link replacement engine will always make these linke
"absolute". Normally, in HTML code of a.html you would write <a
href="b.html">..</a> to link form a to b, but this is replaced with
the absolute path /one/b.html by the engine. No Problem in the /one/
folder, but in the /two/ folder the linked page a.html will link to
/one/a.html and not to /two/b.html which is usually not what you want.</FONT>
</SPAN></FONT></FONT></SPAN></LI>
<LI><SPAN class=860220814-22052003><FONT color=#0000ff><FONT face=Arial
color=#000000 size=2><SPAN class=SpellE><FONT color=#0000ff>'Using
the "relativeroot" property set on the /one/ folder you can tell the link
replacer to make all links relative, e.g. if you set relativeroot to "/one"
this prefix will be removed in the http links, in which case the linked pages
in folder "/two" will work as expected.</FONT>
</SPAN></FONT></FONT></SPAN></LI></UL>
<DIV><SPAN class=860220814-22052003><FONT><FONT face=Arial color=#0000ff
size=2><SPAN class=SpellE>Hey I told you it is difficult to describe...
and a</SPAN></FONT></FONT></SPAN><SPAN class=860220814-22052003><FONT><FONT
face=Arial color=#0000ff size=2><SPAN class=SpellE>gain, this feature is
exerimental.</SPAN></FONT></FONT></SPAN><SPAN
class=860220814-22052003><FONT><FONT face=Arial color=#0000ff size=2><SPAN
class=SpellE><BR><FONT size=2></FONT></SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=860220814-22052003><FONT><FONT face=Arial color=#0000ff
size=2><SPAN class=SpellE><FONT size=2>Best Regards,<BR>Alex.<BR><BR>Alexander
Kandzior<BR>Alkacon Software - The OpenCms Experts<BR><A
href="http://www.alkacon.com/">http://www.alkacon.com</A></FONT>
</DIV></SPAN></FONT></FONT></SPAN>
<DIV><SPAN class=860220814-22052003><FONT face=Arial color=#0000ff size=2><FONT
color=#000000><SPAN class=SpellE></SPAN></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=860220814-22052003><FONT face=Arial color=#0000ff size=2><FONT
color=#000000><SPAN class=SpellE></SPAN></FONT></FONT></SPAN> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=de dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
opencms-dev-admin@opencms.org [mailto:opencms-dev-admin@opencms.org] <B>On
Behalf Of </B>Mark Miller<BR><B>Sent:</B> Thursday, May 22, 2003 4:06
PM<BR><B>To:</B> OpenCMS Mailing List<BR><B>Subject:</B> [opencms-dev] The
relativeroot property<BR><BR></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hello
there,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">My first <SPAN class=GramE>post to
this list so a little shy</SPAN> </SPAN></FONT><FONT face=Wingdings
size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Wingdings; mso-ascii-font-family: Arial; mso-hansi-font-family: Arial; mso-bidi-font-family: Arial; mso-char-type: symbol; mso-symbol-font-family: Wingdings"><SPAN
style="mso-char-type: symbol; mso-symbol-font-family: Wingdings">J</SPAN></SPAN></FONT><FONT
face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Can anyone let me know how the
<SPAN class=SpellE>relativeroot</SPAN> property works …<SPAN
class=GramE>.</SPAN> I have tried, but to no avail, to implement
it.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have a project with the
following exported structures<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">/system/modules/MYMOD/resources/<SPAN
class=SpellE>css</SPAN><SPAN
style="mso-spacerun: yes">
</SPAN>-> exported to /www/resources/<SPAN
class=SpellE>css</SPAN><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">/system/modules/MYMOD/resources/images<SPAN
style="mso-spacerun: yes">
</SPAN>-> exported to /www/resources/images<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><SPAN class=GramE><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">and</SPAN></FONT></SPAN><FONT
face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">/www/ (html content files)<SPAN
style="mso-spacerun: yes">
</SPAN>-> exported to /www/<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><SPAN class=GramE><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">all</SPAN></FONT></SPAN><FONT
face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> are statically exported to a
/www/ directory. I want to set the relative root to /www/ so that all links
will start off with /www/ being the root<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><SPAN class=SpellE><SPAN class=GramE><FONT face=Arial
size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">ie</SPAN></FONT></SPAN></SPAN><FONT
face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">. A html content file should
reference an image in resources/images/ and NOT in
/www/resources/images/<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">This way I can then copy the
contents of the www folder directly to my web
server.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Or am I thinking about this in the
wrong <SPAN class=GramE>way ????</SPAN><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Many thanks in
advance,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Mark<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">PS. I am very new to CMS in
general … so sorry if a silly
question<o:p></o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>