.jh
A Darker Shade of Black

New blog

Posted by
.jh
on

afresh1@ graciously hacked up a Plack app for blogsum and like that I was rid of mod_perl and blogsum was running again. However I had for a long time been contemplating moving to something else, something with fewer dependencies and which could run in either nginx or OpenBSD’s httpd(8). I had looked at sblg but I didn’t really want to write XML nor am I good enough at CSS to figure out how to get it to look enough like my existing blog, so it fell to the wayside.

One day I ran across reyk’s post about moving to sblg and there I had 95% of all the scaffolding I needed to get my blog converted. Using that and then hacking up the CSS wasn’t too hard (how hard is an all black theme anyway?). There were a few stumbles, he has all his posts in a single directory which offends my sense of order as I liked to have them grouped by at least year. A few hours of hacking the Makefile and templates and that was mostly fixed. Then came the big one, I have tags which are not single words, now sblg explicitly allows for this but the Makefile could not handle it. In the end it was really just three changes but as someone unfamiliar with Makefiles and whose shellscripting skills are on the rudimentary side it took way longer than expected. I’m also fairly certain my solutions are inefficient, they work but they could probably be vastly superior.

Lastly I had to add some rewrites to nginx to deal with the changed uri, on the old blog it contained the month as well as year, this was dropped as I don’t post enough to warrant the additional directories. The old uri could also contain colons, which now have to be dropped. The rewrite proved quite simple, which is always nice.

Other than squeezing some efficiency out of my Makefile, my other remaining issue is figuring out if there is a way to include the bandcamp links in the markdown version which each post starts as. As I read it, this doesn’t seem possible, but perhaps there is some way around it. For now the workaround is to insert them later in the xml file directly. Ugly and hackish but it works.

Permalink, Source, Tags: about2017blog

Latest

All posts →

Tags

blog music best of 2013 playlist running 2011 2009 2021 2010 best of 2009 2018 2019 2017 best of 2018 best of 2017 best of 2013 best of 2011 best of 2010 2022 best of 2023 best of 2022 best of 2021 best of 2020 best of 2019 best of 2016 best of 2015 best of 2014 best of 2012 2023 2020 2016 2015 2014 2012 Blut Aus Nord riding ThrowbackThursday Nightbringer Deathspell Omega about Spektr Shining Peste Noire Mgła Mephorash Funeral Mist Anaal Nathrakh Aara traffic thoughts openbsd driving cars Ungfell Selbst Sargeist Porta Nigra Nazxul Misery Index Jordfäst Gaerea Funereal Presence Drudkh Cénotaphe Blaze of Perdition Behexen Ashencult Ash Pool Aorlhac Akhlys Afsky מזמור and Thou מזמור worst idea ever trip report travel tech sblg rdist politics people i can do without nostalgia mdf marriage holiday decorations hate family guy end dmv darker Woods of Desolation Watain Véhémence Vanum Vallendusk Ulcerate Uada Tyranny Thantifaxath Taubrą Sühnopfer Sphere Slow Sisyphean Shroud of Despondency Satanic Warmaster Sangus Pensées Nocturnes One Master Ondskapt Olde Throne None Nachtmystium Myrkskog Murg Mournful Congregation Mondocane Misþyrming Misotheist Merrimack L’Homme Absurde Lycus Lord Impaler Lifelover Lamp of Murmuur LVTHN Krieg Katharsis Kampfar Inquisition Immortal Hæthen Grafvitnir Gorgoroth Glorior Belli George Carlin Forlet Sires Ferriterium Emptiness Dødsengel Délétère Dumal Det Eviga Leendet Deströyer666 Deivos Dauþuz Darkspace Crafteon Canopy Cadaver Inc. Bâ'a Burzum Blood Abscission Blodhemn Bestia Arcana Belphegor Bell Witch Barghest Auðn Ateiggär Ash Borer Aset Arckanum Aosoth Aoratos Antzaat Antaeus Amon Amarth Aldebaran Acrimonious Abbotoir