producer.xml rewrite with extratables
[mir.git] / etc / config.properties-dist
index 4403526..958d98f 100755 (executable)
@@ -46,10 +46,14 @@ Mir.Tech-email.name=mir-coders mailinglist
 Mir.Public-email.address=mir-coders@lists.indymedia.org
 Mir.Public-email.name=mir-coders mailinglist
 
-Mir.Version=1.1beta
-StandardLanguage=de
 DirectOpenposting=yes
 
+# Default timezone to display times in in admin, producers
+Mir.DefaultTimezone= UTC
+
+# Default date/time format
+Mir.DefaultDateTimeFormat = yyyy-MM-dd HH:mm
+
 #where to put the lucene index
 IndexPath=/tmp/index
 
@@ -61,7 +65,6 @@ Log.log4j.ConfigurationFile = etc/log4j.properties
 Log.Home = log
 
 Mir.Localizer=mircoders.localizer.basic.MirBasicLocalizer
-Mir.Localizer.Logfile=log/localizer.log
 
 # The location of the producer specifiations
 Mir.Localizer.ProducerConfigFile=etc/producer/producers.xml
@@ -70,8 +73,13 @@ Mir.Localizer.ProducerConfigFile=etc/producer/producers.xml
 # If the default language is left empty, it will set the accept-language of
 # the client browser as the default.
 Mir.Login.DefaultLanguage=en
-Mir.Login.Languages=en;nl;de;qu;tr;ay;es;eu
+Mir.Login.Languages=en;de;fr;nl;es;pt;eu;sv;tr;zh;gz
 
+# For missing values, the FallbackLanguage is used as default
+Mir.Admin.FallbackLanguage=en
+
+# Show who's logged in?
+Mir.Admin.ShowLoggedinUsers=1
 
 # the templates
 Mir.Localizer.Producer.GeneratorLibrary= default=freemarker(etc/producer/)
@@ -93,6 +101,16 @@ Mir.Localizer.Admin.TopicListColumns=3
 # In which order should the topic appear?
 Mir.Localizer.Admin.TopicListOrder=title
 
+# enable deletion of comments/articles?
+Mir.Localizer.Admin.AllowDeleteComment=1
+Mir.Localizer.Admin.AllowDeleteArticle=1
+
+
+# Article Preview Link URL (Link to produced articles from within admin)
+Comment.PublicUrl=http://production.indy.code-foo.org/en/${date.formatted.yyyy}/${date.formatted.MM}/${id}.shtml
+Article.PublicUrl=http://production.indy.code-foo.org/en/${co_content.date.formatted.yyyy}/${to_content.date.formatted.MM}/${to_content.id}.shtml
+
+
 # Which producers need to be called after an article (resp. a comment) is posted
 Mir.Localizer.OpenPosting.ContentProducers= media.new;articles.changed;startpage.generate;synchronization.run
 Mir.Localizer.OpenPosting.CommentProducers= articles.changed;synchronization.run
@@ -100,13 +118,6 @@ Mir.Localizer.OpenPosting.CommentProducers= articles.changed;synchronization.run
 # Which producers need to be called after the "produce all new" link is clicked from admin
 Mir.Localizer.Producer.AllNewProducers= media.new;articles.changed;startpage.run;synchronization.run
 
-
-#note that you can't make pdf's without making fo's
-#this is actually now set in producers.xml
-#but these summarize what is said in there for the benefit of OpenMir 
-GenerateFO=yes
-GeneratePDF=yes
-
 #use rsync to mirror the website to a remote-host
 Rsync=no
 Rsync.Script.Path=/var/www/bin/rsync-copy
@@ -129,15 +140,20 @@ ServletModule.OpenIndy.DefaultMediaUploadItems=1
 # the url of the static site
 Producer.ProductionHost=http://indy.code-fu.de
 
+# the url of the public site
+Producer.PublicationHost=http://indy.code-fu.de
+
 # Produrce.StorageRoot is the directory, in which
 # the generated HTML pages will be stored
 Producer.StorageRoot=/pub/Dokumente/Indymedia/de-tech/Mir/produced
 
-# for FileEdit module
-#
-# where do we find the files? absolute path
-ServletModule.FileEdit.FileDirectory=/pub/Dokumente/Indymedia/de-tech/Mir/produced
-ServletModule.FileEdit.ExtFilter=inc
+# FileEdit module
+#   a list of directories to edit
+#   format:
+#      <name>:<path>:<file filter>:<0|1 (recursion off or on)> [, ....]
+ServletModule.FileEdit.Configuration= \
+  includes:/pub/Dokumente/Indymedia/de-tech/Mir/produced/inc:.*\\.inc:1
+
 
 #
 #
@@ -210,8 +226,31 @@ Producer.IntLinkName=intlink.gif
 Producer.MailLinkName=maillink.gif
 
 #the style sheet used to turn html into xsl:fo
+#this is not currently in use, so don't worry about it
 Producer.HTML2FOStyleSheet=/some/dir/mir/etc/producer/html2fo.xsl 
 
+# the following lines are used to construct PDFs on the fly from one or more articles
+# for the moment, if you want to change anything else about your pdfs, you 
+# will have to learn some java!
+#
+# keep in mind that there may not be enough room for all the text you enter as the 
+# value of one these options, if text doesn't appear, the only easy thing to do is 
+# use less text!
+#
+
+# a single line of big text which will appear at the top of the first page of all generated pdfs
+
+PDF.Title=INDYMEDIA SOMEWHERE
+
+# about two lines of small text which will appear at the bottom of every page 
+
+PDF.Footer=Indymedia does blah.  Content is good, and free to use for non-commercial purposes under the Open Content license. if you have questions, email someone.
+#
+# the size paper your target audience will likely have in their printers.  pick one of A4 or LETTER
+#
+
+PDF.PageSize=A4
 
 #
 # edit with caution below this line
@@ -234,22 +273,9 @@ Database.Username=postgres
 Database.Password=
 Database.Host=localhost
 Database.Name=Mir
+Database.Port=5432
+Database.Driver=org.postgresql.Driver
 
-#
-# this sets the adaptor to be used
-
-Database.Adaptor=mir.storage.DatabaseAdaptorPostgresql
-Database.Logfile=log/dbentity.log
-
-#
-# configuration for adaptor postgres
-# In this example, "Mir" is the dbname
-
-Adaptor.PostgreSQL.URL=jdbc:postgresql://localhost:5432/Mir
-Adaptor.PostgreSQL.Driver=org.postgresql.Driver
-
-# how many articles should be shown on a list-page
-Lists.Max.Items=10
 
 #
 # Servlet / Module configurations
@@ -260,3 +286,8 @@ Lists.Max.Items=10
 # as the dynamic output html.
 # also used for the HTML charset meta tag.
 Mir.DefaultEncoding=UTF8
+
+# this encoding is used for the HTML charset meta tag.
+# it must be the html charset equivalent of the Java encoding above
+# don't change this unless...
+Mir.DefaultHTMLCharset=UTF-8