PHP-based flat-file blog engine used for the old donaldmerand.com
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
admin
data
include
.gitignore
README.md
cache
favicon.ico
index.php
recalculate_cache.php
search.php
view_archive.php
view_item.php
view_rss.php

README.md

donaldmerand.com - the PHP version

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.

Highlights

  • Entirely filesystem-based storage. No databases.
  • Page editing via either a web interface (admin/), or by manually placing pages in the data/ folder and any uploaded files in the "files" folder.
    • Note that if you manually place files, you'll want to run php recalculate_cache.php to recalculate the page cache file.
  • 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 grep wrapper.
  • 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.

License

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.