mod_acronym -

mod_acronym is a sample filter module for Acronyms.
mod_acronym is a sample filter module for Acronyms.

Installation:

Directives:

AcronymFile "/path/to/acronyms.txt"
Fileformat:
< acronym > ':' < description > 'n'.
or in perl: ^s*([^:]+)s*:s*(.*)$
Lines starting with a # are ignored.
Permited
On global server level only.

AcronymEnable < yes|no >
Permited
On resource level.

Compile information:

compile(c), install(i) and activate(a) with
apxs -cia mod_acronym.c

Use information:

configure by adding something like:

AcronymFile /usr/share/misc/airport

< Directory /www/htdocs/foo >
AcronymEnable yes
.....
< /Directory >

in your httpd.conf.

Caveats:

· Example code - very inefficieny.
· Does not respect html comments, tags, etc.
· Handles simple strings only - should use ptr/len to cope with binary/utf8/binary formats.
· Mangles Content-length.
· Hardcoded HTML.
· Primitive acronym detection; inflexible and inefficient.
· Ignores tags like .
· Relies on a non configurable image 'dagger.gif'.
· Many, many more..

Requirements:

· Apache 2.x

last updated on:
May 26th, 2006, 21:40 GMT
price:
FREE!
developed by:
Dirk-Willem van Gulik
homepage:
people.apache.org
license type:
The Apache License 
category:
ROOT \ Internet \ HTTP (WWW)

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!

Add your review!

SUBMIT