Generates a ZIP file containing a static view of a web.
When TWiki generates a view, it does so dynamically i.e. there's a CGI script that runs, processes some files, and generates HTML that is displayed by the browser. There are circumstances in which this may not be desirable or even possible. For example:
PublishAddOn provides support for the generation of stand-alone HTML from a TWiki web. It will generate a zip file containing rendered versions of a set of TWiki pages together with any attached files.
WARNING The zip files can get pretty big, and the process itself puts a heavy load on the server for large webs.
The easiest way to publish a web is from this topic, by filling in the following form.
The ZIP file is generated in a directory designated during installation. The progress messages printed during documentation generation tell you where this is.
Ypu can also create a permanent topic in a web to help with the publishing process. See below.
String | What it does | Example | What the example matches |
---|---|---|---|
* | Matches any string, including the null string. | *Cheese* | Every topic with "Cheese" somewhere in the name (but not "cheese") |
? | Matches any single character. | Example1? | Example10 and Example 1X but not example1 |
[...] | Matches any one of the enclosed characters. A pair of characters separated by a hyphen denotes a range expression; any character that sorts between those two characters, inclusive, using the current locale's collating sequence and character set, is matched. If the first character following the [ is a ^ then any character not enclosed is matched. A - may be matched by including it as the first or last character in the set. A ] may be matched by including it as the first character in the set. Within [ and ], character classes can be specified using the syntax [:class:], where class is one of the following classes defined in the POSIX.2 standard: alnum , alpha , ascii , blank , cntrl , digit , graph , lower , print , punct , space , upper , word , xdigit . A character class matches any character belonging to that class. The word character class matches letters, digits, and the character _. | B[aeiou]g | Bag, Bog, Big, Beg, Bug |
File: | Description: |
---|---|
bin/publish | |
data/TWiki/PublishAddOn.txt | |
data/TWiki/PublishWeb.txt | |
lib/TWiki/Contrib/Publish.pm | |
lib/TWiki/Contrib/PublishAddOn/build.pl | |
PublishAddOn_installer.pl | Install script |
PublishAddOn.zip
in your twiki installation directory.
perl
PublishAddOn_installer.pl
to automatically check and install other TWiki modules that this module depends on, and configure the plugin. This script also includes an uninstaller should you ever wish to remove the plugin from your installation.
Name | Version | Description |
---|---|---|
Archive::Zip | >=1.05 | Required, available from the CPAN:Archive::Zip archive |
Compress::Zlib | >=1.16 | Required, available from the CPAN:Compress::Zlib archive |
Author: | EricScouten? | |||||||||
Dependencies: |
| |||||||||
Version: | 1.301 | |||||||||
Change History: | ||||||||||
27 Apr 2005 | 1.301 Crawford Currie - fixed minor issues highlighted by Bruce Dillahunty and Scott Claridge | |||||||||
11 Apr 2005 | 1.3 Crawford Currie - reworked the interface and code to work better | |||||||||
13 October 2004 | 1.200 Crawford Currie - Cairo compatible | |||||||||
7 Jan 2003 | 1.1 Initial version | |||||||||
Home: | TWiki:Plugins/PublishAddOn | |||||||||
Feedback: | TWiki:Plugins/PublishAddOnDev |
Related Topics: TWikiPreferences, TWikiPlugins
Further modifications were made by Eric Scouten and are copyright © 2002-2003, Eric Scouten.
The Cairo compatible version is Copyright © 2004 Crawford Currie http://c-dot.co.uk
The 2005 functionality improvements were made possible by the support of Wind River Systems (http://www.windriver.com)
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details, published at http://www.gnu.org/copyleft/gpl.html
-- TWiki:Main/EricScouten
-- TWiki:Main/CrawfordCurrie - 16:42:01 28 April 2005
Topic PublishAddOn . { Edit | Attach | Ref-By | Printable | Diffs | r1.1 | More } |
|
Copyright © 1999-2003 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors.
|
This website has been archived and is no longer maintained.