Difference between revisions of "Roma"

From TEIWiki
Jump to navigation Jump to search
(updated How to download or buy)
(updated Getting the Roma server running)
Line 67: Line 67:
 
== Getting the Roma server running ==
 
== Getting the Roma server running ==
  
The PHP application which provides basic graphical editing of ODD files is not quite old and not regularly maintained,
+
The recommended way is to run Roma via Docker. Detailed instructions can be found in the [https://github.com/TEIC/Roma/blob/dev/README.md project Readme].
but it remains the only graphical ODD editor available (at the time of writing, 2015-07), so it is still widely used.
 
 
 
Any Council member working on maintenance of the Roma php application will first need to get it running. These are some
 
basic notes by Martin Holmes on experiences getting it working on Ubuntu 14.04 for the purposes of working on a minor
 
bug in July 2015.
 
 
 
# Make sure you have all the regular TEI packages installed, as well as trang.
 
# Get Apache installed and running with PHP5, including the <code>php5-xsl</code> and <code>php5-curl</code> modules (which are not installed by default).
 
# Get the Roma source from the latest build on e.g. [http://teijenkins.hcmc.uvic.ca/job/Roma/] (what you need is tei-roma-x.xx.zip). Unzip the contents into a directory in the web server root.
 
# Copy roma/config-dist.php to roma/config.php, and make any changes you need to. I added these lines to help me with debugging at the top:
 
 
 
  ini_set('display_startup_errors',1);
 
  ini_set('display_errors',1);
 
  error_reporting(E_ERROR);
 
 
 
Note that adding more aggressive debugging options such as E_NOTICE will actually screw up the schemas you generate, because you'll get lots of PHP error messages at the top of your schemas; the source
 
  
 
== Additional notes ==
 
== Additional notes ==

Revision as of 11:58, 27 July 2018

This page needs to be updated to reflect the move from SourceForge to GitHub.

Synopsis

Roma is the web based TEI software for generating customisations from P5 ODD specifications. It was written by Arno Mittelbach and is loosely maintained by the TEI Council.

Roma's basic job is to construct an XML document, the TEI "ODD". To generate output (RELAXNG schemas, W3C schemas, HTML documentation, etc.), Roma relies on the OxGarage web service to provide the necessary transformations.

Historically, there has been a Roma CLI tool, but this is superseded by the appropriate ANT or Shell scripts provided by the TEI Stylesheets themselves.

Features

User commentary

Please sign all comments.

System requirements

A standard modern web browser is all that is required to make use of the Roma Web Client. If you want to deploy the underlying system yourself the most convenient way is via Docker which is available for most platforms.

Source code and licensing

Roma source code is hosted on Github, at https://github.com/TEIC/roma

Support for TEI

Language(s)

Documentation

For the web version, see Customizing the TEI with Roma.

For instructions on installing the command-line version under Mac OS X, see Roma CLI Instructions [note that the locations of stylesheet and roma have moved to github and the links given are out of date, cf. [1]].

As Sebastian wrote on TEI-L on 2009-12-21, "Always remember when considering Roma and friends that the variation is in the XSL stylesheets which it uses. So 99% of error reports and bug fixes are to do with the behaviour of odd2odd.xsl and odd2relax.xsl (etc). The XSL package changes much more frequently than Roma."

Tech support

Report problems either at the TEI-L list or in the GitHub issue tracker.

User community

Sample implementations

Current version number and date of release

  • 5.0.0 (2018-07-18)

History of versions

GitHub releases

https://github.com/TEIC/Roma/releases

old releases on SourceForge

https://sourceforge.net/projects/tei/files/Roma/

How to download or buy

There are two options.

a) Pull from Docker (recommended)

docker pull teic/roma

b) Download/Clone from GitHub (for developers)

see https://github.com/TEIC/Roma

Getting the Roma server running

The recommended way is to run Roma via Docker. Detailed instructions can be found in the project Readme.

Additional notes

Also see OxGarage and Vesta.

oXygen 13.1 onwards has all the Roma functionality built it. Load up your ODD, tell it to generate a schema.