Contents
Abbreviation Parser
Description
The Abrreviation parser allows you to define abbreviations that will be then expanded on with the <abbr> HTML tag.
Download & Release Notes
Download |
Release Version |
Moin Version |
Release Notes |
1.0 |
1.6 |
Installation
For general installation instructions, see ParserMarket/InstallingParsers. This parser requires no special dependencies, such as outside Python libraries.
Usage
To use this parser, specify an alternate page parser by using the processing instruction '#format abbr'
Example
#format abbr ^WAI^ WAI is an abbreviation.
For more detailed examples, see /Examples
Copyright
This parser is copyrighted by OliverSiemoneit and JohannesBerg
License
This parser is released under the terms of the GNU GPL.
Discussion
One problem remains unsolved: How to deal with the caching mechanism? It would be fine that after changing the AbbrDictPages the cache of the pages taking the abbreviation explanations from these AbbrDictPages is invalidated so that the explanations are correctly updated. But I don't know how to do that.. Maybe it wouldn't be such a problem with an AbbreviationMacro instead of an AbbreviationParser. On the other hand parser markup is much shorter so the chance is higher that people do use that...
Would be nice to have a Dict for all that things like IMAO, OTOH, IMHO, AFAIK and so on - at least for me...
Since ^ is already used for superscripts (i.e., x^2^ produces x2) perhaps it is better to use a different delimiter. --JohnCarlson 2008-01-06 02:35:21