

Just ask the developers you know how many posts they made in the last two months and how many changes they made to their blog source-code in the same period… the answer will be a revelation to both of you. Without that you’ll keep working and reworking your CMS and system until it is perfect and will never actually write any post.
Marsedit switch blog software#
It is only by accepting a bit of disorder in your life that you can have an effective blog if you’re a software developer. I don’t mind it much anymore, I’ve learned to embrace a bit of chaos. Still mistakes creep in, specially if somehow the rendering process crashes and has to be restarted. That made me create some overly complicated makefileto rebuild all the collection pages if any post page is touched, etc. It is a bit fragile and it can be out-of-sync with what is on disk if the render pipeline ends up rendering a post after rendering a collection.

All pages that need to assemble collection of posts query that database instead of traversing the filesystem. This database is not crucial and can be deleted at any time, it will simply be recreated from scratch once the build script runs again. Every time a post is rendered to HTML, metadata about it is inserted into a SQLite database. A clever trick is employed to solve that. Only the HTML files are published to the website, the source files remain outside of the web server root folder.Īssembling collection pages such as the index, the RSS feeds, and tag collections would be very slow if the blog had to traverse all text files every time to find their tags and dates. A HTML file is created next to the original source file once Pollen processes it. The selected file in the screenshot above is the post I made yesterday. Screenshot of a Finder window showing the source folder for this blog.

A folder hosts all the files that makes up the source of the blog and a clever build script goes over it using Pollen and assembling the HTML and other text files. This blog is a static site generated using Pollen. So, let’s talk about how this blog actually works.
Marsedit switch blog code#
I understand all that is going on until we reach the Pollen source code itself, then it is all magic. To make it work, I collated code and techniques from other people also using it to run their blogs into something that I kinda have some agency over but not as much as I’d like. Pollen is amazing, but it is not geared towards blogging.
Marsedit switch blog generator#
I was ready to be in control of my own platform and what is best than to be in control of your own CMS source-code, am I right? no.Īt the time I was completely obsessed with Racket programming language and it’s offspring Pollen, a very clever static site generator used to write many amazing books such as Beautiful Racket. What I ended up finding was all the IndieWeb stuff, and it made me fall in love with blogging again. I wish I kept the old data, but at the moment that trashing usually involved migrating to new servers or services, but that is a story for another time. I would every couple years burn it all down and create a new one in the same domain. It is not as if I didn’t had a website, it is just that I treated my websites as temporary.

Once I decided to get back into blogging, I first went on a deep rabbit hole of researching what to use.
