Skip to main content

 Glossary

A-Z glossary of PageSeeder concepts

publish script

An Apache Ant  build file (build.xml) that calls the Ant API through Ant tasks so they can be processed by the publish engine.

Through the Ant API, PSML Ant scripts can access in batch mode most of functionality that is available through both the user interface and the services. This allows scripts to:

  • Export to non-PSML formats.
  • Import from non-PSML formats.
  • Move PSML files to another location.
  • Create PSML documents using variables from a non-PSML source file.

Publish scripts are managed at the project level, this means all groups in a project access the same publish options. 

For users with admin rights, the Publish files can be accessed on the Publish scripts page.

ps-pub-scripts.png

Usage

Publish scripts can be configured for use as follows:

  • Document – to process the currently open document. 
/Template/[project]/document/
  • Folder – for processing an entire folder.
/Template/[project]/folder/
  • Group – for processing a group. The build.xml file is under:
/Template/[project]/group/
  • Scheduled publishing script – an alternate way to invoke the group publishing script at a specific time. All scheduled events can be viewed by administrators. For further information, see scheduled jobs.

Example Scripts

There is a growing set of scripts available to developers to use for learning or customization. The most up-to-date information is available on the PageSeeder GitHub  site.

Created on , last edited on