Next: , Previous: , Up: Programming Interface   [Contents][Index]


5.5 Publishers

(use-modules (haunt publisher))

The purpose of a publisher is to deploy a built site. Haunt comes with some built-in publishers, but custom publishers can be created with the following interface.

Procedure: make-publisher name proc

Create a new publisher.

Procedure: publisher? object

Return #t if object is a publisher.

Procedure: publisher-name publisher

Return the publisher name.

Procedure: publisher-proc reader

Return the publisher procedure for publisher.

Procedure: publish publisher site

Publish site with publisher.

Procedure: run-command program args

Run command program with args arguments.

Haunt comes with the following built-in publishers: