annotate doc/bins.1 @ 7:69923c621cfe

log verbosity
author Peter Gervai <grin@grin.hu>
date Thu, 16 Oct 2008 00:05:56 +0200
parents a84c32f131df
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
1 .TH "BINS" "1"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
2 .SH "NAME"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
3 bins \(em Generate a static HTML photo albums using XML and EXIF tags
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
4 .SH "SYNOPSIS"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
5 .PP
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
6 \fBbins\fR [\fB-f \fIconfig_file\fR\fP] [\fB-o \fISTR\fR\fP] [\fB-d \fISTR\fR\fP] [\fB-c \fIcolor_style\fR\fP] [\fB-s \fIstyle\fR\fP] [\fB-t \fItemplate_dir\fR\fP] [\fB-p\fP] [\fB-e\fP] [\fB-i \fIiKey,iKey...\fR\fP] [\fB-v \fIX\fR\fP] [\fB-h\fP] \fIsource_dir\fR \fItarget_dir\fR
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
7 .SH "DESCRIPTION"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
8 .PP
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
9 This manual page documents briefly the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
10 \fBbins\fR command.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
11 .PP
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
12 This manual page was written for the \fBDebian\fP distribution
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
13 because the original program does not have a manual page.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
14 Instead, it has documentation in HTML in
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
15 \fB/usr/share/doc/bins/index.html\fP as well as a
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
16 \fB-h\fP option.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
17 .PP
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
18 \fBbins\fR is a program that takes a
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
19 collection of directories and files containing
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
20 JPEG images and XML descriptions, combines them with a set of
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
21 HTML templates, and produces a complete photo
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
22 gallery of static HTML files, rescaled images
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
23 at three sizes, and thumbnails.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
24 .SH "OPTIONS"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
25 .IP "\fB-f \fIconfig_file\fR\fP" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
26 use an alternative configuration file, instead of
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
27 \fB~/.bins/binsrc.\fP.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
28 .IP "\fB-o \fISTR\fR\fP" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
29 Tells script to use only one copy of image using
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
30 HTML size specs (height, width specs in the image
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
31 tag) for scaled versions (instead of generating
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
32 several images, one for each size).
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
33 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
34 Default is false.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
35 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
36 \fISTR\fR is an optional argument
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
37 to set how the one image is generated. Possible values:
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
38
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
39 .RS
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
40 .IP "scaled" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
41 (make scaled copy of orig in target_dir
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
42 hierarchy, sized to max size). Default.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
43 .IP "copied" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
44 (copy orig to web dir)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
45 .IP "custom" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
46 (use copy if filesize < 1meg
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
47 resize, resave, if bigger than 1 meg)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
48 .RE
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
49
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
50 .IP "\fB-d \fISTR\fR\fP" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
51 Determine if tags found in EXIF structure are
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
52 added in desc files.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
53 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
54 \fISTR\fR is one of "always", "never" or "exist"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
55 ("exist" only adds if the desc file already exist.)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
56 Default is always.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
57 .IP "\fB-c \fIcolor_style\fR\fP" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
58 Color style to use. Can be \fBblue\fP (default one), \fBgreen\fP,
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
59 \fBivory\fP and \fBpink\fP or
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
60 any other one defined in configuration/description files.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
61 This option is deprecated (and thus, not supported by all
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
62 templates), in favor of alternate stylesheets and the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
63 \fBcustomStyleSheet\fP parameter.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
64 .IP "\fB-s \fIstyle\fR\fP" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
65 Template style to use (styles provided for now are
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
66 \fBjoi\fP, \fBmarc\fP,
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
67 \fBmartin\fP, \fBmwolson\fP \fBpetrus\fP, \fBsatyap\fP and
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
68 \fBswigs\fP).
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
69 .IP "\fB-t \fItemplate_dir\fR\fP" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
70 Specify location of html templates.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
71 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
72 Default is \fB~/.bins\fP, falling back
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
73 to default versions in
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
74 \fB/etc/bins/templates.\fIstyle\fR\fP.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
75 .IP "\fB-p\fP " 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
76 Numbers preceding the album title, followed by
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
77 an underscore are stripped.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
78 If this option is given, then prefix ordering
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
79 numbers on directories are removed. For example,
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
80 if one has directories \fBmay\fP,
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
81 \fBjune\fP, and \fBaugust\fP, they
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
82 can be renamed \fB0_may\fP,
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
83 \fB1_june\fP, and \fB2_august\fP and
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
84 they will appear in the album in the correct
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
85 order.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
86 .IP "\fB-e\fP" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
87 Tells the script to generate an editable version of
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
88 the album. If set, some more links and icons are added to
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
89 directly access the \fB.xml\fP files for
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
90 editing. This is for editing purposes, not for a final
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
91 album.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
92 .IP "\fB-i \fIiKey,iKey...\fR\fP" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
93 Sets "ignore" keywords which will be compared against
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
94 the contents of the \fBignore\fP field of the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
95 album's XML file, in the \fBignore\fP field in
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
96 \fBdescription\fP section. If any of the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
97 \fIiKeys\fR match those in the album's
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
98 "ignore" field, that album will not be processed. See also
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
99 the \fBignore\fP parameter.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
100 .IP "\fB-n \fIiKey,iKey...\fR\fP" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
101 Sets "hidden" keywords which will be compared against
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
102 the contents of the \fBignore\fP field of the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
103 album's XML file, in the \fBignore\fP field in
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
104 \fBdescription\fP section. If any of the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
105 \fIiKeys\fR match those in the album's
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
106 "ignore" field, that album will be hidden: it will not be
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
107 linked anywhere. See also the \fBhidden\fP parameter.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
108 .IP "\fB-v \fIX\fR\fP " 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
109 \fIX\fR is the verbosity level (between 0 and 3)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
110 .IP "\fB-h\fP " 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
111 Show the help string this man page was originally based on.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
112 .SH "SETTINGS"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
113 .PP
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
114 bins is also controlled by other files.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
115 .IP "\fB/etc/bins/binsrc\fP" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
116 .IP "\fB~/.bins/binsrc\fP" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
117 The \fBbinsrc\fP files are
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
118 XML files with a top level
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
119 \fBbins\fP tag. There are three element
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
120 names with \fBbins\fP: \fBparameter\fP,
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
121 \fBcolors\fP, and \fBsizes\fP.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
122 Each of these has a \fBname\fP attribute
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
123 which names the data in the element content.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
124 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
125 The \fBcolors\fP element has a
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
126 \fBstyle\fP attribute, that can be used with
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
127 the \fBcolorStyle\fP parameter or the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
128 \fB-c\fP command line option. It contains
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
129 \fBcolor\fP elements. The
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
130 \fBcolor\fP elements name has one of the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
131 following values which is substituted into the template
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
132 files. This tag is deprecated, in favor of alternate
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
133 stylesheets and the \fBcustomStyleSheet\fP parameter.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
134 .RS
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
135 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
136 PAGE_BACK
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
137 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
138 PAGE_TITLE
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
139 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
140 MAINBAR_BACK
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
141 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
142 MAINBAR_TITLE
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
143 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
144 MAINBAR_LINK
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
145 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
146 MAINBAR_CURRENTPAGE
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
147 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
148 SUBBAR_BACK
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
149 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
150 SUBBAR_LINK
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
151 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
152 SUBBAR_CURRENTPAGE
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
153 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
154 SUBBAR_TITLE
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
155 .RE
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
156 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
157 The \fBsizes\fP element contains
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
158 \fBsize\fP elements which each have a
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
159 \fBname\fP attribute, a
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
160 \fBshortname\fP attribute, a
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
161 \fBheight\fP attribute, and a
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
162 \fBwidth\fP attribute. These default to
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
163 .RS
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
164 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
165 Small, Sm, 40%, 40%
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
166 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
167 Medium, Med, 64%, 64%
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
168 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
169 Large, Lg, 100%, 100%
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
170 .RE
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
171 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
172 \fBname\fP and
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
173 \fBshortname\fP are used in the output
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
174 HTML and in generated filenames. The
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
175 default values listed above are passed through
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
176 \fBgettext\fP for localization; overrides
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
177 in \fBbinsrc\fP files are not, and should
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
178 be in the desired language.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
179 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
180 For the \fBparameter\fP elements the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
181 \fBname\fP attribute names one of the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
182 following parameters.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
183 .RS
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
184 .IP "addExifToDescFile" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
185 If set to 1 (the default), write EXIF data found in
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
186 the image file to the image desc file (but see also
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
187 the \fB-d\fP flag).
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
188 .IP "albumThumbInSubAlbumPage" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
189 If set to 1 (the default), display the current
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
190 album thumbnail in sub-albums page
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
191 if it has pictures, with links to
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
192 the thumbnails page.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
193 .IP "allThumbnailsPage" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
194 If set to \fB1\fP, generate a page with all
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
195 thumbnails in the album and
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
196 sub-albums. This is deactivated
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
197 because it is an alpha feature which
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
198 seems to not work properly.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
199 .IP "backgroundImage" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
200 Set this to the image that should be displayed
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
201 as the background of the album pages. The Image will
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
202 be copied to the static files directory. This works
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
203 only with joi, marc, martin and petrus templates for now.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
204
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
205 .IP "borderOnThumbnails" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
206 Width of the border of the thumbnail's image in
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
207 the thumbnails page, in pixels. \fB0\fP means no border.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
208
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
209 .IP "colorStyle" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
210 Name of the color style to use. Default is
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
211 \fBblue\fP. See also the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
212 \fB-c\fP option which takes precedence.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
213 This option is deprecated (and thus, not supported by
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
214 all templates), in favor of alternate stylesheets and
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
215 the \fBcustomStyleSheet\fP parameter.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
216 .IP "compactHTML" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
217 If set to \fB1\fP, generated
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
218 HTML code is cleaned up to reduce
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
219 the size of pages and thus, speed up browsing. This
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
220 reduces the size of HTML BINS files
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
221 by about 30%. See \fBHTML::Clean(3)\fR to
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
222 know how optimizations are performed.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
223 .IP "configFileName" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
224 Can be set in the global config file, but only
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
225 influences the basename of the local user config
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
226 file. Defaults to \fB.binsrc\fP.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
227 .IP "createEmptyDescFields" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
228 If set to 1 (the default), add empty description
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
229 fields in the \fBdescription\fP section
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
230 when the image description file is created to ease
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
231 later manual editing.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
232 .IP "createHtaccess" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
233 If \fB1\fP, create an Apache
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
234 \fB.htaccess\fP file in the root dir of
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
235 the album with the encoding charset bound to
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
236 \fBhtml\fP and \fBhtm\fP files. This is a parameter global for the album, it
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
237 can't be set in album.xml.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
238 .IP "customStyleSheet" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
239 Set this to the CSS file that should be used as
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
240 the stylesheet for the album pages. The CSS file will
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
241 be copied to the static files directory. This works
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
242 only with joi, marc, martin and petrus templates for now.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
243
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
244 .IP "dateString" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
245 Specify the format of date strings. This variable
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
246 accepts all formats supported by \fBdate(1)\fR.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
247
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
248 .IP "defaultSize" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
249 Size to use when user clicks directly on the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
250 thumbnail in the thumbnails page instead of one of
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
251 the size name. 0 is the first size
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
252 (\fBSmall\fP in the default config), 1
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
253 the second (\fBMedium\fP), and so
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
254 on. Set this variable to \-1 if you don't want the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
255 thumbnail to be clickable.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
256 .IP "deExifyImages" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
257 If set to 1, do NOT copy exif data found in the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
258 source images to any of the generated resized images.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
259 Setting this option can yield significant space
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
260 savings, especially for thumbnail and imagelist
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
261 pages.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
262 .IP "emptyAlbumDesc" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
263 If set to 1, and album desciption is not set, no
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
264 message will be displayed (instead of the "No
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
265 long/short description available" one).
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
266 .IP "enlarge" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
267 If set to 1, small images are enlarged
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
268 in the "med" and "large" series. (defaults to 0).
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
269 .IP "excludeBackgroundImage" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
270 If set to 1, the image with the name given in
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
271 \fBbackgroundImage\fP will be excluded from the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
272 current directory.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
273
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
274 .IP "excludeDirs" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
275 Exclude directories that match this regexp (if
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
276 set). Set to
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
277 CVS$ in default config, so that CVS
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
278 subdirs aren't processed by bins.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
279
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
280 .IP "excludeFiles" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
281 Exclude image files that match this regexp (if
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
282 set). No image files are excluded in default config.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
283
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
284 .IP "globalConfigDir" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
285 Can't usefully be set, since it has already been
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
286 used when the first config file is read. Defaults
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
287 to \fB/etc/bins\fP.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
288 .IP "hidden" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
289 Put here a comma separated list of keyword. If
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
290 one on this keyword is found in the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
291 \fBignore\fP field in the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
292 \fBdescription\fP section of an
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
293 \fBalbum.xml\fP, then this sub-album
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
294 will be hidden, i.e. it will be generated but not
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
295 linked anywhere. You can also use the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
296 \fB-n\fP command line option.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
297 .IP "homeURL" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
298 Set this to your home page's
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
299 URL. This is used for the leave button
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
300 in some templates.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
301 .IP "htmlEncoding" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
302 HTML pages charset encoding.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
303 .IP "ignore" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
304 Put here a comma separated list of keyword. If
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
305 one on this keyword is found in the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
306 \fBignore\fP field in the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
307 \fBdescription\fP section of an
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
308 \fBalbum.xml\fP, then this sub-album
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
309 will be ignored, i.e. it will not be processed. You
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
310 can also use the \fB-i\fP command line
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
311 option.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
312 .IP "imagePageCycling" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
313 If set to 0 next/prev-Links will be hidden if
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
314 the actual page is the last/first Image page.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
315 .IP "javaScriptPreloadImage" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
316 If set to \fB1\fP, add some
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
317 javascript code in image pages to preload the next
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
318 image of the same size when current one is loaded, to
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
319 speed up the album browsing.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
320 .IP "javaScriptPreloadThumbs" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
321 If set to \fB1\fP, add some
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
322 javascript code in thumbnails pages to preload
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
323 thumbnails of the next page when current one is
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
324 loaded, to speed up the album browsing.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
325 .IP "jpegQuality" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
326 Quality of scaled jpegs (lower number = more
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
327 compression, lower quality) in 1-100 range (default
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
328 of 75). See imagemagick docs for more details.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
329 .IP "linkInsteadOfCopy" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
330 If set to 1, we link the picture instead of
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
331 copying it if possible (i.e. scaleIfSameSize is set to
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
332 \fB0\fP and destination image doesn't
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
333 have to be rotated: \fBrotateImages\fP is
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
334 set to \fBoriginal\fP or
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
335 \fBnone\fP, or orientation is already
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
336 correct). Warning : if whenSrcSmaller is set
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
337 to enlarge, original image can be modified.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
338 .IP "linkRelative" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
339 If set to 1, we use a relative path for the link if
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
340 \fBlinkInsteadOfCopy\fP is set to 1.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
341
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
342 .IP "maxAlbumsForLongSubAlbum" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
343 If the number of sub albums is greater (than
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
344 this value which defaults to 20),
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
345 generate a short sub album page
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
346 instead of the long one. (Short sub album pages
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
347 appear to be unsupported at the moment; this option
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
348 is disabled.)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
349 .IP "noRotation" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
350 Don't perform rotation on files matching this
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
351 regexp. This can used in conjunction with
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
352 \fBscaleIfSameSize=0\fP and a scaled size of
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
353 \fB100%x100%\fP to keep original pictures in
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
354 your album.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
355 .IP "numThumbsPerPage" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
356 Number of thumbnails (default of 16) displayed
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
357 in each page in an album.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
358 .IP "pathImgNum" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
359 If set to 1 the path in the imageview contains
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
360 the number of the current image.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
361 .IP "pathShowIcon" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
362 If set to 1 the path contains icons.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
363 .IP "previewMaxWidth" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
364 .IP "previewMaxHeight" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
365 Max thumbnail width and height (default 150x150).
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
366 .IP "jpegProgressify" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
367 whether to convert generated jpegs to
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
368 progressive using jpegtran (if available). can be
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
369 \fBnever\fP, \fBalways\fP, or
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
370 \fBsmaller\fP (if the progressified file
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
371 is smaller than the baseline).
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
372 .IP "reverseOrder" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
373 Are we reversing sorting order for pictures or
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
374 directories ? 0=none, 1=dirs, 2=pix, 3=both. See
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
375 also \fB-r\fP command line option.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
376
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
377 .IP "rotateImages" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
378 Do we rotate images if the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
379 \fBOrientation\fP EXIF tag is found? If set to \fBoriginal\fP (the default), the original image is rotated the first
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
380 time, and then it is left untouched. If set to
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
381 \fBdestination\fP, this is all the scaled
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
382 images and thumbnails that are rotated. This is less
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
383 efficient, but the original images are preserved (and
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
384 is useful if the original images are read-only). If
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
385 set to \fBnone\fP, no rotation is
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
386 performed.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
387 .IP "rotateWithJpegtran" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
388 If set to \fB1\fP,
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
389 \fBbins\fP try to use the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
390 \fBjpegtran\fP program to rotate
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
391 JPEG images if it is
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
392 available. \fBjpegtran\fP is faster and
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
393 lossless, but some versions fail to perform rotation
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
394 correctly, so it is deactivated in default config. If
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
395 set to \fB0\fP or if
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
396 \fBjpegtran\fP is not found,
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
397 \fBmogrify\fP (from ImageMagick) is
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
398 used.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
399 .IP "scaleIfSameSize" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
400 If set to 1, we scale the picture even
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
401 if destination size is the same as the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
402 original picture, if set to 0 (the default), the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
403 original image is just copied if the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
404 size is correct.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
405 .IP "scaleMethod" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
406 What method should be used to create scaled
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
407 pictures and thumbnails ? Can be either
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
408 \fBscale\fP or
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
409 \fBsample\fP. \fBsample\fP is \fBfaster\fP, scale is better.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
410
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
411 .IP "searchEngine" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
412 If 1, generate a search page. Images can be searched
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
413 on description fields set in the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
414 \fBsearchFields\fP parameter.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
415
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
416 .IP "searchFields" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
417 Space separated list of description field names used
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
418 by the search engine, if
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
419 \fBsearchEngine\fP is set to 1.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
420
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
421 .IP "searchLimit" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
422 Maximum results returned by the search engine, if
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
423 \fBsearchEngine\fP is set to 1. Note
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
424 that if this number is too high, it can hang the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
425 browser.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
426
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
427 .IP "stripDirPrefix" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
428 If \fB1\fP, numbers preceding the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
429 album title, followed by an underscore, are
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
430 stripped. If this parameter is set, then prefix
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
431 ordering numbers on directories are removed. For
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
432 example, if one has directories may, june, and august,
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
433 they can be renamed \fB0_may\fP,
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
434 \fB1_june\fP, and
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
435 \fB2_august\fP and they will appear in
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
436 the album in the correct order. This can be overridden
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
437 by the \fB-p\fP command line option.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
438 .IP "templateStyle" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
439 Name of the template style to use. Default is
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
440 \fBswigs\fP. Other templates provided
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
441 with BINS are \fBjoi\fP,
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
442 \fBmarc\fP, \fBmartin\fP,
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
443 \fBpetrus\fP and
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
444 \fBsatyap\fP. Several templates can be
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
445 used for different sub-album of an album, by using
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
446 this parameter in the \fBbins\fP section
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
447 of the \fBalbum.xml\fP files. See also
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
448 the \fB-s\fP option which takes precedence
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
449 over binsrc (but not album.xml).
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
450 .IP "thumbnailBackground" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
451 If set to 1, add a background colour
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
452 (SUBBAR_BACK) to the thumbnail's cell in the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
453 thumbnails page so that if the top and bottom borders
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
454 are wider than the image (for example, if it is in
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
455 portrait mode), instead of spilling over, there is a
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
456 border around the whole picture. By default, use the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
457 PAGE_BACK color.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
458 .IP "thumbnailInImageList" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
459 Display thumbnails on the Image List page, set
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
460 to 1 by default.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
461 .IP "thumbnailPageCycling" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
462 If set to 0 next/prev-Links will be hidden if
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
463 the actual page is the last/first
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
464 Thumbnail page.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
465 .IP "thumbPrevNext" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
466 If set to 1 (the default), display thumbnails close
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
467 to the previous and next link at the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
468 bottom of the image page.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
469 .IP "thumbsPerRow" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
470 Number of thumbnails (default of 4) displayed in each
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
471 row in an album.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
472 .IP "titleOnThumbnail" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
473 Should the title be displayed on top on the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
474 thumbnail in the thumbnails page? (defaults to 1.)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
475 .IP "treePreview" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
476 If set to 1, preview thumbnails will be showed
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
477 in the album tree page. This works only with joi,
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
478 marc and petrus templates for now.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
479
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
480 .IP "updateOriginalPerms" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
481 If set to 1, read permissions on images will be
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
482 set, to ensure http deamon will be able to read
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
483 them.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
484
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
485 .IP "userConfigDir" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
486 Can be set in the global config file (since
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
487 after the user one is read, it is too late).
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
488 Defaults to \fB~/.bins\fP and is
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
489 processed by \fBbsd_glob\fP (see
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
490 \fBFile::Glob\fP for details.)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
491
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
492 .IP "xmlEncoding" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
493 XML files charset encoding.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
494 .RE
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
495 .IP "\fB\fIimage.jpg\fR\fP" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
496 The EXIF tags are extracted from
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
497 the image. Currently only the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
498 \fBOrientation\fP tag influences the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
499 processing, but a variety of settings are copied into the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
500 HTML file generated via the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
501 \fBdetails.html\fP template.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
502 .IP "\fB\fIimage.jpg\fR.xml\fP" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
503 The XML file contains an
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
504 \fBimage\fP element, which contains three child
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
505 elements:
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
506 .RS
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
507 .IP "\fBdescription\fP" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
508 which has \fBfield\fP children that
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
509 contain per-image data. The \fBname\fP attribute names the tag (allowing simple
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
510 extensibility, see the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
511 \fBbins_edit\fP \fB\-\-generic\fP flag) but
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
512 \fBbins\fP itself currently only
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
513 makes use of
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
514 .RS
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
515 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
516 title
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
517 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
518 description
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
519 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
520 people
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
521 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
522 location
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
523 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
524 date
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
525 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
526 event
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
527 .RE
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
528 .IP "\fBbins\fP" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
529 which works as described with the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
530 \fBbinsrc\fP file settings, except
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
531 that many of the settings are not meaningful in the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
532 context of a single picture.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
533 .IP "\fBexif\fP" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
534 which has a cache of values copied from the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
535 EXIF tags in the image, to allow
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
536 simpler processing by other tools.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
537 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
538 If a user wants to override the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
539 EXIF values and provide a
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
540 replacement (such as a corrected
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
541 \fBOrientation\fP or an
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
542 \fBOwner\fP setting that reflects who
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
543 you loaned the camera to) adding a
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
544 \fBpriority\fP attribute with a value
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
545 of "1" will prevent \fBbins\fP from
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
546 replacing it with the value in the image.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
547 .RE
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
548 .IP "\fBalbum.xml\fP" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
549 This file contains an
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
550 \fBalbum\fP element, which contains
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
551 \fBdescription\fP and \fBbins\fP stanza as described for an image. The are extensible in
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
552 the same manner, but \fBbins\fP only makes
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
553 use of
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
554 .RS
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
555 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
556 dirname
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
557 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
558 descFileName
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
559 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
560 shortdesc
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
561 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
562 title
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
563 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
564 sampleimage
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
565 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
566 longdesc
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
567 .RE
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
568 .IP "\fBinclude_images.txt\fP" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
569 includes image filenames (relative to the current
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
570 album, i.e. the directory where the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
571 \fBinclude_images.txt\fP file is stored.)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
572 Each filename appears on a line by itself; a line
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
573 beginning with a \fB#\fP is a comment, and
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
574 lines composed entirely of whitespace are ignored.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
575 Otherwise, the line is exactly the filename. These images
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
576 are included in the order listed, and added after any that
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
577 actually appear in the directory.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
578 .IP "\fB\fItemplate\fR.html\fP" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
579 There are a number of template
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
580 HTMLfiles which are used to generate
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
581 the actual images. The base names of these are
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
582 .RS
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
583 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
584 tree
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
585 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
586 imagelist
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
587 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
588 subalbum
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
589 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
590 thumbnail
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
591 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
592 details
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
593 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
594 image
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
595 .RE
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
596 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
597 The default versions of these files in
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
598 \fB/etc/bins/templates.default\fP should
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
599 show how they work, as does the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
600 \fBHTML::Template\fP documentation. Aside
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
601 from the \fBCOLOR\fP substitutions described
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
602 above, a template can also reference
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
603 .RS
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
604 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
605 BINS_VERSION
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
606 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
607 ENCODING
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
608 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
609 GENERATED_DATE
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
610 .IP "" 10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
611 BINS_ID
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
612 .RE
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
613 .SH "SEE ALSO"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
614 .PP
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
615 bins_edit (1), jpegtran (1), File::Glob, HTML::Template, imagemagick.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
616 .SH "AUTHOR"
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
617 .PP
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
618 This manual page was written by Mark W. Eichin eichin@thok.org for
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
619 the \fBDebian\fP system (but may be used by others). As it is
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
620 mostly derived from the \fBbins\fP program
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
621 itself, it is covered by the GNU General Public License.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
622 .\" created by instant / docbook-to-man, Wed 24 Aug 2005, 23:31