Apache module
mod_annodex is a module for Apache httpd, and provides server-side support for annodex media.
mod_annodex is available for both Apache 1.3 and Apache 2.0. It is open source software, available under the Apache Software License Version 1.1.
Stable releases of mod_annodex are supplied as source tarballs:
- mod_annodex for Apache 1.3: mod_annodex-ap13-0.2.2.tar.gz (9.2 kB, Apr 15 2005)
- mod_annodex for Apache 2.0: mod_annodex-ap20-0.2.2.tar.gz (9.3 kB, Apr 15 2005)
- Release notes
mod_annodex is a handler for type application/x-annodex.
It provides the following features:
- Timed URIs are a way of
addressing time points in a resource. mod_annodex implements server-side timed query offsets, such ashttp://media.example.com/fish.anx?t=npt:00:01:20.8http://media.example.com/fish.anx?id=Preparation
A client retrieving such a resource will view the media stream immediately from the requested time or named offset, allowing other annodex media files or web pages to use such timed hyperlinks to link directly to a point of interest.
- CMML preprocessing; CMML is an HTML-like markup for media, providing timed hyperlinks, metadata and annotations. Rather than storing fully encoded annodex media, mod_annodex allows you to store the CMML and the source media file(s) separately. This allows for easier editing of the annotations, as the CMML is plain XML. mod_annodex then dynamically generates annodex media upon request of an annodex resource.
- CMML extraction: If the
Accept:HTTP Request header prefers typetext/x-cmmloverapplication/x-annodex, then CMML content is returned. This content is produced either dynamically by extracting it from stored annodex media, or by serving a stored CMML file. This behaviour is invoked when a client includes anAcceptHTTP Request header such as any of the following:Accept: text/x-cmmlAccept: text/x-cmml;q=1.0, application/x-annodex;q=0.5
However, annodex media is served if a client includes an HTTP Request header
such as any of the following:Accept: */*Accept: application/x-annodexAccept: text/x-cmml;q=0.5, application/x-annodex;q=1.0Accept: text/x-cmml;q=0.0, application/x-annodex;q=1.0
Install apache2 module with APT under ubuntu
You may get it directly from the repository:
apt-get install libapache2-mod-annodexThank you package maintainer!
According to the Dependencies post, you will need APR installed. The libapache2-mod-annodex doesn't list it as a dependency which means you will need to install it manually
libapache2-mod-apreq2
libapreq2
libapr0
libapr0-dev
There may be incompatibilities depending on which version of Apache you are running. I installed it under Edgy Eft and it didn't run, however it did run first time under Gutsy Gibbon. The only different is the Apache version (or the packages..).
My Apache2.0.55 under Edgy complains:
Cannot load /usr/lib/apache2/modules/mod_annodex.so into server: /usr/lib/apache2/modules/mod_annodex.so: undefined symbol: anx_close
FrOG