4 ms·
My own! https://blog.thekyel.com/ https://blog.thekyel.com/ I built a minimal php page that just pump out html from text files. All of the blogging platforms t
by CaptSpify 10y ago
My own! https://blog.thekyel.com/ https://blog.thekyel.com/
I built a minimal php page that just pump out html from text files. All of the blogging platforms that I looked at were terribly bloated. I built this in a couple of hours. No DBs, no css, and no JS.
KISS
- rufius 10y agoCode?
- CaptSpify 10y agoI haven't open-sourced it, mostly because it's not even really worth it. Basically, it's: foreach($entries as $entry => $data) { if( file_exists( "entries/$entry" ) && is_readable( "entries/$entry" ) ) { $post = file_get_contents("entries/$entry"); echo "<a name='$entry'></a>"; echo "<h2><a href='https://blog.thekyel.com/?anchor=$entry'>$data[title]</a></h2>"; echo "<h4>$data[date]</h4>"; echo "$post"; }else{ echo "Cannot read file: entries/$entry"; } }