Picoblog

I wrote briefly (or not so briefly) about microblogging just recently and while the microblog code will probably be added to Saisho, I've decided to also make it available as standalone as I realize not everyone might be using Saisho.

Picoblog is very very simple but it gets the job done.

Creating a microblog page is super simple:

include_once 'picoblog.php';
$mb = new \hxii\PicoBlog('blog.txt');
echo $mb->renderEntries($mb->getEntries('all'));

This being said, please take a look at blog.php for a more complete usage example.

Demo (in Saisho)

Download from Sourcehut

Download from GitHub

Bugs