<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Fabian,<br>
<br>
ok now I am a bit confused, seems I still have to learn a lot
about OpenCMS haha. I will try to answer: <br>
<br>
<script type="text/javascript"
src="/pathTo/commonStuff/configuration/js/javascriptfile3.js"></script>
<br>
<br>
This is indeed the form which appears in the online version. In
the offline there is an additional prefix in front:<br>
<br>
<script type="text/javascript"
src="/aPrefix/pathTo/commonStuff/configuration/js/javascriptfile3.js"></script>
<br>
<br>
<br>
>then the template makes no use of the static export feature.<br>
<br>
How do you see this? Ok, we have no "export" in the URL. But is
"export" the unique sign for static exports?<br>
<br>
<br>
<script type="text/javascript"
src="<cms:link>/pathTo/commonStuff/configuration/js/javascriptfile3.js</cms:link>"></script>
<br>
<br>
This is exactly the form we use in our templates.<br>
<br>
> Can you further post how a link to another OpenCms hosted
page is generated.<br>
<br>
Not sure if I got you right here. We have an Util-class which
converts OpenCmsVfsFile-values into a link in OpenCMS which can be
used with a simple <a/> tag. Is that what you mean?<br>
<br>
Thanks&Regards,<br>
Gerhard<br>
<br>
<br>
Am 03.09.2014 11:55, schrieb <a class="moz-txt-link-abbreviated" href="mailto:fhsubscriptions@componio.net">fhsubscriptions@componio.net</a>:<br>
</div>
<blockquote cite="mid:5406E582.9010900@componio.net" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Hi Gerhard,<br>
<br>
let me clarify :-)<br>
<br>
<script type="text/javascript"
src="/../../configuration/js/javascriptfile3.js"></script>
<br>
<br>
If this is the link in the online generated HTML then the
template makes no use of the static export feature.<br>
However if this is the link generated while in the offline
project it still is not a typical OpenCms link thus I guess that
your template does not look like this:<br>
<br>
<script type="text/javascript"
src="<cms:link>/path/to/the/proper/directory/configuration/js/javascriptfile3.js</cms:link>"></script>
<br>
<br>
And again: <br>
<br>
Can you further post how a link to another OpenCms hosted page
is generated.<u><br>
</u><br>
<br>
\Fabian<br>
<br>
<br>
Am 03.09.2014 11:31, schrieb Gerhard:<br>
</div>
<blockquote cite="mid:5406E00A.6070508@archeron.de" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Hi Fabian,<br>
<br>
yes this is the browser generated HTML, the template code is
below that ;-)<br>
<br>
Cheers,<br>
Gerhard<br>
<br>
Am 03.09.2014 11:29, schrieb <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:fhsubscriptions@componio.net">fhsubscriptions@componio.net</a>:<br>
</div>
<blockquote cite="mid:5406DF7D.9000608@componio.net" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Hi Gerhard,<br>
<br>
Am 03.09.2014 11:17, schrieb Gerhard:<br>
</div>
<blockquote cite="mid:5406DCB4.3060207@archeron.de"
type="cite"><script type="text/javascript"
src="/../../configuration/js/javascriptfile3.js"></script>
<br>
</blockquote>
This is not a typical OpenCms link. Do you make use of the
<cms:link /> tag?<br>
Can you further post how a link to another OpenCms hosted page
looks like?<u><br>
<br>
</u>Thanks,<br>
<br>
\Fabian<br>
<u><br>
</u><u><br>
</u>
<blockquote cite="mid:5406DCB4.3060207@archeron.de"
type="cite"><u></head> </u><u><br>
</u><u> </u><u><br>
</u><u>We include all static files like pictures, CSS,
JavaScript-files like this: </u><u><br>
</u><u> </u><u><br>
</u><u><div class="icon"> </u><u><br>
</u><u> <img
src="<cms:link>/common/../../picture.png</cms:link>">
</u><u><br>
</u><u></div> </u><u><br>
</u><u> </u><u><br>
</u><u>Files which are specified as content when editing in
OpenCMS are accessed via the I_CmsXmlDocument Interface
but I am not sure if you meant that too. </u><u><br>
</u><u> </u><u><br>
</u><u>I am not sure what exactly gets statically exported.
I read about static export "on demand" and I guess this is
the mechanism used because we never do a manual static
export in the administration panel. </u><u><br>
</u><u> </u><u><br>
</u><u>Concerning that Nginx our service provider said that
it is only proxying but doesn't cache anything. </u><u><br>
</u><u> </u><u><br>
</u><u>Thanks&Regards, </u><u><br>
</u><u>Gerhard </u><u><br>
</u><u> </u><u><br>
</u><u>Am 03.09.2014 10:20, schrieb Schliemann, Kai: </u><u><br>
</u>
<blockquote type="cite"><u>Hi Gerhard, </u><u><br>
</u><u>from inside OpenCms you can only influence, if
files/folders should be statically exported or not. This
is what Fabian already described. </u><u><br>
</u><u>Is it possible for you to send a part of the
browser generated html source? </u><u><br>
</u><u>The <head> section with the css / js files
would be interesting. And a part of the source, where an
image, a download file and an OpenCms internal link (to
another page in OpenCms) is contained. You could change
the file names, if you do not want to name them here. I
am only interested in the path and if the files are
statically exported or not. </u><u><br>
</u> <u><br>
</u><u>One other thing. Is it possible, that Nginx is
working as a proxy server and thus caching the mentioned
files? </u><u><br>
</u> <u><br>
</u><u>Best regards </u><u><br>
</u><u>Kai </u><u><br>
</u> <u><br>
</u><u>-----Ursprüngliche Nachricht----- </u><u><br>
</u><u>Von: <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a>
[<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="mailto:opencms-dev-bounces@opencms.org">mailto:opencms-dev-bounces@opencms.org</a>]
Im Auftrag von Gerhard </u><u><br>
</u><u>Gesendet: Mittwoch, 3. September 2014 09:53 </u><u><br>
</u><u>An: The OpenCms mailing list </u><u><br>
</u><u>Betreff: Re: [opencms-dev] Publishing problems </u><u><br>
</u> <u><br>
</u><u>Hi Fabian, </u><u><br>
</u> <u><br>
</u><u>ok to get some more light in the dark (for me :-):
Is there a possibility to influence the static export
mechanism directly within OpenCMS? I mean is there a
place where I can plug in my own code for the static
export? </u><u><br>
</u> <u><br>
</u><u>Thanks, </u><u><br>
</u><u>Gerhard </u><u><br>
</u> <br>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<br>
</body>
</html>