aka The Blogulator
This is the source code for the old version of http://donaldmerand.com. I wrote a lengthy article about my reasons/justifications for doing things this way. You can read it if you like.
- Entirely filesystem-based storage. No databases.
- Page editing via either a web interface (
admin/), or by manually placing pages in thedata/folder and any uploaded files in the "files" folder.- Note that if you manually place files, you'll want to run
php recalculate_cache.phpto recalculate the page cache file.
- Note that if you manually place files, you'll want to run
- Web editing has an editor and preview courtesy of Hashify, and file upload courtesy of valums on GitHub.
- Markdown for page formatting.
- Page search using a
grepwrapper. - Decent URLs via manual hacking of
.htaccess- Apache-only, natch.
I'm releasing the code as-is, you know, for internet posterity. I'm no PHP wizard - it could be significantly less ugly, particularly in the DRY and modularization-o'-code arenas. Oh well - that's what you get when you write code you don't intend to open-source.
The following directories and their contents are Copyright Donald L. Merand. You may not reuse anything therein without my permission:
_data/
All other directories and files are MIT Licensed.