Calaverin

I started the /blog page and I'm kinda regretting it

May 15, 2025

Hello! This is the “first” entry of the blog, although I made others before that weren’t to my liking and I ended up deleting them.

At the time that I am writing this entry, I am still thinking about what to do with the development of the blog page, but I think it’s better to start writing something and stick with the current system than keep refactoring endlessly and share nothing.

This is not something that the reader should be aware of. If I do this right, not much should change on my website, but since it’s part of the fun of making the site, I thought I would share it with you.

First of all I want to explain the current inner workings of this blog

I wanted to write these entries in a markup language called Markdown which is very good and easier to write than pure HTML, but it still gives me the possibility to embed HTML in Markdown, yes! with CSS and all.

So I can do things like this: … Rotating image

It’s very flexible!! and I love flexibility. And I wanted to make it very simple for me to write new entries, so I decided to dump all my Markdown files in one folder and automate the publishing and rendering on the website. Actual posts folder with only one markdown file

After that I wanted to create an RSS feed, so anyone can subscribe to it and get the latest blog publications, all of this is kind of new for me. I was aware of RSS feeds and what they are used for, but I’ve never made one, and as always I wanted to automate it 😼

I already had a method to get all the information of the files in my posts folder with all the metadata. All I had to do is create a method that creates a .xml file with the information of all the posts and ¡It worked! It’s very simple, you can see the RSS feed in www.calaverin.com/rss.xml add this link on your favorite RSS reader and you will get all the new posts I upload!

Repentance

First of all, I love visiting other indie-webs and steal get inspired by them, I recommend zhongvie button It’s very good! 👍

Anyways, she recently added an RSS feed, but it’s not only to share new blog posts, it also shares new modifications of the entire page like “latest changes”, it’s brilliant! and I want to do that. But that implies refactoring my current system for publications. And I refuse to write the rss.xml by hand.

Then I think that I could make a small database to store the metadata of the blog posts, and use common SQL to do all kinds of stuff like group posts by tags instead of my hacky way to fetch the blogs based on a bunch of files in a folder.

Currently I use something called frontmatter it’s a header of the file that looks like this: markdown of this very post

But if I decide to implement a small database for the blogs, I will no longer need frontmatter because all of this information could be in one table.

I want to do all of these things, but I’ll have to be careful about entering a refactoring rabbit hole. For now, I will stick with what I have, because I want to work on so many aspects of the page.

~Calaverin ☠️