This is a template topic for use with PublishContrib. It illustrates how to set up a topic in a web to simplify publishing.

To use it, take a copy of the raw text of this topic, and paste it into a new topic in your own web.

Publish topics from the TWiki web

  • Name of the URL and folder space inside $TWiki::cfg{PublishContrib}{Dir} and $TWiki::cfg{PublishContrib}{URL}. e.g. test, prod. Defaults to '', so publishes to the top of those.
  • Name of a topic that contains a table that maps topic names to version numbers. This topic can be used to publish specific versions of listed topics.
  • Comma-separated list of wildcard patterns that match the names of topics to include
  • Comma-separated list of wildcard patterns that match the names of topics to exclude
    • Set PUBLISH_EXCLUSIONS = Web*,Publish*
  • A regular expression that will cause a topic to be excluded if the RE matches the topic content
  • Skin for published HTML
    • Set PUBLISH_SKIN = text
  • Comma-separated list of templates to use (defaults to view). Output will be generated for each template in this list (e.g. view,print). Note that VIEW_TEMPLATE will still override the template if it is set in specific topics (See TWikiTemplates).
    • Set PUBLISH_TEMPLATES = view
  • Format to publish in (file, pdf, tgz, zip)
    • Set PUBLISH_FORMAT = file
  • If set, additional options that will be passed to the output generator
  • Name of the publish history topic to us. Default is PublishContribHistory
Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2012-11-22 - unknown
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    TWiki All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback
Note: Please contribute updates to this topic on at TWiki:TWiki.PublishWeb