#Binka
A semi-static PHP-based blog engine, with posts rendered from static Markdown files. No underlying database, no administrative console, built-in short URLs, comments outsourced to Disqus, each post is a physical file that works in a version control system.
It isn't ready yet. I haven't even implemented Markdown support yet. ;-) I only started it yesterday. Take it easy.
Binka is created and maintained by Ben Scott/Belfry Images.
##Installation
- fork the project from Github
- play with the configuration in
/app/controllers/binka.php
- set up your own layout in
/app/views/layouts/default.php
- tweak the rest of the views to get the markup you want
- add some posts to
/posts
- copy everything to the live server
##Usage ###Posting a new blog entry
A blog entry in Binka is a Markdown-formatted plain text file saved to the /posts folder. Files should be named {shortlink}_{permalink}.md
.
- The
{shortlink}
is used for the short URL, but is most importantly used to order the posts. It is an alphanumeric code that should increase for each post. I would suggest starting at '1' up to '9', then 'a' then 'A' up to 'z' then 'z', then '10', and up, so you'll get shortlink codes like13f7R
. - The
{permalink}
is the extended link to the post. For example, the post titled 'My Example Post' could have a permalink ofmy_example_post
.
Joined together, we get filenames like 13f7R_my_example_post.md
. That post could then be viewed via the following URLs:
- http://example.com/post/my_example_post
- http://example.com/p/my_example_post
- http://example.com/post/13f7R
- http://example.com/p/13f7R
The /p
path is an alias for /post
.
The post file is created locally, in a local working copy of the site. To post online, the file is just copied over. The post is available immediately and the landing page and RSS feeds just show the latest 10 (by default) posts ordered by the shortlink.
##Contributing Contributions are welcome, in any form including code contributions, bug reports, feature suggestions, documentation, testing, and general feedback. The current version can be forked from its Github repository. I'm using PivotalTracker for story tracking, and issues can be submitted on the Github page.
##License ###Binka License I haven't even bothered with Creative Commons on this at the moment as it really is basic. Therefore the current branch of development is Public Domain. This may change in the future. It is likely that a future version will use the Creative Commons Attribution license.
###Third party libraries and components
- The Slab MVC framework uses the CC A-SA license
- Markdown Extra Copyright (C) Michel Fortin, based on Markdown Copyright (C) John Gruber