<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16850" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=138332511-16062009><FONT face=Arial
color=#0000ff size=2>Hi Christian</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=138332511-16062009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=138332511-16062009><FONT face=Arial
color=#0000ff size=2>We used httrack to create the offline version. I had to get
it done that day, so I didn't have time to figure out the static export by trial
and error. When I have some time to spare, I'll have a go at it and see if it
works.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=138332511-16062009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=138332511-16062009><FONT face=Arial
color=#0000ff size=2>Anyway, thanks for your reply. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=138332511-16062009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=138332511-16062009><FONT face=Arial
color=#0000ff size=2>Cheers,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=138332511-16062009><FONT face=Arial
color=#0000ff size=2>Paul</FONT></SPAN></DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> opencms-dev-bounces@opencms.org
[mailto:opencms-dev-bounces@opencms.org] <B>On Behalf Of </B>Christian
Steinert<BR><B>Sent:</B> 13. juni 2009 12:36<BR><B>To:</B> The OpenCms mailing
list<BR><B>Subject:</B> Re: [opencms-dev] Create a static offline copy of a
site<BR></FONT><BR></DIV>
<DIV></DIV>Paul-Inge Flakstad ha scritto:
<BLOCKQUOTE cite=mid:4D405B4872E4E54A95966E6CF909E7F302BE358B97@anton
type="cite"><PRE wrap="">Hi List
We need to create a static, offline version for one of our sites, that will make the content available to users without an internet connection. These static files will be stored on a CD or some other media, and browsed from there. I was thinking of using specific software for the job, but...isn't this just the same as doing a static export in OpenCms..? I have never done a "manual" export in OpenCms, so if anyone can answer this (and maybe provide some pointers on how to do it - this has to be done today) I would appreciate it.
</PRE></BLOCKQUOTE>Hi <BR><BR>static export should be usable for this, if
you configure it in such a way that it creates relative links instead of
absolute links.<BR>However, a while ago (read: early opencms 6) I had trouble
with relative links and at that point I switched my static export to use
absolute links instead. I have not tried to export with relative links at a
later time. Static export is configured in opencms-importexport.xml. The
opencms wiki should also have have a bit of information on static
export.<BR><BR>One limitation of static export is, that it of course exports
the complete web site. If you want to make the main site downloadable but
don't want to include large media resources then this might be a problem. For
creating a working partial copy of a site, an external download program might
be the better choice then. A program that I can recommend is httrack, which
exists for both *nix and Windows.<BR><BR>So, If you want an offline version of
a complete site, I think static export with relative links configured is worth
a try. If you want something more complicated, try out httrack and automate it
through a job or something like that.<BR><BR>hth<BR>Christian<BR><BR>
<BLOCKQUOTE cite=mid:4D405B4872E4E54A95966E6CF909E7F302BE358B97@anton
type="cite"><PRE wrap="">Cheers,
Paul
</PRE><PRE wrap=""><HR width="90%" SIZE=4>
_______________________________________________
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
<A class=moz-txt-link-freetext href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</A></PRE></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML>