Software:Website Meta Language
From HandWiki
Developer(s) | Ralf S. Engelschall, Denis Barbier, Shlomi Fish |
---|---|
Stable release | 2.24.0
/ September 8, 2019 |
Written in | C, Perl |
Operating system | Unix |
Available in | English |
Type | Web template system |
License | GNU General Public License v2 |
Website | github |
Website Meta Language (WML[1]) and its associated command wmk[2] are together a free and extensible web designer's off-line HTML generation toolkit for Unix, distributed under the GNU General Public License (GPL v2). It works as an off-line content management system (aka a static site generator). It is written in ANSI C and Perl 5, built via a CMake based source tree and runs out-of-the-box on all major Unix derivates.
WML consists of a control frontend driving up to nine backends in a sequential pass-oriented filtering scheme. Each backend provides one particular core language. WML additionally ships with a set of include files which provide some higher-level features.
WML's nine backends are:
- Pass 1: Source Reading and Include File Expansion (ipp)
- Pass 2: HTML Macro Construct Expansion (mp4h)
- Pass 3: Perl 5 Programming Construct Expansion (eperl)
- Pass 4: M4 Macro Construct Expansion (gm4)
- Pass 5: Diversion Filter (divert)
- Pass 6: Character and String Substitution (asubst)
- Pass 7: HTML Fixup (htmlfix)
- Pass 8: Line Stripping and Output Fixup (htmlstrip)
- Pass 9: Output Splitting and Final Writing (slice)
See also
- Website template
- Haml
References
- ↑ "Using WML". debian.org. Archived from the original on 10 October 2016. https://web.archive.org/web/20161010001452/http://www.debian.org/devel/website/using_wml. Retrieved 30 October 2016.
- ↑ "WMK manpage". manpages.ubuntu.com. Archived from the original on 4 March 2016. https://web.archive.org/web/20160304084509/http://manpages.ubuntu.com/manpages/hardy/man1/wmk.1.html. Retrieved 30 October 2016.
External links