PublishCopsCanvassReportConfig
- This is a configuration file used to publish the CopsCanvassReport.
- Publish topic is PublishCopsCanvassReport.
|
## Version Specific Options
### Web options
- Set PUBLISH_URL = **NOTE** The rendered data can get pretty big, and the process itself puts a heavy load on the server, especially when using compression on large webs. - Set PUBLISH_FORMAT = pdf **Generator Options** - For file output, "F" means "use flat file structure (i.e. no web/subweb) - Set PUBLISH_GENOPT = \--no-duplex \--numbered \--portrait \--quiet \--titleimage /var/www/vhosts/copswiki.org/www/w/pub/Common/PublishCopsCanvassReport/RoVReportCover.jpg \--firstpage p1 \--toclevels 4 \# \--no-links \--duplex ## Common Options **Web to publish** - Set PUBLISH_WEB = Common **Inclusions.** Comma-separated list of [wildcard patterns](#WildcardPattern) that match the names of topics to **include**. Use \* for all topics. - Set PUBLISH_INCLUSIONS = CopsCanvassReport **Exclusions** Comma-separated list of [wildcard patterns](#WildcardPattern) that match the names of topics to **exclude**. Leave blank to include all topics. - Set PUBLISH_EXCLUSIONS = Web**,Publish** **Versions** Name of a topic that contains a table, each row of which maps a topic names to the version of that topic to publish. Leave blank to publish the most recent version of each topic. The table can be generated by a %SEARCH or other macro. For example: `| Web. You are recommended to pick `basic_publish`, or `plain`, or a `print` skin. Your installation may also offer a special `export` or `publish` skin. %I% The `view` [template](SkinTemplates) is used to generate published pages, so `view.%URLPARAM{"skin" default="basic_publish"}%.tmpl` is the template that will be used to generate the output. You can preview any topic in this skin simply by appending `?skin=%URLPARAM{"skin" default="basic_publish"}%` to the end of the view URL. Note that the standard `VIEW_TEMPLATE` template override still works when publishing. - Set PUBLISH_SKIN = basic_publish **Publishing history topic.** This is where the history of your publishing is stored. Each time you publish, this topic is re-written with the log of the publishing process. You have to have "change" access to this topic. You can specify a topic in another web using the standard Web.Topic syntax. - Set PUBLISH_HISTORY = PublishCopsCanvassReportHistory \* Set PUBLISH_LISTOFALLOWEDWEBS = Common, Events ### Web options Web options are only relevant for web output formats (`file` and `ftp`) The web formats generate a sitemap.xml, and can also generate default.htm, index.html and google site verification files. **Google file.** generates the `HTML verification file` needed to verify your site claim. See [Google webmaster tools](http://www.google.com/webmasters/sitemaps) - Set PUBLISH_GOOGLEFILE = **Default topic** Name of topic to used to generate default.htm, index.html \* Set PUBLISH_DEFAULTPAGE = Index **Use Pub Attachments** - do not worry about attachments in the pub directory, just leave them there and refer to them using absolute links. - Set PUBLISH_USEPUBATTACHMENTS = 0 **Use Web Prefix** - normally, the web/subweb prefix is added to the resulting filename. - Set PUBLISH_USEWEBPREFIX = 0 |