PHP 5.5+ Rewrite of duanejeffers/bloog