.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 2010 best of 2009 2018 2017 best of 2018 best of 2017 best of 2013 best of 2011 best of 2010 best of 2020 best of 2019 best of 2016 best of 2015 best of 2014 best of 2012 2016 2015 2014 2012 Blut Aus Nord riding Nightbringer Deathspell Omega Shining Peste Noire Mgła Mephorash Anaal Nathrakh traffic thoughts driving cars about Spektr Selbst Sargeist Porta Nigra Misery Index Funereal Presence Funeral Mist Cénotaphe Blaze of Perdition Behexen Ashencult Ash Pool Akhlys מזמור ÞÞÞÞÞÞÞÞÞÞÞ worst idea ever trip report travel rdist politics people i can do without openbsd mdf marriage holiday decorations hate family guy end dmv darker Yodh X - Varg Utan Flock Woods of Desolation With Hearts Towards None What Once Was Liber III Watain Vermis Venenum Scorpionis Varg och Björn Vanum Vanitas Vallendusk VII: Född Förlorare V: The Inside Scriptures Ungfell Unbound Ulcerate Uada Tyrany Transient The Synarchy of Molten Bones The Poisonous Path The Killing Gods The Irrepassable Gate The Harrowing of Hearts The Furnaces of Palingensia The Dreaming I The Confessor The Art To Disappear The Archer Takes Aim The Acausal Mass Thantifaxath Terra Damnata Tempest Sjukdom Shroud of Despondency Shem Ha Mephorash Shaped By Aeolian Winds Schöpfungswut Satanic Warmaster Sangus Sacred White Noise Resilient Relatos De Angustia Quantos Possunt Ad Satanitatem Trahunt Pedicabo Mundi Passion Paracletus Opus Serpens One Master Ondskapt Ofte Jeg Drømmer Mig Død Nothing But The Whole Nightside Emanations Nazxul Nachtmystium Mythen Murg Mournful Congregation Monte Verità Monsters Misþyrming Merrimack Menhir Memoria Vetusta III: Saturnian Poetry Memoria Vetusta II: Dialogue With the Stars Melinoë Mare Maranatha MCMXV L’Homme Absurde Lycus Lycanthropic Burrowing Lord Impaler Limbo Lifelover Let The Devil In Lenience Lawless Darkness Lamp of Murmuur La Chaise-Dyable LVTHN L'esprit Des Vents L'Ordure à l'état Pur Krieg Klagopsalmer Katharsis Kampfar Kaiserschnitt Journey Towards Ruin Inquisition In the Constellation of the Black Widow Immortal Iconoclast III I Hæthen Holókauston Holmengraa Hekatomb Heirs To Thievery Heir of Ecliptical Romanticism Handful of Stars Hallucinogen Grafvitnir Gorgoroth Gods Without Name George Carlin Gaerea Fourth Reich Four Phantoms Forlet Sires For You Men Who Gaze Into the Sun For Which He Plies The Lash Fimbulwinter Farvegir Fyrndar Exercises in Futility Eradication of Nescience Empyrée Emptiness Embracing the Lightless Depths Eleven Dragons Ego Dominus Tuus Dødsengel Délétère Dumal Drudkh Drought Deus Salutis Meæ Det Eviga Leendet Deströyer666 Demiurage of the Void Deivos Definace De Horae Leprae Darkspace Cypher Cult of a Dying Sun Cull Cremation is Irreversible Crafteon Cosmic Reawakening Conscious Darkness Condemnation Circumambulations of the Solar Inferno Canopy Burzum Book of Kings Bloodshed Across the Empyrean Altar Beyond the Celestial Zenith Blood Magick Necromance Blodhemn Black Flame Gnosis Black Clouds Gathering Bestia Arcana Belus Belphegor Bell Witch Barghest Babylon Whore Auðn Ash Borer As The Stars Arisen From The Ashes Arckanum Apocalypse Sun Aosoth Aorlhac Aoratos Antzaat Antaeus All Shall Fall Algleymi Aldebaran Ageless Fire Age of Excuse Afsky Aeons in Tectonic Interment Acrimonious Achatius Abbotoir 777 - Sect(s) 777 - Cosmosophy 1557 Rites Of Nullification