Difference: PublishWeb (r3 vs. r2)

r3 - 12 May 2011 - 10:23 - AdminUser r2 - 12 Oct 2010 - 15:36 - AdminUser

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

This is a template topic for use with PublishPlugin. 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.

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

Publish topics from the System web

  

Each of the options below provides a value for a corresponding URL parameter. For example, setting PUBLISH_INCLUSIONS will define the inclusions parameter. See PublishPlugin for a full description of the URL parameters. Note that not all parameters can be controlled from this file, just the ones listed below.

  • Name of the URL and folder space inside $Foswiki::cfg{PublishPlugin}{Dir} and $Foswiki::cfg{PublishPlugin}{URL}. e.g. test, prod. Defaults to '', so publishes to the top of those.
    • Set PUBLISH_INSTANCE =
  • 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.
    • Set PUBLISH_VERSIONS =
  • Comma-separated list of wildcard patterns that match the names of topics to include
    • Set PUBLISH_INCLUSIONS = *
  • 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
    • Set PUBLISH_FILTER =
  • 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 SkinTemplates).
    • 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
    • Set PUBLISH_EXTRAS =
  • Name of the publish history topic to us. Default is PublishPluginHistory?
    • Set PUBLISH_HISTORY =
  
  • Set PUBLISH_WEB = System
  • Set PUBLISH_TOPICLIST =
  • Set PUBLISH_INCLUSIONS = *
  • Set PUBLISH_EXCLUSIONS = Web*,Publish*
  • Set PUBLISH_VERSIONS =
  • Set PUBLISH_TOPICSEARCH =
  • Set PUBLISH_ENABLEPLUGINS =
  • Set PUBLISH_FORMAT = file
  • Set PUBLISH_PUBLISHSKIN = basic_publish
  • Set PUBLISH_HISTORY =
  • Set PUBLISH_RELATIVEDIR =
  • Set PUBLISH_EXTRAS =
  • Set TEMPLATES =
r3 - 12 May 2011 - 10:23 - AdminUser r2 - 12 Oct 2010 - 15:36 - AdminUser

View topic | View difference interwoven | History: r4 < r3 < r2 < r1 | More topic actions
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback