I was wondering, what powers your stuff.interfree.ca blog? This looks better than writefreely, what with having replies from fedi straight up displayed on the website itself, and the possibility of actually replying right from any client.
Does it allow for people to subscribe via emails too?
@xogium No. It’s a custom statiq template with lots of JavaScript for comments and betula for the links, updated by rclone and all wrapped up in a powershell script.
@fastfinge Hmmm. It looks like writefreely uses ninja2 for template generation. I believe I could get away with customizing the base.tmpl file, this way.
What would I need as html into the post for example for this to work then?
@xogium Oh! You're absolutely correct. I moved that for...reasons...Yeah. So the full bit you would insert would be everything between lines 128 and 136.
@fastfinge Alrighty. I'll check those lines specifically. Is there any other requirement? Like for example is the fediverse post you link to having to be on a server where you store and retrieve comments?
I don't think writefreely even stores or cares about comments this way so if you reply from another fedi client to the post from the blog itself they will just disappear into the void on the writefreely side but be visible in the fedi thread itself, if that makes sense.
@xogium Nope. It can be a post on any server that supports the mastodon api. When a visitor loads the page the JavaScript runs and goes to get the comments. It all happens client side. That’s why you have to have the plain html link to the comments. If someone visits with JavaScript off the comments won’t load.
@fastfinge Oh, okay, got it. So if I have a blog post lets say for example xogium.me/the-space-between-us, I then could refer to this exact same url in the html body to load comments from?
@xogium No, you have to refer to the url of a post on mastodon. So the workflow is: post to the blog, share on mastodon, then update the blog post with the url of your toot.
@fastfinge Oh. I see, yeah.. Hmm. That's not exactly how writefreely works. You basically write a post, and then writefreely itself makes a fedi post that leads users that follow your blog to the new article you've just put up.