X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=source%2Fconfig.properties-dist;h=f5bc4cf1216ff46a1324cde0c952d1581d7f6891;hb=117868938164d59d720a8abc2d953a5c24475f44;hp=9c87ced1882d006ae2837f0e0ecb8aafcf6fede4;hpb=614e97dd7b2c9a672f132b2ccbad63fa2db33e93;p=mir.git diff --git a/source/config.properties-dist b/source/config.properties-dist index 9c87ced1..f5bc4cf1 100755 --- a/source/config.properties-dist +++ b/source/config.properties-dist @@ -64,29 +64,6 @@ Producer.StorageRoot=/pub/Dokumente/Indymedia/de-tech/Mir/produced # DYNAMIC SITE CONFIG # -# Home is the directory in which the compiled Java binaries are stored. -# Think of it as "install directory" of Mir. -# This collection of binaries is also referred to as "webapp" in Tomcat -# terms. -# Because Mir is a collection of servlets, Tomcat has to know where the -# servlets reside. So you have to add a link to the below directory in the -# webapps directory of Tomcat: -# cd /usr/share/tomcat/webapps ; ln -s $Home Mir -# where $Home is the below directory and Mir is the first directory level -# in HTMLTemplateProcessor.ActionRoot -# The trailing slash is important. -Home=/pub/Dokumente/Indymedia/de-tech/Mir/ - -# The following item is the class that is to be invoked by Tomcat for admin -# maintainance. It is relative to the webapps directory in Tomcat. -# To determine what class file is to be loaded, start in the webapps -# directory. In the following config item, replace "/servlet/" by -# "/WEB-INF/classes/" and append ".class". This is the name of the class -# file to be executed. -HTMLTemplateProcessor.ActionRoot=/Mir/servlet/Mir - -HTMLTemplateProcessor.DocRoot=/Mir - # the url of the openposting-servlet Producer.OpenAction=http://indy.code-fu.de/Mir/servlet/OpenMir @@ -99,7 +76,8 @@ Producer.DocRoot= # this is the name of the subdirectory where the image-dir # will be linked to. -Producer.ImageRoot=img +Producer.ImageRoot=/img + # the url of the video-server Producer.Video.Host=http://indy.code-fu.de/video @@ -110,13 +88,42 @@ Producer.Audio.Host=http://indy.code-fu.de/audio # the url of the image-server Producer.Image.Host=http://indy.code-fu.de/images +# the url of the media-server +Producer.Media.Host=http://indy.code-fu.de/media + +# the url of the real-media-server +Producer.RealMedia.Host=rtsp://some.media.server/somedir/ + + # image specific storage directories # absolute directory, where the images are saved -Producer.Image.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/images +Producer.Image.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/images/ + +# media specific storage directories +# absolute directory, where the media files are saved +Producer.Media.Path=/pub/Dokumente/Indymedia/de-tech/Mir/produced/media + +# absolute directory, where the realmedia data files(ra and rm) are saved +# the ram files which point to the RealMedia.Host get saved in the regular Media dir +# this should make rsyncing to a separate streaming server much easier +Producer.RealMedia.Path=/pub/Dokumente/rtsp # relativ directory, where the thumbnails will be saved Producer.Image.IconPath=/icon +# Tiny Icons for the media types on the newswire summary. +# (right hand side of start page) +Producer.Icon.TinyImage=photo_small.gif +Producer.Icon.TinyAudio=audio_small.gif +Producer.Icon.TinyVideo=video_small.gif +Producer.Icon.TinyText=text_small.gif + +#Medium sized icons used at various places +Producer.Icon.BigImage=photo_big.gif +Producer.Icon.BigAudio=audio_big.gif +Producer.Icon.BigVideo=video_big.gif +Producer.Icon.BigText=text_big.gif + # @@ -139,6 +146,7 @@ Database.Limit=20 Database.Username=postgres Database.Password= Database.Host=localhost +Database.Name=Mir # # this sets the adaptor to be used @@ -148,13 +156,14 @@ Database.Logfile=log/dbentity.log # # configuration for adaptor mysql -# In this example, "mir" is the dbname +# In this example, "Mir" is the dbname Adaptor.MySQL.URL=jdbc:mysql://localhost:3306/Mir Adaptor.MySQL.Driver=org.gjt.mm.mysql.Driver # # 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 @@ -179,6 +188,7 @@ Entity.Logfile=log/dbentity.log Mir.Logfile=log/mir.log Mir.ErrorTemplate=fehler.template +Mir.UserErrorTemplate=usererror.template ServletModule.Schwerpunkt.ConfirmTemplate=confirm.template ServletModule.Schwerpunkt.ObjektTemplate=schwerpunkt.template @@ -204,12 +214,6 @@ ServletModule.LinksImcs.ListTemplate=linksimcslist.template ServletModule.LinksImcs.Logfile=log/mir.log Module.LinksImcs.Logfile=log/mir.log -ServletModule.Gruppen.ConfirmTemplate=confirm.template -ServletModule.Gruppen.ObjektTemplate=gruppen.template -ServletModule.Gruppen.ListTemplate=gruppenlist.template -ServletModule.Gruppen.Logfile=log/mir.log -Module.Gruppen.Logfile=log/mir.log - ServletModule.Users.ConfirmTemplate=confirm.template ServletModule.Users.ObjektTemplate=users.template ServletModule.Users.ListTemplate=userslist.template @@ -239,8 +243,10 @@ Module.Mediafolder.Logfile=log/mir.log # config used for OpenIndy ServletModule.OpenIndy.CommentTemplate=open/comment.template ServletModule.OpenIndy.CommentDoneTemplate=open/comment_done.template +ServletModule.OpenIndy.CommentDupeTemplate=open/comment_dupe.template ServletModule.OpenIndy.PostingTemplate=open/posting.template ServletModule.OpenIndy.PostingDoneTemplate=open/posting_done.template +ServletModule.OpenIndy.PostingDupeTemplate=open/posting_dupe.template ServletModule.OpenIndy.Logfile=log/openindy.log # @@ -288,7 +294,6 @@ Producer.Logfile=log/producer.log Producer.Navigation.Template=producer/navigation.template Producer.Content.Template=producer/content.template -Producer.Content.Batchsize=20 Producer.Startseite.Template=producer/startseite.template Producer.Startseite.Entries=7 @@ -315,12 +320,12 @@ Producer.StartPage.Template=producer/startpage.template Producer.StartPage.Items=10 Producer.StartPage.Newswire=30 -Producer.Wap.Template=producer/wap.template -Producer.Wap.Items=10 + +# todo: do we need those? Xsl.Content=producer/content.xsl Xsl.Fo.Content=producer/frontpage_fo.xsl Xsl.StartPage=producer/index.xsl Xsl.TopicList=producer/topic.xsl Xsl.OpenList=producer/open.xsl -Xsl.Wap=producer/wml2.xsl \ No newline at end of file +Xsl.Wap=producer/wml2.xsl