⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 roller.properties

📁 这个weblogging 设计得比较精巧
💻 PROPERTIES
字号:
# roller.properties## This file is for meant for Roller deployment properties# Any properties that don't change at runtime are defined here## You can override the values in this file in a couple ways ..#   1. define a roller-custom.properties file and place it somewhere#       at the root of one of your classpath locations.#       for example:#           $TOMCAT_HOME/common/classes#           $ROLLER_LOCATION/WEB-INF/classes##   2. specify a custom properties file via jvm option#       example:#           roller.custom.config=/path/to/properties/file##   **NOTE: if you run multiple instances of roller on the same server#           then you should beware of the fact that the override options above#           may affect *all* of you running instances.  if you want to do#           custom overrides for each instance then you must do it by#           placing a roller-custom.properties file at WEB-INF/classes/ in#           each of you roller installations.## properties in this file are accessed like this ...#    RollerConfig.getProperty("propname");#----------------------------------# Upload settings# The directory in which Roller will upload filesuploads.dir=${user.home}/roller_data/uploads# The context path under which resoures will be made available uploads.url=/resources#----------------------------------# Search index settings# Enables indexing of weblog entries and comments and enables search servletsearch.enabled=true# Directory in which search index is to be created (delete this directory to# force Roller to recreate the entire search index)search.index.dir=${user.home}/roller_data/search-index#----------------------------------# Cache settings, remember ... times are in milliseconds# Default settings suitable for 100 user system# Number of RSS feeds to cache (and timeout)cache.filter.rss.size=100cache.filter.rss.timeout=3600# Number of if-modified dates to cache (and timeout)cache.filter.ifmodified.size=100cache.filter.ifmodified.timeout=1800# number of blog pages to cache (and timeout)cache.filter.page.size=100cache.filter.page.timeout=3600#----------------------------------# Secure login configs# Enables HTTPS for login page onlysecurelogin.enabled=false# These are only used if secure login is enabledsecurelogin.http.port=80securelogin.https.port=443# Header to be used to determine if HTTPS is active. Needed in cases where# request.isSecure() cannot be relied on (e.g if system is behind an SSL # accelerator).#securelogin.https.headername=X-SSL# Header value to be used to determine if HTTPS is active. Leave this empty# to simply check for the existance of the header.#securelogin.https.headervalue=# Password security settings. Warning enabling password encryption may make# if more difficult to support the Atom Protocol (due in Fall 2005).passwds.encryption.enabled=falsepasswds.encryption.algorithm=SHA#----------------------------------# Enabled plugins ... remember, order does matter!!# Weblog entry editor plugins (all are off by default).plugins.page=\org.roller.presentation.velocity.plugins.topictag.TopicTagPlugin \,org.roller.presentation.velocity.plugins.textile.TextilePlugin \,org.roller.presentation.velocity.plugins.acronyms.AcronymsPlugin \,org.roller.presentation.velocity.plugins.bookmarks.BookmarkPlugin \,org.roller.presentation.velocity.plugins.email.ObfuscateEmailPlugin \,org.roller.presentation.velocity.plugins.smileys.SmileysPlugin \,org.roller.presentation.velocity.plugins.readmore.ReadMorePlugin#----------------------------------# scheduled tasks, each is comma separated list of classes# Comma separated list of task classnames to be executed once per daytasks.daily=org.roller.presentation.BlacklistUpdateTask\,org.roller.presentation.TurnoverReferersTask\# Daily task needed by Planet aggregator#,org.roller.presentation.planet.SyncWebsitesTask# Comma separated list of task classnames to be executed hourlytasks.hourly=\# Hourly task needed by Planet  aggregator#org.roller.presentation.planet.RefreshEntriesTask#----------------------------------# Velocity settingsvelocity.properties=/WEB-INF/velocity.propertiesvelocity.toolbox.file=/WEB-INF/toolbox.xml# Page model implementationvelocity.pagemodel.classname=org.roller.presentation.velocity.PageModel# Experimental page model that allows user's access to Planet aggregations#velocity.pagemodel.classname=org.roller.presentation.velocity.planet.PlanetPageModel#----------------------------------# Persistence settingspersistence.roller.classname=org.roller.business.hibernate.HibernateRollerImplpersistence.filemanager.classname=org.roller.business.FileManagerImpl# authenticator settings (experimental)authenticator.classname=org.roller.presentation.DefaultAuthenticator#----------------------------------# comment settingscomment.authenticator.classname=org.roller.presentation.velocity.DefaultCommentAuthenticatorcomment.notification.separateOwnerMessage=falsecomment.notification.hideCommenterAddresses=false#----------------------------------# ping settings# The number of attempts to try to reach a ping target before refusing to # requeue it for further retrials. If absent, this defaults to 3.pings.maxPingAttempts=3# The interval between ping queue processing runs in minutes.  Must be between # 0 and 120. If set to 0, ping queue processing is disabled on this server; # this is for clustered environments. Make sure it is nonzero on one host in # a cluster.  Don't use the value 0 here to disable ping functionality, you # will instead get an infinitely growing ping queue.  See the documentation on # the properties below to disable ping functionality if you need to.# If absent, this defaults to 5.pings.queueProcessingIntervalMins=5# The set of initial common ping targets.  This is used to initialize the # database if there are no common ping targets at startup.  Ping targets are # specified as a comma-separated list, each target in the form {{name}{url}}.  # To disable initialization of common ping targets, comment this out, or set it# to the empty value.  Common targets can be edited in the UI; this is just # used to set up some typical ones.pings.initialCommonTargets=\{{Technorati}{http://rpc.technorati.com/rpc/ping}}\,{{Weblogs.com}{http://rpc.weblogs.com/RPC2}}\,{{blo.gs}{http://ping.blo.gs/}}\,{{java.blogs}{http://javablogs.com/xmlrpc}}\,{{blogrolling.com}{http://rpc.blogrolling.com/pinger/}}# This controls whether users are allowed to add custom ping targets.  # Set this to false to disallow adding custom targets; if false, the # Weblog:Custom Ping Targets menu item will not appear and associated actions # will result in access denied messages.  Leave this false or commented for # normal behavior. # CAUTION: Setting this to true will cause the server to remove all users' # existing custom targets on startup.pings.disallowCustomTargets=false# This controls whether the Weblog:Pings menu item and its associated actions # are enabled.  Set this to false to disallow users from configuring autopings # and doing manual pings.  If absent, this defaults to true.# NOTE: There is a separate runtime property (configurable from the # Admin:Configuration page, that can be used to suspend ping processing without # disabling the UI.# CAUTION: Setting this to true will cause the server to remove all users' # existing autoping configurations on startup. Leave this false or commented # for normal behavior.pings.disablePingUsage=false# Setting both pings.disallowCustomTarget=true and pings.disablePingUsage=true # will effectively disable the ping functionality.# This is used for debugging the ping mechanism in Roller.  If this is set # to true, pings that would normally be sent will cause log messages to be sent # but will NOT actually result in real pings being sent.  Leave this false or # commented for normal behavior.pings.logOnly=false#----------------------------------# Planet Aggregator settings# Set to true to enable the Planet aggregator. This will cause:# - The main page of Roller will become an aggregated view of all blogs in the #   Roller database, plus those defined in the Planet group 'external'.# - A new menu tab will appear for Roller admin users. This allows admins to #   add/remove newsfeed subscriptions in the 'external' group.# - Users can then subscribe to several newsfeeds:#      - http://localhost:8080/roller/rss#      - http://localhost:8080/roller/planetrss#      - http://localhost:8080/roller/planetrss?group='external'planet.aggregator.enabled=false#----------------------------------# misc settingsloginfilter.rememberme.enabled=truebreadcrumbs.stacksize=3debug.memory.enabled=false# settings for old #showNewseeds macro (not related to Planet stuff)# this should probably be deprecatedaggregator.enabled=trueaggregator.cache.enabled=trueaggregator.cache.timeout=14400#---------------------------------# settings for various plugins# Optional site-wide customization settings for the TopicTag plugin.# n.b. these default settings match the coded default values that would be # applied if these were omitted.org.roller.presentation.velocity.plugins.topictag.TopicTagPlugin.defaultTopicBookmarkName=Default Topic Siteorg.roller.presentation.velocity.plugins.topictag.TopicTagPlugin.defaultTopicSite=http://www.technorati.com/tagorg.roller.presentation.velocity.plugins.topictag.TopicTagPlugin.tagRegexWithBookmark=topic:\\{(.*?)\\}\\[(.*?)\\]org.roller.presentation.velocity.plugins.topictag.TopicTagPlugin.tagRegexWithoutBookmark=topic:\\[(.*?)\\]org.roller.presentation.velocity.plugins.topictag.TopicTagPlugin.linkFormatString=<a rel=\"tag\" href=\"{0}{1}\">{2}</a>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -