motools/musicontology.com

Name: musicontology.com

Owner: motools

Description: New MO web-site

Created: 2013-01-28 10:15:48.0

Updated: 2014-06-27 14:02:58.0

Pushed: 2014-06-27 14:02:58.0

Homepage: null

Size: 1716

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Music Ontology website

This repository holds the new Music Ontology website.

A test build is available at:

http://raimond.me.uk/resources/musicontology.com

Generating the specification

Run the following to re-generate the specification from HEAD:

$ rake

This will pull the latest version of the ontology and generate the specification using EasyRDF's phpspecgen tool.

Apache configuration

The website uses both mod_negotiation and mod_rewrite. The http://purl.org/ontology/mo/ namespace should redirect to /terms/.

The /terms/ location should have the following rules.

RewriteEngine On
RewriteBase /specification
RewriteRule ^$ /specification/ [R=303,L]
RewriteRule ^(.+)$ /specification/#term-$1 [R=303,NE]

The /specification/ location should have the following index.

DirectoryIndex index.var

And the handler for mod_negotiation type maps need to be registered.

AddHandler type-map .var

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.