DarkBox: A Dark Site In A Box

About

Created for an EVOKE ACT mission. You can download the code here. This site runs on the DarkBox code, too! Everything is released under the CC-BY license.

Note: even though DarkBox is designed to be a low-bandwidth and simple site (a "dark site"), it still supports anything you'd want to throw at it. You could add real time Twitter updates, an RSS news feed, or maybe even an Ushahidi map through the HTML feature.

> top

How?

So, how does this work?

Non-Technical

Simply download this ZIP file and put it up on any web server that supports PHP -- which is almost all of them! No messing with databases or anything. Make new text files in the sections directory using Markdown syntax or HTML (make your HTML files .html extensions).
It should work magically. If you want to put something in the sidebar, edit Sidebar.txt.

Technical

There's not much on the technical side. It uses the awesome PHP markdown library. Loops through files in the directory, processes the Markdown and outputs it. Does a little special handling for HTML. If you want to retheme the page, use CSS and edit index.php.

> top