Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 41 lines (31 sloc) 1.619 kb
3ebfa07 @abw Initial revision
authored
1 #========================================================================
2 # Template Toolkit - bin/
3 #========================================================================
4
911a5e3 @abw *** empty log message ***
authored
5 This directory contains the 'tpage' and 'ttree' template processing
6 scripts. These will be installed automatically by a 'make install'.
3ebfa07 @abw Initial revision
authored
7
8 'tpage' is a simple script interface to the Template module. You
9 can specify one or more filenames on the command line which will be
10 processed in turn. The script will read from STDIN if no files are
11 specified. See 'perldoc tpage' for further information.
12
13 Examples:
14 tpage websrc/myfile.html > public_html/myfile.html
15 tpage header body footer > mypage.html
16 foobar | tpage > foobar.html
17
18
19 'ttree' is a more advanced script for processing templates en masse.
20 You can point it at a source directory and it will walk traverse down
21 through the tree, processing any template files it finds on the way.
22 The output generated by each template is written to the corresponding
23 file in a destination directory. It is ideally suited for the task of
24 building web site documents from a set of input templates. It provides
25 a range of configuration options which can be expressed in config files
26 or via command line options. See 'ttree -h' and 'perldoc ttree' for
27 further information.
28
29 Examples:
30 ttree
31 ttree index.html page1.html page2.html
32 ttree -v -r
33 ttree -src ~/tmp/templates -dest ~/public_html/test
34 trree -f config
35
d0ec64a @abw Fixed MANIFEST, minor tweaks to Changes, cleaned out some files
authored
36 The other files including 'tt2inst' and 'gifsplash' are legacy scripts
37 from previous version of TT2. They will be removed at some point in
38 the future.
911a5e3 @abw *** empty log message ***
authored
39
40
Something went wrong with that request. Please try again.