added working pdf-generation nodes to articles producer
[mir.git] / etc / 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 StorageRoot 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 # GENERAL SETUP
34 #
35
36 ### mir/imc information
37 Mir.Name=mir.indymedia.org
38 Mir.Shortname=mir
39 Mir.Contact-email.address=mir-coders@lists.indymedia.org
40 Mir.Contact-email.name=mir-coders mailinglist
41 Mir.Tech-email.address=mir-coders@lists.indymedia.org
42 Mir.Tech-email.name=mir-coders mailinglist
43 Mir.Public-email.address=mir-coders@lists.indymedia.org
44 Mir.Public-email.name=mir-coders mailinglist
45
46 Mir.Version=1.1beta
47 StandardLanguage=de
48 DirectOpenposting=yes
49
50 #where to put the lucene index
51 IndexPath=/tmp/index
52
53 TempDir=/tmp
54
55 Log.LogClass = mir.log.log4j.LoggerImpl
56 Log.log4j.ConfigurationFile = etc/log4j.properties
57 Log.Home = log
58
59 Mir.Localizer=mircoders.localizer.basic.MirBasicLocalizer
60 Mir.Localizer.Logfile=log/localizer.log
61
62 # The location of the producer specifiations
63 Mir.Localizer.ProducerConfigFile=etc/producer/producers.xml
64
65 # Settings for the admin login:
66 # If the default language is left empty, it will set the accept-language of
67 # the client browser as the default.
68 Mir.Login.DefaultLanguage=en
69 Mir.Login.Languages=en;nl;de;qu;tr;ay;es;eu
70
71
72 # the templates
73 Mir.Localizer.Producer.GeneratorLibrary= default=freemarker(etc/producer/)
74 Mir.Localizer.Admin.GeneratorLibrary= default=freemarker(templates/admin/)
75 Mir.Localizer.OpenPosting.GeneratorLibrary= default=freemarker(etc/open/)
76
77 # How should the custom operations (hide etc) in article and comment lists
78 # be presented?
79 # 0 = links, 1 = checkboxes, 2 = a listbox
80 Mir.Localizer.Admin.ListOperationsFlavor=1
81
82 # Which producers need to be called after an article (resp. a comment) is posted
83 Mir.Localizer.OpenPosting.ContentProducers= media.new;articles.changed;startpage.generate;synchronization.run
84 Mir.Localizer.OpenPosting.CommentProducers= articles.changed;synchronization.run
85
86 # Which producers need to be called after the "produce all new" link is clicked from admin
87 Mir.Localizer.Producer.AllNewProducers= media.new;articles.changed;startpage.run;synchronization.run
88
89
90 #note that you can't make pdf's without making fo's
91 GenerateFO=yes
92 GeneratePDF=yes
93
94 #on-time-password-protection
95 PasswdProtection=no
96
97 #use rsync to mirror the website to a remote-host
98 Rsync=no
99 Rsync.Script.Path=/var/www/bin/rsync-copy
100
101 # the maximum allowed size of an uploaded media file in KB.
102 MaxMediaUploadSize=20000
103
104 # the maximum number of allowed media items to upload at once.
105 ServletModule.OpenIndy.MaxMediaUploadItems=20
106
107 # the default number of media items to upload at once
108 ServletModule.OpenIndy.DefaultMediaUploadItems=1
109
110
111 #
112 #
113 # STATIC SITE CONFIG
114 #
115
116 # the url of the static site
117 Producer.ProductionHost=http://indy.code-fu.de
118
119 # Produrce.StorageRoot is the directory, in which
120 # the generated HTML pages will be stored
121 Producer.StorageRoot=/pub/Dokumente/Indymedia/de-tech/Mir/produced
122
123 # for FileEdit module
124 #
125 # where do we find the files? absolute path
126 ServletModule.FileEdit.FileDirectory=/pub/Dokumente/Indymedia/de-tech/Mir/produced
127 ServletModule.FileEdit.ExtFilter=inc
128
129 #
130 #
131 # DYNAMIC SITE CONFIG
132 #
133
134 # the url of the openposting-servlet
135 Producer.OpenAction=http://indy.code-fu.de/Mir/servlet/OpenMir
136
137 # use this property if the pages are not produced under the docRoot
138 # of the webserver. all links in the produced pages are prepended
139 # with Producer.DocRoot
140 Producer.DocRoot=
141
142 Producer.ActionServlet=/servlet/Mir
143
144 # this is the name of the subdirectory where the image-dir
145 # will be linked to.
146 Producer.ImageRoot=/img
147
148
149 # the url of the video-server
150 Producer.Video.Host=http://indy.code-fu.de/video
151
152 # the url of the audio-server
153 Producer.Audio.Host=http://indy.code-fu.de/audio
154
155 # the url of the image-server
156 Producer.Image.Host=http://indy.code-fu.de/images
157
158 # the url of the media-server
159 Producer.Media.Host=http://indy.code-fu.de/media
160
161 # the url of the real-media-server
162 Producer.RealMedia.Host=rtsp://some.media.server/somedir/
163
164
165 # image specific storage directories
166 # absolute directory, where the images are saved
167 Producer.Image.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/images/
168
169 # media specific storage directories
170 # absolute directory, where the media files are saved
171 Producer.Media.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/media
172
173 # absolute directory, where the realmedia data files(ra and rm) are saved
174 # the ram files which point to the RealMedia.Host get saved in the regular Media dir
175 # this should make rsyncing to a separate streaming server much easier
176 Producer.RealMedia.Path=/pub/Dokumente/rtsp
177
178 # relativ directory, where the thumbnails will be saved
179 Producer.Image.IconPath=/icon
180
181 # Tiny Icons for the media types on the newswire summary.
182 # (right hand side of start page)
183 Producer.Icon.TinyImage=photo_small.gif
184 Producer.Icon.TinyAudio=audio_small.gif
185 Producer.Icon.TinyVideo=video_small.gif
186 Producer.Icon.TinyText=text_small.gif
187
188 #Medium sized icons used at various places
189 Producer.Icon.BigImage=photo_big.gif
190 Producer.Icon.BigAudio=audio_big.gif
191 Producer.Icon.BigVideo=video_big.gif
192 Producer.Icon.BigText=text_big.gif
193
194
195
196 #
197 # edit with caution below this line
198 ######################################################################
199
200 #
201 #
202 # DATABASE SETUP
203 #
204
205 #
206 # specify your database
207
208 Database.poolMin=1
209 Database.poolMax=10
210 Database.poolResetTime=1.0
211 Database.PoolLog=log/pool.log
212 Database.Limit=20
213 Database.Username=postgres
214 Database.Password=
215 Database.Host=localhost
216 Database.Name=Mir
217
218 #
219 # this sets the adaptor to be used
220
221 Database.Adaptor=mir.storage.DatabaseAdaptorPostgresql
222 Database.Logfile=log/dbentity.log
223
224 #
225 # configuration for adaptor postgres
226 # In this example, "Mir" is the dbname
227
228 Adaptor.PostgreSQL.URL=jdbc:postgresql://localhost:5432/Mir
229 Adaptor.PostgreSQL.Driver=org.postgresql.Driver
230
231 #
232 # should be explained .)
233 #
234
235 # how many articles should be shown on a list-page
236 Lists.Max.Items=10
237
238 HTMLTemplateProcessor.Logfile=log/htmlprocess.log
239 HTMLTemplateProcessor.Dir=
240
241 Entity.Logfile=log/dbentity.log
242
243 #
244 # Servlet / Module configurations
245 #
246
247 # don't change this unless you really know your i18n.
248 # The default encoding charset used in the written html files as well
249 # as the dynamic output html.
250 # also used for the HTML charset meta tag.
251 Mir.DefaultEncoding=ISO8859_1
252 # this encoding is used for the HTML charset meta tag.
253 # it must be the html charset equivalent of the Java encoding above
254 # don't change this unless...
255 Mir.DefaultHTMLCharset=ISO-8859-1
256
257 Mir.Logfile=log/mir.log
258 Mir.ErrorTemplate=templates/error.template
259 Mir.UserErrorTemplate=templates/usererror.template
260 Mir.LoginTemplate=templates/admin/login.template
261 OpenMir.Logfile=log/OpenMir.log
262
263 ServletModule.Schwerpunkt.ConfirmTemplate=templates/admin/confirm.template
264 ServletModule.Schwerpunkt.ObjektTemplate=templates/admin/feature.template
265 ServletModule.Schwerpunkt.ListTemplate=templates/admin/featurelist.template
266
267 ServletModule.Feature.ConfirmTemplate=templates/admin/confirm.template
268 ServletModule.Feature.ObjektTemplate=templates/admin/schwerpunkt.template
269 ServletModule.Feature.ListTemplate=templates/admin/schwerpunktlist.template
270
271 ServletModule.Themen.ConfirmTemplate=templates/admin/confirm.template
272 ServletModule.Themen.ObjektTemplate=templates/admin/topic.template
273 ServletModule.Themen.ListTemplate=templates/admin/topiclist.template
274
275 ServletModule.LinksImcs.ConfirmTemplate=templates/admin/confirm.template
276 ServletModule.LinksImcs.ObjektTemplate=templates/admin/linksimcs.template
277 ServletModule.LinksImcs.ListTemplate=templates/admin/linksimcslist.template
278
279 ServletModule.Users.ConfirmTemplate=templates/admin/confirm.template
280 ServletModule.Users.ObjektTemplate=templates/admin/user.template
281 ServletModule.Users.ListTemplate=templates/admin/userlist.template
282
283 ServletModule.Images.ConfirmTemplate=templates/admin/confirm.template
284 ServletModule.Images.ObjektTemplate=templates/admin/image.template
285 ServletModule.Images.ListTemplate=templates/admin/imagelist.template
286
287 Module.UploadedMedia.Logfile=log/mir.log
288
289 ServletModule.Audio.ConfirmTemplate=templates/admin/confirm.template
290 ServletModule.Audio.ObjektTemplate=templates/admin/audio.template
291 ServletModule.Audio.ListTemplate=templates/admin/audiolist.template
292
293 ServletModule.Video.ConfirmTemplate=templates/admin/confirm.template
294 ServletModule.Video.ObjektTemplate=templates/admin/video.template
295 ServletModule.Video.ListTemplate=templates/admin/videolist.template
296
297 ServletModule.OtherMedia.ConfirmTemplate=templates/admin/confirm.template
298 ServletModule.OtherMedia.ObjektTemplate=templates/admin/media.template
299 ServletModule.OtherMedia.ListTemplate=templates/admin/medialist.template
300
301 ServletModule.Content.ConfirmTemplate=templates/admin/confirm.template
302 ServletModule.Content.ObjektTemplate=templates/admin/content.template
303 ServletModule.Content.ListTemplate=templates/admin/contentlist.template
304
305 ServletModule.Mediafolder.ConfirmTemplate=templates/admin/confirm.template
306 ServletModule.Mediafolder.ObjektTemplate=templates/admin/mediafolder.template
307 ServletModule.Mediafolder.ListTemplate=templates/admin/mediafolderlist.template
308
309 #
310 # config used for OpenIndy
311 ServletModule.OpenIndy.CommentTemplate=etc/open/comment.template
312 ServletModule.OpenIndy.CommentDoneTemplate=etc/open/comment_done.template
313 ServletModule.OpenIndy.CommentDupeTemplate=etc/open/comment_dupe.template
314 ServletModule.OpenIndy.PostingTemplate=etc/open/posting.template
315 ServletModule.OpenIndy.PostingDoneTemplate=etc/open/posting_done.template
316 ServletModule.OpenIndy.PostingDupeTemplate=etc/open/posting_dupe.template
317 ServletModule.OpenIndy.SearchResultsTemplate=etc/open/search_results.template
318 ServletModule.OpenIndy.PrepareMailTemplate=etc/open/prepare_mail.template
319 ServletModule.OpenIndy.SentMailTemplate=etc/open/sent_mail.template
320 ServletModule.OpenIndy.EmailIsFrom=mailer@somewhere.org
321
322 #
323 # config for ServletModuleComment - browsing/editing/deleting comments
324 ServletModule.Comment.ConfirmTemplate=templates/admin/confirm.template
325 ServletModule.Comment.ObjektTemplate=templates/admin/comment.template
326 ServletModule.Comment.ListTemplate=templates/admin/commentlist.template
327
328 #
329 # config for ServletModuleHidden - lists all hidden articles of one month
330 ServletModule.Hidden.ListTemplate=templates/admin/hiddenlist.template
331
332 #
333 # config for Breaking - browsing/editing/deleting breaking news
334 ServletModule.Breaking.ConfirmTemplate=templates/admin/confirm.template
335 ServletModule.Breaking.ObjektTemplate=templates/admin/breaking.template
336 ServletModule.Breaking.ListTemplate=templates/admin/breakinglist.template
337
338 #
339 # config for Breaking - editing text files
340 ServletModule.FileEdit.ConfirmTemplate=templates/admin/confirm.template
341 ServletModule.FileEdit.ObjektTemplate=templates/admin/fileedit.template
342 ServletModule.FileEdit.ListTemplate=templates/admin/fileeditlist.template
343
344 #
345 # config for messages - browsing/editing/deleting internal messages
346 ServletModule.Messages.ConfirmTemplate=templates/admin/confirm.template
347 ServletModule.Messages.ObjektTemplate=templates/admin/message.template
348 ServletModule.Messages.ListTemplate=templates/admin/messagelist.template
349
350 #
351 # config for languages - browsing/editing/deleting languages
352 ServletModule.Language.ConfirmTemplate=templates/admin/confirm.template
353 ServletModule.Language.ObjektTemplate=templates/admin/language.template
354 ServletModule.Language.ListTemplate=templates/admin/languagelist.template
355
356 #
357 # config for article type
358 ServletModule.ArticleType.ConfirmTemplate=templates/admin/confirm.template
359 ServletModule.ArticleType.EditTemplate=templates/admin/articletype.template
360 ServletModule.ArticleType.ListTemplate=templates/admin/articletypelist.template
361
362 #
363 # config for comment status
364 ServletModule.CommentStatus.ConfirmTemplate=templates/admin/confirm.template
365 ServletModule.CommentStatus.EditTemplate=templates/admin/commentstatus.template
366 ServletModule.CommentStatus.ListTemplate=templates/admin/commentstatuslist.template
367
368 #
369 # producer-related configs below
370 #
371
372 Producer.ExtLinkName=extlink.gif
373 Producer.IntLinkName=intlink.gif
374 Producer.MailLinkName=maillink.gif
375 Producer.Logfile=log/producer.log
376
377 Producer.Content.Template=etc/producer/content.template
378 Producer.Content.Batchsize=10