Export site content as HTML pages

Export site content as HTML pages

Monday 02 October 2006 7:07:27 pm - 3 replies

Author Message

Ɓukasz Serwatka

Monday 02 October 2006 11:15:44 pm

Hi,

In case where you only need export content, then you can use tools like httrack or wget which spidering your site and saves output as static html pages.

If you thinking about rising performance, then using static cache on your page will help/

Detailed instructions about static cache configuration:
http://ez.no/download/ez_publish/changelogs/ez_publish_3_6/new_features/static_caching_of_content

See also this forum topic:
http://ez.no/community/forum/developer/static_cache_some_user_report_tips

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

David Barber

Friday 03 November 2006 6:57:32 am

Two points on this:

First, why is there anything mentioned about export if there is no export feature? Does the page referenced need to be changed to reflect the actual situation on the ground?

Secord, a request: Has anybody made export with wget work? How did you do it? I've sucked our entire site down as flat html, but the goofy link style is killing me (since all the links have the full URL). This makes it totally unusable, as is, as a flat html site (to be used, for example, on a CD).

Has anyone got a search and replace script that works for this?

Thanks,
David

Marco Zinn

Friday 03 November 2006 7:48:04 am

Hi David,

eZpublish does have the abilty to create static HTML pages "on demand" as well as using a script (makestaticcache.php). See the links Lukasz provided. But if you want to use the created HTML pages to create a CD-Version, you will need FTP/shell access to your webserver and you will need to know, which directories are references by the HTML pages.

We are using HTTrack to create static pages of an eZpublish site. HTTrack is quite good at this and has a lot of options to tweak the spidering and creation of the site.
Things, that your "HTML-spider software" might have problems with:
- Inclusion of CSS-Files with the @import-syntax (you can change your pagelayout to use LINK-Tags instead)
- Inclusion of Image files with CSS-styles
- Inclusion of Files and Images in Javascript Code (like Mouseover-Images).

All of this depends on the "spidering" software and the complexity of you website design, but we are using HTTrack on an ez 3.8 site (with custom design) on a daily basis.

Marco
http://www.hyperroad-design.com

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.