Difference between revisions of "Imeji properties"

From MPDLMediaWiki
Jump to navigation Jump to search
Line 117: Line 117:
|youruserpassword
|youruserpassword
|}
|}
=Example=
<pre>
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at license/ESCIDOC.LICENSE
# or http://www.escidoc.de/license.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at license/ESCIDOC.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2006-2012 Fachinformationszentrum Karlsruhe Gesellschaft
# f�r wissenschaftlich-technische Information mbH and Max-Planck-
# Gesellschaft zur F�rderung der Wissenschaft e.V.
# All rights reserved. Use is subject to license terms.
################################################################################
#
# Properties that need to be modifid to install imeji
#
################################################################################
# URL of this Imeji instance
escidoc.imeji.instance.url=http://mydomain.org/imeji/
#Path to Jena's TDB database
imeji.tdb.path = /my/database/directory/
#Path to imeji storage (where the files are stored)
imeji.storage.path=/my/storage/directory
# User account for the imeji system administrator
imeji.sysadmin.email = admin@mydomain.org
imeji.sysadmin.password = aPassword
# Blog's URL
escidoc.imeji.blog.url=http://blog.mydomain.org
# Blog's RSS feed URL
escidoc.imeji.blog.rss.url=http://blog.mydomain.org/feed.rss
# Support email
imeji.support.email=support@mydomain.org
# The base uri of the objects stored in Jena (item, collection, album, profile): This property should not be changed after first upload!!!!!!
imeji.jena.resource.base_uri= http://mydomain.org/
# Email server config (if you want to use the email features of imeji, please edit)
# smtp server
imeji.email.server.smtp=mail.mydomain.org
# if login needed: user for smtp server
imeji.email.user=myUser
# if login needed: password for user above
imeji.email.password=myPassword
# if login needed: true, else false
imeji.email.auth=true
# The email used to send emails from imeji
imeji.email.sender=pubman@mpdl.mpg.de
################################################################################
#
# Look and feel properties
#
################################################################################
# Number of Images for the browse page
imeji.image.list.size=18
# User options for the displayed number of images
imeji.image.list.size.options=6,12,18,24,60,90,240
# Number of container in the container lists
imeji.container.list.size=10
# User options for the displayed number of container
imeji.container.list.size.options=5,10,15,20,50
################################################################################
#
# Advanced Properties: change only when you are sure
#
################################################################################
# Storage type (internal or escidoc)
imeji.storage.name=internal
# Supported languages (use ISO639-1 codes)
imeji.i18n.languages=en,de,ja
# Link to vocabulary for languages
escidoc.cone.isos639_1.all=http://pubman.mpdl.mpg.de/cone/iso639-1/all
# Help page's url
escidoc.imeji.help.url=https://raw.github.com/imeji-community/imeji/develop/imeji_static/imeji_help.html
# Width of a thumbnail
xsd.resolution.thumbnail = 103
# Width of a the web resolution
xsd.resolution.web = 357
# Set the pagination in ajax
imeji.pagination.ajaxmodus = true
# Counter for imeji objects
imeji.counter.first.value = 0
################################################################################
#
# Properties needed if storage set to "escidoc"
#
################################################################################
# URL of the FIZ framework instance
escidoc.framework_access.framework.url=http://myescidoc.org:8080
# Identifier of the eSciDoc content-model used by imeji
escidoc.imeji.content-model.id=my-content-mode-id
# Identifier of the eSciDoc context used by Imeji
escidoc.imeji.context.id=my-context-id
# eSciDoc User
imeji.escidoc.user = my_escidoc_user
imeji.escidoc.password = imy_escidoc_password
# Content-type scheme
xsd.metadata.content-category.thumbnail = http://purl.org/escidoc/metadata/ves/content-categories/thumbnail
xsd.metadata.content-category.web-resolution = http://purl.org/escidoc/metadata/ves/content-categories/web-resolution
xsd.metadata.content-category.original-resolution = http://purl.org/escidoc/metadata/ves/content-categories/original-resolution
</pre>
[[Category:Imeji_Technical_Specification|Properties]]
[[Category:Imeji_Technical_Specification|Properties]]

Revision as of 17:00, 11 February 2013

  • The properties for imeji are stored into imeji.properties.
  • This file is created during the compilation of imeji see [imeji_install]
  • imeji.properties is stored under jboss_home/conf/
property name description example
escidoc.imeji.instance.url URL of this Imeji instance http://localhost/imeji/
imeji.storage.name The name of the storage escidoc OR internal
imeji.image.list.size Default value for number of displayed Images on the browse page 18
imeji.image.list.size.options User options for the displayed number of images 6,12,18,24,60,90,240
imeji.container.list.size Default value of the number of container in the container lists (collections and albums page) 10
imeji.container.list.size.options User options for the displayed number of container (collection and album) 5,10,15,20,50
imeji.i18n.languages Supported languages (use ISO639-1 codes). Languages are defined in the bundles (labels_xx.properties and messages_xx.properties). Needs at least one value. en,de,ja
escidoc.cone.isos639_1.all Link to vocabulary of all languages iso639-1 http://pubman.mpdl.mpg.de.gggg/cone/iso639-1/all
escidoc.imeji.help.url Link to the imeji help page (html page) https://subversion.mpdl.mpg.de/repos/faces/trunk/faces/faces_static/faces_help_en_GUI_V2.html
xsd.metadata.content-category.thumbnail Content-type scheme (can not be changed) http://purl.org/escidoc/metadata/ves/content-categories/thumbnail
xsd.metadata.content-category.web-resolution Content-type scheme (can not be changed) http://purl.org/escidoc/metadata/ves/content-categories/web-resolution
xsd.metadata.content-category.original-resolution Content-type scheme (can not be changed) http://purl.org/escidoc/metadata/ves/content-categories/original-resolution
xsd.resolution.thumbnail Width of a thumbnail 103 (recommanded value)
xsd.resolution.web Width of the web resolution 357 (recommanded value)
imeji.tdb.path Path to Jena TDB database C://imeji//tdb
imeji.email.server.smtp the smtp server mail.mydomain.com
imeji.email.user the username for the smtp server account (not always needed) username
imeji.email.password The password for the smtp server (not always needed) password
imeji.email.auth Define if authorization into smtp server is needed. If true, enter user and password true or false
imeji.email.sender Email adress used to send email admin@imeji.org
imeji.pagination.ajaxmodus Enable ajax navigation (for image and container browsing) true or false
imeji.counter.first.value First value of imeji ids. Change with caution!!! 0
escidoc.framework_access.framework.url URL of the eSciDoc framework instance http://your-coreservice.com:8080
escidoc.imeji.content-model.id Identifier of the eSciDoc content-model used by Imeji escidoc:1234
escidoc.imeji.context.id Identifier of the eSciDoc context used by Imeji escidoc:4321
imeji.escidoc.user The imeji user in eSciDoc yourusername
imeji.escidoc.password The password of the imeji user youruserpassword

Example[edit]

# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at license/ESCIDOC.LICENSE
# or http://www.escidoc.de/license.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at license/ESCIDOC.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2006-2012 Fachinformationszentrum Karlsruhe Gesellschaft
# f�r wissenschaftlich-technische Information mbH and Max-Planck-
# Gesellschaft zur F�rderung der Wissenschaft e.V.
# All rights reserved. Use is subject to license terms.


################################################################################
#
# Properties that need to be modifid to install imeji
#
################################################################################

# URL of this Imeji instance
escidoc.imeji.instance.url=http://mydomain.org/imeji/

#Path to Jena's TDB database
imeji.tdb.path = /my/database/directory/

#Path to imeji storage (where the files are stored)
imeji.storage.path=/my/storage/directory

# User account for the imeji system administrator
imeji.sysadmin.email = admin@mydomain.org
imeji.sysadmin.password = aPassword

# Blog's URL
escidoc.imeji.blog.url=http://blog.mydomain.org

# Blog's RSS feed URL
escidoc.imeji.blog.rss.url=http://blog.mydomain.org/feed.rss

# Support email
imeji.support.email=support@mydomain.org

# The base uri of the objects stored in Jena (item, collection, album, profile): This property should not be changed after first upload!!!!!!
imeji.jena.resource.base_uri= http://mydomain.org/

# Email server config (if you want to use the email features of imeji, please edit)
# smtp server
imeji.email.server.smtp=mail.mydomain.org
# if login needed: user for smtp server
imeji.email.user=myUser
# if login needed: password for user above
imeji.email.password=myPassword
# if login needed: true, else false
imeji.email.auth=true
# The email used to send emails from imeji
imeji.email.sender=pubman@mpdl.mpg.de

################################################################################
#
# Look and feel properties
#
################################################################################

# Number of Images for the browse page
imeji.image.list.size=18

# User options for the displayed number of images
imeji.image.list.size.options=6,12,18,24,60,90,240

# Number of container in the container lists
imeji.container.list.size=10

# User options for the displayed number of container
imeji.container.list.size.options=5,10,15,20,50

################################################################################
#
# Advanced Properties: change only when you are sure
#
################################################################################

# Storage type (internal or escidoc)
imeji.storage.name=internal

# Supported languages (use ISO639-1 codes)
imeji.i18n.languages=en,de,ja

# Link to vocabulary for languages
escidoc.cone.isos639_1.all=http://pubman.mpdl.mpg.de/cone/iso639-1/all

# Help page's url
escidoc.imeji.help.url=https://raw.github.com/imeji-community/imeji/develop/imeji_static/imeji_help.html

# Width of a thumbnail 
xsd.resolution.thumbnail = 103

# Width of a the web resolution 
xsd.resolution.web = 357

# Set the pagination in ajax
imeji.pagination.ajaxmodus = true

# Counter for imeji objects
imeji.counter.first.value = 0

################################################################################
#
# Properties needed if storage set to "escidoc"
#
################################################################################

# URL of the FIZ framework instance
escidoc.framework_access.framework.url=http://myescidoc.org:8080

# Identifier of the eSciDoc content-model used by imeji
escidoc.imeji.content-model.id=my-content-mode-id

# Identifier of the eSciDoc context used by Imeji
escidoc.imeji.context.id=my-context-id

# eSciDoc User
imeji.escidoc.user = my_escidoc_user
imeji.escidoc.password = imy_escidoc_password

# Content-type scheme
xsd.metadata.content-category.thumbnail = http://purl.org/escidoc/metadata/ves/content-categories/thumbnail
xsd.metadata.content-category.web-resolution = http://purl.org/escidoc/metadata/ves/content-categories/web-resolution
xsd.metadata.content-category.original-resolution = http://purl.org/escidoc/metadata/ves/content-categories/original-resolution