Skip to content

Edirom Online, a new version of our presentation tool based on web technologies (mainly ExtJS).

Notifications You must be signed in to change notification settings

OPERA-Editions/Edirom-Online

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Edirom Online

Table of contents

Edirom Online is a web application written in XQuery and Javascript, based on the work of the Edirom-Project (http://www.edirom.de) funded by the German Research Foundation (DFG). This software brings paperbased historio-critical editions of musicians handwritings to the pc.

Edirom Online depends heavily on the javascript framework ExtJS (http://www.sencha.com/products/extjs/) which is included in parts in our code base. We use ExtJS 4.0.7 in the GPL version. Edirom Online also includes the Raphaël javscript library (http://raphaeljs.com, MIT License) and the ACE editor (http://ace.ajax.org, BSD license).

The software is still under high development and has to be seen as beta software.

Dependencies

Deploy eXist (eXist deployment documentation) and Digilib as webapps in Jetty. We normally unpack .war archives to have better access to the configuration files, Jetty usually unpacks archives anyway.

Start jetty with java -jar -Xmx1024m start.jar (adjust the memory settings as needed) and try http://localhost:8080 and see if Jetty is available (if you changed the port, don't forget to adjust the URL). We assume that you can access eXist from http://localhost:8080/exist and Digilib from http://localhost:8080/digilib.

Set up eXist

The web application uses the FunctX library, so make sure to install the corresponding package in your database (see http://www.exist-db.org/exist/repo/repo.xml#d30107e361 for a description).

Don't forget to change the admin's password as described here: http://www.exist-db.org/exist/security.xml#d30081e624.

Set up Digilib

The Digilib archive does not contain the Apache Log4J library, you have to put one in digilib/WEB-INF/lib manually (you may use the one shipped with eXist exist/WEB-INF/lib/log4j-1.2.16.jar).

At the moment the web application assumes that Digilib's Scaler servlet is accessible from http://localhost:8080/digilib/Scaler but Digilib's configuration file digilib/WEB-INF/web.xml starts the servlet with following URL http://localhost:8080/digilib/servlet/Scaler. You may either change Diglib's configuration file from

<servlet-mapping>
  <servlet-name>
    Scaler
  </servlet-name>
  <url-pattern>
    /scaler/Scaler/*
  </url-pattern>
</servlet-mapping>

to

<servlet-mapping>
  <servlet-name>
    Scaler
  </servlet-name>
  <url-pattern>
    /Scaler/*
  </url-pattern>
</servlet-mapping>

or change all the variables describing the path to the scaler servlet in all XQueries and XSLTs. These variables will soon be unified in one variable that will be accessible through the future backend.

Other application servers

In general it should be possible to set up a server environment with Apache Tomcat, too. We never testet it, so we can't say anything about it.

Project layout

  • docs additional documentation
  • EdiromEditor contains the code of the web application's backend (very first draft, don't use it)
  • EdiromOnline contains the code of the web application's frontend

Setup

Either use pre packaged versions of the web applications listed under Downloads, check out the source with git://github.com/Edirom/Edirom-Online.git Edirom-Online or download an archived version.

Packaged web applications

Coming soon.

Source code

Use one of the possibilities to access the eXist database (WebDAV, Java Admin Client, oXygen, etc.) and upload the directory EdiromOnline to the root of the database.

Create a collection /db/contents. This is where all the content files are going to be stored.

Copy the file collections.xconf to /db/system/config/db/contents/collections.xconf and reindex the collection /db/contents (reindexing is only necessary if you already have content in this collection) as described here: http://www.exist-db.org/exist/indexing.xml#d30093e904.

All XQueries (*.xql) and XQuery Modules (*.xqm) have to be executable for everyone, so make sure to set the correct permissions (e.g. rwxr-xr-x, see http://www.exist-db.org/exist/security.xml#permissions). Expect a script for doing this task to be in place soon.

Setup Content

The easiest solution is to use our tool Edirom Editor (download at http://www.edirom.de/software) and export contents for Edirom Online. You will get an output containing the MEI files (in contents) and the referenced images (in images).

The content of contents should go into the collection /db/contents in the eXist database. For a more detailed description of the MEI and Edirom structures read here.

Put the content of images in the folder you specified in Digilib's configuration file digilib/WEB-INF/digilib-config.xml for parameter basedir-list (e.g. webapps/digilib/images). You may want to add reduced versions of the images here, too. You probably have to restart Jetty to make these images available in Digilib.

Point your browser at http://localhost:8080/exist/apps/EdiromOnline/ and you should see your content inside the Edirom Online web application.

Development

For instructions how to contribute and how to set up a development environment for Edirom Online extensions and modifications read here

License

Edirom Online is released to the public under the terms of the GNU GPL v.3 open source license.

About

Edirom Online, a new version of our presentation tool based on web technologies (mainly ExtJS).

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 71.5%
  • XSLT 17.5%
  • CSS 6.5%
  • XQuery 4.3%
  • Other 0.2%