Tags:
create new tag
view all tags

SID-01576: Export a web to static HTML

Status: Answered Answered TWiki version: 5.1.1 Perl version: 5.8
Category: CategoryPlugins Server OS: RH7 Last update: 13 years ago

The PublishContrib is no longer maintained and PublishWebPlugin is now suggested to save static html,

but what is the recommeneded method of exporting an entire web with topics and attachments as static html in a tar or zip file?

Ideally we would like to run a script by cron it occassionaly produce a static version of a web

thanks in advance for suggestions

-- PeterJones - 2012-11-02

Discussion and Answer

I recommend to:

  • Install and configure the PublishWebPlugin
  • Manually publish the pages of that web once (after that, html pages are updated on each topic save)
  • Install a cron to zip the html root directory

-- PeterThoeny - 2012-11-02

Thanks for the feedback. Nearly there but it is not clear how to make the initial publish of all current pages. The doc says to include

%PUBLISHWEB{"publish" topic="Name"}%

What does this mean though , do I have to include the in just the preferences or in one topic? Then what needs to be viewed in order to create the html ?

-- PeterJones - 2012-11-05

Copy the WebPublish topic (located in the distribution) to your publish web, go to that topic, select "all" to publish all. For convenience add a link to this topic in the top-menu.

-- PeterThoeny - 2012-11-05

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Answered
Title Export a web to static HTML
SupportCategory CategoryPlugins
TWiki version 5.1.1
Server OS RH7
Web server apache
Perl version 5.8
Browser & version IE9, FF
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2012-11-05 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.