Conversation

A little more playing around with this, and it appears that this error message occurs when it cannot validate the html. And by validate the html, I mean, require an HTML 4.01 document, and not allow arbitrary structural elements like HTML 5 allows.
2
Replying to
Yep, agree about XHTML. I used it w/ the divmod nevow framework for Twisted, and it's template engine. Dealing w/ the fact that the lxml HTML parser puts an html/body tags w/o asking me. Trying to figure out how to dump them.
1
Replying to
We use this little script to generate the releases feed for the GrapheneOS site: github.com/GrapheneOS/gra. It'll get extended to make a global news feed with the releases incorporated. Still need to choose a reasonable template engine to reuse templates. Too many bad experiences.
1
2
Replying to and
I got tired of dealing with static site generators so I've been taking a break from dealing with them. Need a decent static template system but I've been having trouble choosing. Prefer scripting validation / linting and minification / cache busting / static compression myself.
2
1
Replying to
Yeah, I have all the same issues. Finding code that "parses" html via: img = text.find("<img", pos) is always a bit scary. Do need to add validation/linting to the work flow, but at the same time, isn't that what a static site generator is suppose to do/be? ;p
1
Replying to
Yeah, I'm looking for a good template engine. I don't want to use a site generator partly because I want to be able to choose the best tool for each task. Had such bad experiences with Jekyll and other tools that I'm reluctant to use anything at all opinionated + multi-purpose.
2
1