annotate README @ 2:c44d020e5f8a 1.1.29-extended

Importing extended patched version from http://www.uli-eckhardt.de/bins/index.en.html
author Peter Gervai <grin@grin.hu>
date Wed, 15 Oct 2008 23:31:54 +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 ==========================================================
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
2 BINS Photo Album
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
3 Version 1.1.29
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
4 Mar. 17, 2002
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
5 http://bins.sautret.org/
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
6 Jerome@Sautret.org
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
7 BINS is free software, licensed under the GNU GPL. See the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
8 COPYING file for details.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
9 ==========================================================
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
10
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
11 (Une documentation en fran?ais est disponible dans
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
12 doc/index_fr.html
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
13 ou en-ligne sur
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
14 http://bins.sautret.org/index_fr.html )
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
15
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
16 A complete documention in HTML format can be found in doc/index.html
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
17 or on-line on http://bins.sautret.org. See it for BINS installation
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
18 and usage.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
19
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
20 See also the bins(1), bins_edit(1) and bins-edit-gui(1) man pages.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
21
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
22 The aim of BINS is to generate HTML photo albums.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
23 Some of the functionalities of BINS are:
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
24 - album can contains other albums (sub albums): the album
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
25 can have a tree structure ;
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
26 - generation of a thumbnail and of scaled images of each picture ;
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
27 - number and size of scaled pictures can be personalized, in pixels
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
28 or percentage of the original image ;
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
29 - several description fields (date, location, etc...) can be associated with
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
30 the pictures ;
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
31 - usethe EXIF data structure found on some JPEG (usually, those
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
32 produced by digital cameras) to fill automatically some fields (date and
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
33 time for example).
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
34
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
35 You can see an example of an album generated by BINS at
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
36 http://album.sautret.org/
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
37 This my personal album with french I18N.
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 BINS (BINS Is Not SWIGS) is a modified version of SWIGS (Structured
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
40 Web Image Gallery System). I've made these modifications because I need
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
41 them. I tried to contact SWIGS author, but I've got no response, so I
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
42 decided to publish my modified version in case someone is interested.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
43
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
44 See ChangeLog file for differences between SWIGS and BINS.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
45
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
46 Migrating from BINS version earlier than 1.1.0
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
47 ==============================================
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
48
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
49 A new XML format is use for pictures and albums description files in
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
50 BINS 1.1.0. There is an utility bins_txt2xml to convert from old
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
51 format to new one:
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
52
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
53 WARNING: make a backup of your album before proceding to the
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
54 migration, just in case something goes wrong.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
55
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
56 Install the new bins and bins_edit program in tour path as explained
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
57 in the installation documentation.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
58
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
59 Run the bins_txt2xml with the source directory of the album as a parameter :
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
60 bins_txt2xml ~/album
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
61
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
62 This will create .xml files for each .txt in your album and its
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
63 subalbums. This can take some time...
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
64
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
65 You can then run the new bins to check if the new desc files are OK.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
66
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
67 When you are sure all is OK. You can delete the old .txt files:
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
68 find ~/album -name \*.txt -exec rm -f {} \;
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
69
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
70
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
71 License
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
72 =======
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
73
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
74 BINS is free software, licensed under the GNU GPL. See COPYING file
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
75 for details.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
76
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
77 BINS is Copyright (c) 2001-2004 J?r?me Sautret (Jerome @ Sautret.org).
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
78
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
79 Original SWIGS code is Copyright (c) 2000 Brendan McMahan
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
80 (mcmahahb @ whitman.edu).
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
81
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
82 Initial code based on IDS 0.21 is Copyright (c) John Moose
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
83 (moosejc @ muohio.edu).
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
84
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
85
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
86 Original SWIGS README:
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
87 ======================
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
88 _______________________________________________________________________________
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
89 SWIGS README, INSTALL, and DOCUMENTATION
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
90 version 0.1.1
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
91 Dec. 31, 2000
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
92 Brendan McMahan (mcmahahb@whitman.edu)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
93 http://people.whitman.edu/~mcmahahb/projects/swigs.html
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
94 _______________________________________________________________________________
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
95
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
96 Document Contents:
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
97 Requirements
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
98 Installation and Usage Overview
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
99 SWIGS command line options
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
100 File Formats for Image Text Files
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
101 File Formats for Album Text Files
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
102
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
103 Requirements:
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
104 * ImageMagick with PerlMagick (http://www.imagemagick.org/)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
105 * the "Image::Size" Perl module (http://www.cpan.org/).
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
106
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
107 Installation and Usage Overview:
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
108 1 Decompress swigs.tar.gz into a directory, say ~/swigs/
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
109 2 To immediately test your installation, run
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
110 ./swigs.pl -t templates/ sample_input/ sample_output/
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
111 3 The default search location for templates is $HOME/.swigs_templates
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
112 You can copy the templates to that location so you don't have to
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
113 specificy the -t option everytime you run swigs.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
114 4 Put the images you want into a directory
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
115 (possibly including subdirectories), say ~/pics/
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
116 5 Edit the HTML templates in ~/swigs/templates/ if desired
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
117 6 Create text files with annotations for each image and directory
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
118 if desired. For a description of the file formats, see below.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
119 7 run ./swigs.pl ~/pics/ ~/swigs-output/
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
120
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
121 SWIGS command line options:
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
122
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
123 swigs.pl [-o [src]] [-t template_dir] source_dir target_dir
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
124
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
125 -o Tells script to use only one copy of image, using html size specs
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
126 (height, width specs in the image tag) for scaled versions. The
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
127 default src of the single image is scaled. The possible values are:
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
128 "scaled" (make scaled copy of orig in target_dir hierarchy,
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
129 sized to max size). Default.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
130 "copied" (copy orig to web dir)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
131 "custom" (use copy if filesize < 1meg
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
132 resize, resave, if bigger than 1 meg)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
133
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
134 -t template_dir
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
135 directory where html templates are stored. If nothing is
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
136 specified, then the direcory is assumed to be templates/
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
137
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
138 -p If this option is given, then prefix ordering numbers on
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
139 directories are removed. For example, if one has directories
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
140 may, june, and august, they can be renamed 0_may, 1_june, and
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
141 2_august and they will appear in the album in the correct order.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
142 Procceeding numbers followed by an underscore are stripped.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
143
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
144
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
145 File Formats for Image Text Files:
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
146
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
147 * If the image is named foo.jpg (or foo.someothersupportedformat)
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
148 then the associated description file should be foo.jpg.txt. The
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
149 older format, foo.txt, is also still recognized, but should be
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
150 avoid do to possible conflicts if you hava a foo.jpg and a foo.png
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
151 in the same directory (for example).
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
152
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
153 * Each starting or ending tag goes on its own line. Each block of
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
154 data between tags may take any number of lines.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
155
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
156 <title>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
157 Type a short title for the image.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
158 </title>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
159
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
160 <event>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
161 The event where the image was taken.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
162 </event>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
163
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
164 <location>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
165 The location where the image was taken.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
166 </location>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
167
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
168 <people>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
169 The names of the people in the image. Should be a comma separated
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
170 list without the word "and" to allow for easy parsing in future
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
171 versions that allow searching. For example:
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
172 Colin, Mike, Steph, Jeff, Marc
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
173 </people>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
174
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
175 <date>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
176 The date and time the image was taken.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
177 </date>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
178
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
179 <description>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
180 A description of the image and any other information.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
181 </description>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
182
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
183 File Formats for Album Text Files:
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
184 * Each starting or ending tag goes on its own line. Each block of
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
185 data between tags may take any number of lines.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
186 * The text file must be called album.txt
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
187 * One album.txt file may be included in each directory.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
188
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
189 <title>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
190 A short title for the album. If none is specified, the directory name
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
191 is used with underscores replaced by spaces.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
192 </title>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
193
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
194 <sampleimage>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
195 The name of an image (without any path information) in the directory
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
196 to use as a representative for the album. Only specified if there are
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
197 actually images in the directory. For example:
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
198 Image003.jpg
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
199 </sampleimage>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
200
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
201 <shortdesc>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
202 A short description of the contents of the album.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
203 </shortdesc>
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 <longdesc>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
206 A longer description of the contents of the album. If none is
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
207 specified, the short description is used.
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
208 </longdesc>
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
209
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
210
a84c32f131df Import vendor version
Peter Gervai <grin@grin.hu>
parents:
diff changeset
211