toot.cat is one of the many independent Mastodon servers you can use to participate in the fediverse.
On the internet, everyone knows you're a cat — and that's totally okay.

Administered by:

Server stats:

414
active users

Public

i’m not saying you should generate websites the way that i generate websites, but whenever i look at how other people generate websites i am very unimpressed

Public

is

<element name="h1" namespace="&xhtml;">
<value-of select="atom:title"/>
</element>

really better than

<h1>{{ post.title }}</h1>

?? no. but also yes

Public

@Lady do you personally prefer using XSLT or using string templating languages? I have some mild fondness for each, myself

Public

@jamey well, i prefer XSLT if the data source is XML. if the data source isn’t XML then you might have issues

Public

@jamey i should probably add to this that i am quite fond of GNU Make, which is (at any high level of complexity) basically built on top of string templating, so

@Lady I built a big thing with m4 once and still feel like that was a reasonable choice so… yeah, string templating is okay in my book 😂

I have often wished for HTML validators that understand modern template languages though. then I wouldn't mind that the language itself doesn't understand anything about the structure of its output and can't detect errors for me

I've also wished for both XSLT and string templating languages that I could provide an input schema and validate that the template only tries to access fields that will actually be in the input