Exmosis Code
(Up to: Code )
This site is driven by custom-written Perl code, incorporating various other command line utils and Perl libraries, although has been kept as "bespoke" as possible to reduce dependencies, making it (hopefully) transportable between servers.
The switch to Exmosis v2 is now "complete", in that the system has shifted from a web-based, functionality-sparse (read "crap") CMS-style affair to a completely non-web driven system, using Markdown for basic text entry - which I mainly do in Vi. The basic process is:
- Edit files in Markdown + some wiki-like language for links.
- CVS files to web server, although don't make them live yet.
- Apply a "ready to publish" flag.
- Web server checks periodically for this flag, and retrieves fresh files from CVS if found.
- Markdown files are turned into HTML on request, and only once per edit.
On top of this, the files are stored as VimNotes to handle creation/modification date. There's also (loose) support for adding each file to a "section", and giving each section its own HTML template. Hopefully all the Reality Hacking stuff will get given its own proper "subsite" at some point.
The code is very messy.