added options for pdf stuff
[mir.git] / source / config.properties-dist
1 #
2 # Sample config for Mir
3 # by Matthias <mjordan@code-fu.de> 2001-09-12
4 #
5 # The Mir software realizes a semi-dynamic web service:
6 # The web server that is accessed by users has pure static
7 # pages. These pages are generated by the Mir software that
8 # consists of a collection of Java servlets and HTML templates.
9 # Mir uses a database server to store the data that is needed to
10 # build the static site.
11 # So there are basically three parts in this config file:
12 #
13 # a) general setup
14 # b) static site config
15 # c) dynamic admin site
16 # d) database config
17 #
18 # edit this to suit your needs (here with sampleuser idfx)
19 # After you edited this file, build.sh has to be invoked.
20 # To be sure, also restart Tomcat.
21 #
22 # Note that for Mir to work, Tomcat has to be set up to handle all
23 # URLs that begin with /servlet. All other URLs are handled by Apache.
24 #
25 # The setup uses the following assumptions:
26 # The URL to reach the site is http://indy.code-fu.de
27 # The DocumentRoot of this URL is /pub/Dokumente/Indymedia/de-tech/Mir
28 # All data is located below this directory, including the servlets.
29
30
31
32
33 #
34 #
35 # GENERAL SETUP
36 #
37
38 Mir.Version=pre-1.0
39 ClearXslCache=no
40 StandardLanguage=de
41 DirectOpenposting=yes
42
43 #note that you can't make pdf's without making fo's
44 GenerateFO=yes
45 GeneratePDF=yes
46
47 #use rsync to mirror the website to a remote-host
48 Rsync=no
49 Rsync.Script.Path=/var/www/bin/rsync-copy
50
51
52
53 #
54 #
55 # STATIC SITE CONFIG
56 #
57
58 # the url of the static site
59 Producer.ProductionHost=http://indy.code-fu.de
60
61 # The above URL points to the following directory, in which
62 # the generated HTML pages will be stored
63 Producer.StorageRoot=/pub/Dokumente/Indymedia/de-tech/Mir/produced
64
65
66
67
68 #
69 #
70 # DYNAMIC SITE CONFIG
71 #
72
73 # the url of the openposting-servlet
74 Producer.OpenAction=http://indy.code-fu.de/Mir/servlet/OpenMir
75
76
77 # fill this variable if the pages should not be saved directly
78 # in the Producer.StorageRoot. then the pages will be saved
79 # in this subdirectory
80 Producer.DocRoot=
81
82
83 # this is the name of the subdirectory where the image-dir
84 # will be linked to.
85 Producer.ImageRoot=/img
86
87
88 # the url of the video-server
89 Producer.Video.Host=http://indy.code-fu.de/video
90
91 # the url of the audio-server
92 Producer.Audio.Host=http://indy.code-fu.de/audio
93
94 # the url of the image-server
95 Producer.Image.Host=http://indy.code-fu.de/images
96
97 # the url of the media-server
98 Producer.Media.Host=http://indy.code-fu.de/media
99
100 # the url of the real-media-server
101 Producer.RealMedia.Host=rtsp://some.media.server/somedir/
102
103
104 # image specific storage directories
105 # absolute directory, where the images are saved
106 Producer.Image.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/images/
107
108 # media specific storage directories
109 # absolute directory, where the media files are saved
110 Producer.Media.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/media
111
112 # absolute directory, where the realmedia data files(ra and rm) are saved
113 # the ram files which point to the RealMedia.Host get saved in the regular Media dir
114 # this should make rsyncing to a separate streaming server much easier
115 Producer.RealMedia.Path=/pub/Dokumente/rtsp
116
117 # relativ directory, where the thumbnails will be saved
118 Producer.Image.IconPath=/icon
119
120 # Tiny Icons for the media types on the newswire summary.
121 # (right hand side of start page)
122 Producer.Icon.TinyImage=photo_small.gif
123 Producer.Icon.TinyAudio=audio_small.gif
124 Producer.Icon.TinyVideo=video_small.gif
125 Producer.Icon.TinyText=text_small.gif
126
127 #Medium sized icons used at various places
128 Producer.Icon.BigImage=photo_big.gif
129 Producer.Icon.BigAudio=audio_big.gif
130 Producer.Icon.BigVideo=video_big.gif
131 Producer.Icon.BigText=text_big.gif
132
133
134
135 #
136 # edit with caution below this line
137 ######################################################################
138
139 #
140 #
141 # DATABASE SETUP
142 #
143
144 #
145 # specify your database
146
147 Database.poolMin=1
148 Database.poolMax=10
149 Database.poolResetTime=1.0
150 Database.PoolLog=log/pool.log
151 Database.Limit=20
152 Database.Username=postgres
153 Database.Password=
154 Database.Host=localhost
155 Database.Name=Mir
156
157 #
158 # this sets the adaptor to be used
159
160 Database.Adaptor=mir.storage.DatabaseAdaptorPostgresql
161 Database.Logfile=log/dbentity.log
162
163 #
164 # configuration for adaptor mysql
165 # In this example, "Mir" is the dbname
166
167 Adaptor.MySQL.URL=jdbc:mysql://localhost:3306/Mir
168 Adaptor.MySQL.Driver=org.gjt.mm.mysql.Driver
169
170 #
171 # configuration for adaptor postgres
172 # In this example, "Mir" is the dbname
173
174 Adaptor.PostgreSQL.URL=jdbc:postgresql://localhost:5432/Mir
175 Adaptor.PostgreSQL.Driver=org.postgresql.Driver
176
177 #
178 # should be explained .)
179 #
180
181 # how many articles should be shown on a list-page
182 Lists.Max.Items=10
183
184 HTMLTemplateProcessor.Logfile=log/htmlprocess.log
185 HTMLTemplateProcessor.Dir=templates
186
187 ServletModule.Producer.Logfile=log/producer.log
188 Entity.Logfile=log/dbentity.log
189
190 #
191 # Servlet / Module configurations
192 #
193
194 Mir.Logfile=log/mir.log
195 Mir.ErrorTemplate=error.template
196 Mir.UserErrorTemplate=usererror.template
197 Mir.LoginTemplate=admin/login.template
198
199 ServletModule.Schwerpunkt.ConfirmTemplate=admin/confirm.template
200 ServletModule.Schwerpunkt.ObjektTemplate=admin/feature.template
201 ServletModule.Schwerpunkt.ListTemplate=admin/featurelist.template
202 ServletModule.Schwerpunkt.Logfile=log/mir.log
203 Module.Schwerpunkt.Logfile=log/mir.log
204
205 ServletModule.Feature.ConfirmTemplate=admin/confirm.template
206 ServletModule.Feature.ObjektTemplate=admin/schwerpunkt.template
207 ServletModule.Feature.ListTemplate=admin/schwerpunktlist.template
208 ServletModule.Feature.Logfile=log/mir.log
209 Module.Feature.Logfile=log/mir.log
210
211 ServletModule.Themen.ConfirmTemplate=admin/confirm.template
212 ServletModule.Themen.ObjektTemplate=admin/topic.template
213 ServletModule.Themen.ListTemplate=admin/topiclist.template
214 ServletModule.Themen.Logfile=log/mir.log
215 Module.Themen.Logfile=log/mir.log
216
217 ServletModule.LinksImcs.ConfirmTemplate=admin/confirm.template
218 ServletModule.LinksImcs.ObjektTemplate=admin/linksimcs.template
219 ServletModule.LinksImcs.ListTemplate=admin/linksimcslist.template
220 ServletModule.LinksImcs.Logfile=log/mir.log
221 Module.LinksImcs.Logfile=log/mir.log
222
223 ServletModule.Users.ConfirmTemplate=admin/confirm.template
224 ServletModule.Users.ObjektTemplate=admin/user.template
225 ServletModule.Users.ListTemplate=admin/userlist.template
226 ServletModule.Users.Logfile=log/mir.log
227 Module.Users.Logfile=log/mir.log
228
229 ServletModule.Bilder.ConfirmTemplate=admin/confirm.template
230 ServletModule.Bilder.ObjektTemplate=admin/image.template
231 ServletModule.Bilder.ListTemplate=admin/imagelist.template
232 ServletModule.Bilder.Logfile=log/mir.log
233 Module.Bilder.Logfile=log/mir.log
234
235 ServletModule.Content.ConfirmTemplate=admin/confirm.template
236 ServletModule.Content.ObjektTemplate=admin/content.template
237 # is the next line ever used??? dont thinks so [br1]
238 #ServletModule.Content.OpTemplate=oplist.template
239 ServletModule.Content.ListTemplate=admin/contentlist.template
240 ServletModule.Content.Logfile=log/mir.log
241 Module.Content.Logfile=log/mir.log
242
243 ServletModule.Mediafolder.ConfirmTemplate=admin/confirm.template
244 ServletModule.Mediafolder.ObjektTemplate=admin/mediafolder.template
245 ServletModule.Mediafolder.ListTemplate=admin/mediafolderlist.template
246 ServletModule.Mediafolder.Logfile=log/mir.log
247 Module.Mediafolder.Logfile=log/mir.log
248
249 #
250 # config used for OpenIndy
251 ServletModule.OpenIndy.CommentTemplate=open/comment.template
252 ServletModule.OpenIndy.CommentDoneTemplate=open/comment_done.template
253 ServletModule.OpenIndy.CommentDupeTemplate=open/comment_dupe.template
254 ServletModule.OpenIndy.PostingTemplate=open/posting.template
255 ServletModule.OpenIndy.PostingDoneTemplate=open/posting_done.template
256 ServletModule.OpenIndy.PostingDupeTemplate=open/posting_dupe.template
257 ServletModule.OpenIndy.Logfile=log/openindy.log
258
259 #
260 # config for ServletModuleComment - browsing/editing/deleting comments
261 Module.Comment.Logfile=log/comment.log
262 ServletModule.Comment.Logfile=log/comment.log
263 ServletModule.Comment.ConfirmTemplate=admin/confirm.template
264 ServletModule.Comment.ObjektTemplate=admin/comment.template
265 ServletModule.Comment.ListTemplate=admin/commentlist.template
266
267 #
268 # config for Breaking - browsing/editing/deleting breaking news
269 Module.Breaking.Logfile=log/breaking.log
270 ServletModule.Breaking.Logfile=log/comment.log
271 ServletModule.Breaking.ConfirmTemplate=admin/confirm.template
272 ServletModule.Breaking.ObjektTemplate=admin/breaking.template
273 ServletModule.Breaking.ListTemplate=admin/breakinglist.template
274
275
276 #
277 # config for messages - browsing/editing/deleting internal messages
278 Module.Messages.Logfile=log/message.log
279 ServletModule.Messages.Logfile=log/comment.log
280 ServletModule.Messages.ConfirmTemplate=admin/confirm.template
281 ServletModule.Messages.ObjektTemplate=admin/message.template
282 ServletModule.Messages.ListTemplate=admin/messagelist.template
283
284 #
285 # config for languages - browsing/editing/deleting languages
286 Module.Language.Logfile=log/message.log
287 ServletModule.Language.Logfile=log/mir.log
288 ServletModule.Language.ConfirmTemplate=admin/confirm.template
289 ServletModule.Language.ObjektTemplate=admin/language.template
290 ServletModule.Language.ListTemplate=admin/languagelist.template
291
292
293 #
294 # producer-related configs below
295 #
296
297 Producer.ExtLinkName=extlink.gif
298 Producer.IntLinkName=intlink.gif
299 Producer.MailLinkName=maillink.gif
300 Producer.Logfile=log/producer.log
301
302 Producer.Navigation.Template=producer/navigation.template
303
304 Producer.Content.Template=producer/content.template
305 Producer.Content.Batchsize=10
306
307 Producer.PrintableContent.Template=producer/printablecontent.template
308 Producer.PrintableContent.html2foStyleSheetName=producer/html2fo.xsl
309
310 Producer.Startseite.Template=producer/startseite.template
311 Producer.Startseite.Entries=7
312 Producer.Startseite.Pages=10
313 Producer.Startseite.Termine=5
314
315 Producer.Themen.Template=producer/themen.template
316 Producer.Themen.Entries=7
317 Producer.Themen.Pages=3
318
319 Producer.Schwerpunkte.Template=producer/schwerpunkte.template
320 Producer.Schwerpunkte.Entries=7
321 Producer.Schwerpunkte.Pages=3
322
323 Producer.Overview.MonthTemplate=producer/ov_month.template
324 Producer.Overview.YearTemplate=producer/ov_year.template
325
326 Producer.List.Template=producer/list.template
327 Producer.TopicList.Template=producer/topiclist.template
328 Producer.OpenPosting.Template=producer/openposting.template
329 Producer.FeatureList.Template=producer/featurelist.template
330
331 Producer.StartPage.Template=producer/startpage.template
332 Producer.StartPage.Items=10
333 Producer.StartPage.Newswire=30
334
335
336 # todo: do we need those?
337
338 Xsl.Content=producer/content.xsl
339 Xsl.Fo.Content=producer/frontpage_fo.xsl
340 Xsl.StartPage=producer/index.xsl
341 Xsl.TopicList=producer/topic.xsl
342 Xsl.OpenList=producer/open.xsl
343 Xsl.Wap=producer/wml2.xsl