Skip to content

Latest commit

 

History

61 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

New MO web-site

Resources

Stars

3 stars

Watchers

13 watching

Forks

Releases

Packages

Contributors

Languages