Changed MediaGeneratorProducerNode to call the ChangeTracker to notify it of a modifi...
[mir.git] / etc / config.properties-dist
1 #
2 # Sample config for Mir
3 # by Matthias <mjordan@code-fu.de> 2001-09-12
4 # reorganized by <init@nadir.org>  2003-02-12
5 #
6 # The options shown here are the more frequently used options.  A full
7 # list    of   all    default    options   is    available   in    the
8 # source/default.properties file. If you  need to change any of those,
9 # just  override   the  values  in  *this*  file   (don't  change  the
10 # source/default.properties file
11 #
12 # The Mir software realizes a semi-dynamic web service:
13 # The web server that is accessed by readers has pure static
14 # pages. These pages are generated by the Mir software that
15 # consists of a collection of Java servlets and HTML templates.
16 #
17 # Mir uses a database server to store the data that is needed to
18 # build the static site.
19 # So there are basically three parts in this config file:
20 #
21 # a) general & admin setup
22 # b) static site config
23 # c) dynamic site
24 # d) database config
25 #
26 # edit this to suit your needs
27 # After editing this file, two steps need to be taken to make the changes effective:
28 #   1. ant has to be invoked.
29 #   2. tomcat needs to be restarted.
30 #
31 # This file only contains the properties that are most often changed. To view all
32 # possible config values, refer to the file default.properties, located in the
33 # source directory. Don't change settings in default.properties however, instead
34 # use this file.
35 #
36 # Note: for filename values, by default, files are used relative to the servlet's
37 # WEB-INF directory.
38 #
39 # The setup uses the following assumptions:
40 # The URL to reach the site is http://mir.someserver.org
41 # The StorageRoot of this URL is /var/www/project/site/
42 # All produced pages and media are located below this directory.
43
44 ################################################
45 ############    A) GENERAL SETUP  ##############
46 ################################################
47
48 # mir/project an contact information
49 # for display on the site
50 #
51 Mir.Name=mir.someserver.org
52 Mir.Shortname=mir
53
54 Mir.Contact-email.address=mir-project@somemailserver.org
55 Mir.Contact-email.name=mir-project mailinglist
56
57 Mir.Tech-email.address=mir-admins@somemailserver.org
58 Mir.Tech-email.name=mir-admins mailinglist
59
60 Mir.Public-email.address=project@somemailserver.org
61 Mir.Public-email.name=project mailinglist
62
63 # Default timezone to display times in in admin, producers
64 # use CET for Central European Time (Paris, Amsterdam)
65 # more timezones here: http://www.postgresql.org/docs/7.2/static/timezones.html
66 #
67 Mir.DefaultTimezone= UTC
68
69 # Default date/time format
70 # For the syntax of the format, refer to
71 # http://java.sun.com/j2se/1.3/docs/api/java/text/SimpleDateFormat.html
72 Mir.DefaultDateTimeFormat = yyyy-MM-dd HH:mm
73
74 # For missing values, the FallbackLanguage is used as default
75 #
76 Mir.Admin.FallbackLanguage=en
77
78 # warning: advanced feature. Don't change unless you know
79 # Localizers provide  a customization framework  that allows different
80 # mir sites to  behave differently. Each site can  write it's own bits
81 # of  java  code  that   override  default  behavior.   The  localizer
82 # framework  provides "hooks" where  admins can  plug in  their custom
83 # code.
84 #
85 # example setup:
86 # Mir.Localizer=org.indymedia.de.DeLocalizer
87
88
89 #################################
90 # admin interface configuration #
91 #################################
92
93 # Settings for the admin login:
94 # If the default language is left empty, it will set the accept-language of
95 # the client browser as the default.
96 #
97 Mir.Login.DefaultLanguage=en
98 Mir.Login.Languages=en;de;fr;nl;es;pt;eu;sv;tr;zh;gz
99
100 # Show who's logged in?
101 #
102 Mir.Admin.ShowLoggedinUsers=1
103
104 # enable deletion of comments/articles?
105 #
106 Mir.Localizer.Admin.AllowDeleteComment=1
107 Mir.Localizer.Admin.AllowDeleteArticle=1
108
109 #######################
110 # automated producers #
111 #######################
112
113 # Which producers need to be called after an article is posted
114 #
115 Mir.Localizer.OpenPosting.ContentProducers= \
116 media.new;articles.changed;startpage.generate;synchronization.run
117
118 # Which producers need to be called after a comment is posted
119 #
120 Mir.Localizer.OpenPosting.CommentProducers= \
121 articles.changed;synchronization.run
122
123 # Which producers need to be called after the "produce all new" link is clicked from admin
124 #
125 Mir.Localizer.Producer.AllNewProducers= \
126 media.new;articles.changed;startpage.run;synchronization.run
127
128 #########
129 # rsync #
130 #########
131
132 #use rsync to mirror the website to a remote-host
133 #
134 Rsync=no
135 Rsync.Script.Path=/var/www/bin/rsync-copy.sh
136
137
138 ###################
139 # FileEdit module #
140 ###################
141
142 # for extra flexibility editors can edit text-files from within the admin-interface
143 # these files can then be included in webpages using SSI as footer or announcement-box...
144 #
145 # a list of directories to edit
146 # format:
147 #      <name>:<path>:<file filter>:<0|1 (recursion off or on)> [, ....]
148 #
149 ServletModule.FileEdit.Configuration= \
150   includes:/var/www/project/site/includes:.*\\.inc:1
151
152 ################################################
153 ###########  B) STATIC SITE CONFIG #############
154 ################################################
155
156 # the url of the static site
157 # on the machine where mir runs on
158 #
159 Producer.ProductionHost=http://mir.someserver.org
160
161 # the url of the public site
162 # only different from ProductionHost if pages are copied to
163 # one ore more mirror-servers for delivery
164 #
165 Producer.PublicationHost=http://mir.someserver.org
166
167 # Produrce.StorageRoot is the directory, in which
168 # the generated HTML pages will be stored
169 #
170 Producer.StorageRoot=/var/www/project/site/
171
172 # use this property only if the pages are NOT produced under the docRoot
173 # of the webserver. all links in the produced pages are prepended
174 # with Producer.DocRoot
175 #
176 Producer.DocRoot=
177
178
179 #####################
180 # media server URLs #
181 #####################
182
183 # for better performance or load-sharing
184 # images/media can be copied to (and served from) different servers
185 # only in this case image- and medialinks need different URLs.
186
187 # the url of the video-server
188 #
189 Producer.Video.Host=http://mir.someserver.org/video
190
191 # the url of the audio-server
192 #
193 Producer.Audio.Host=http://mir.someserver.org/audio
194
195 # the url of the image-server
196 #
197 Producer.Image.Host=http://mir.someserver.org/images
198
199 # the url of the media-server
200 #
201 Producer.Media.Host=http://mir.someserver.org/media
202
203 # the url of the real-media-server
204 #
205 Producer.RealMedia.Host=rtsp://some.streamingmedia.server/somedir/
206
207
208
209 ############################################
210 # image/media specific storage directories #
211 ############################################
212
213 # absolute directory, where the images are saved
214 #
215 Producer.Image.Path=/var/www/project/site/images/
216
217
218 # absolute directory, where the media files are saved
219 #
220 Producer.Media.Path=/var/www/project/site/media
221
222 # absolute directory, where the realmedia data files(ra and rm) are saved
223 # the ram files which point to the RealMedia.Host get saved in the regular Media dir
224 # this should make rsyncing to a separate streaming server much easier
225 #
226 Producer.RealMedia.Path=/var/www/project/site/rtsp
227
228 # mir creates a small thumbnail-icon for each image posted
229 # relativ directory, where the thumbnails will be saved
230 #
231 Producer.Image.IconPath=/icon
232
233
234 ####################
235 # media-type-icons #
236 ####################
237
238 # by default they are stored in the webservers [docRoot]/img directory
239 # they are distibuted with the mir-source (etc/producer/images)
240 # use the "staticimages.generate" producer once to copy them in place
241 #
242
243 # Tiny Icons for the media types on the newswire summary.
244 # (right hand side of start page)
245 #
246 Producer.Icon.TinyImage=photo_small.gif
247 Producer.Icon.TinyAudio=audio_small.gif
248 Producer.Icon.TinyVideo=video_small.gif
249 Producer.Icon.TinyText=text_small.gif
250
251 #Medium sized icons used at various places
252 #
253 Producer.Icon.BigImage=photo_big.gif
254 Producer.Icon.BigAudio=audio_big.gif
255 Producer.Icon.BigVideo=video_big.gif
256 Producer.Icon.BigText=text_big.gif
257
258 #Icons used for links
259 #
260 Producer.ExtLinkName=extlink.gif
261 Producer.IntLinkName=intlink.gif
262 Producer.MailLinkName=maillink.gif
263
264 # this is the name of the subdirectory where the image-dir
265 # will be linked to.
266 #
267 Producer.ImageRoot=/img
268
269
270
271 ################################################
272 ########### C) DYNAMIC SITE CONFIG #############
273 ################################################
274
275 # the main mir-servlet
276 #
277 Producer.ActionServlet=/servlet/Mir
278
279 # the url of the openposting-servlet
280 #
281 Producer.OpenAction=http://mir.someserver.org/servlet/OpenMir
282
283 # the maximum allowed size of an uploaded media file in KB.
284 #
285 MaxMediaUploadSize=20000
286
287 # the maximum number of allowed media items to upload at once.
288 #
289 ServletModule.OpenIndy.MaxMediaUploadItems=20
290
291 # the default number of media items to upload at once
292 #
293 ServletModule.OpenIndy.DefaultMediaUploadItems=1
294
295 # path to ImageMagick executables. Default is "" (nothing), which 
296 # means executables will be searched using the default system PATH
297 # example:Producer.Image.ImageMagickPath=/usr/local/ImageMagick/bin
298 #
299 Producer.Image.ImageMagickPath=
300
301
302 ######################
303 # PDF configurations #
304 ######################
305
306 # the following lines are used to construct PDFs on the fly from one or more articles
307 # for the moment, if you want to change anything else about your pdfs, you
308 # will have to learn some java!
309 #
310 # keep in mind that there may not be enough room for all the text you enter as the
311 # value of one these options, if text doesn't appear, the only easy thing to do is
312 # use less text!
313 #
314
315 # a single line of big text which will appear at the top of the first page of all generated pdfs
316 #
317 PDF.Title=SOME MIR-SITE
318
319 # about two lines of small text which will appear at the bottom of every page
320 #
321 PDF.Footer=Mir-CMS PDF-Newsletter.  Content is good, and free to use for non-commercial purposes under the Open Content license. If you have questions, email someone.
322
323 # the size paper your target audience will likely have in their printers.
324 # pick one of A4 or LETTER
325 #
326 PDF.PageSize=A4
327
328 ################################################
329 ############ D) DATABASE CONFIG   ##############
330 ################################################
331
332 # specify your database
333 #
334 Database.Name=mir
335 Database.Username=mir
336 Database.Password=indymedia
337
338 Database.Host=localhost
339 Database.Port=5432
340 Database.Driver=org.postgresql.Driver
341
342
343 ############################################
344 # encoding configuration                   #
345 ############################################
346
347 # The default encoding charset used in the written html files as well
348 # as the dynamic output html.
349 Mir.DefaultHTMLCharset=UTF-8
350
351 # The java equivalent of Mir.DefaultHTMLCharset
352 Mir.DefaultEncoding=UTF8