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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This repository holds the new Music Ontology website.
A test build is available at:
http://raimond.me.uk/resources/musicontology.com
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.
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