Next: , Previous: , Up: Publishing   [Index]


1.12.2 Properties

Properties (mandatory)
:base-directory

Directory containing publishing source files.

By default, all files with extension ‘.org’ in the base directory are considered part of the project. This can be modified.

:publishing-directory

Directory where output files are published.

You can directly publish to a webserver using a file name syntax appropriate for the Emacs tramp package. Or you can publish to a local directory and use external tools to upload your website.

:preparation-function

Function or list of functions to be called before starting the publishing process (for example, to run make for updating files to be published.) Each preparation function is called with a single argument, the project property list.

:completion-function

Function or list of functions called after finishing the publishing process (or example, to change permissions of the resulting files). Each completion function is called with a single argument, the project property list.

Properties (optional)
:base-extension

extension of source files as a regular expession. Set this to the symbol ‘any’ if you want to get all files in ‘:base-directory’, even without extension.

:exclude

Regular expression to match file names that should not be published.

:include

List of files to be included regardless of ‘:base-extension’ and ‘:exclude’.

:recursive

Non-‘nil’ means, check base-directory recursively for files to publish.