Conversation

Replying to
I have a feeling that their validator requires zero white space between the content and the html tag. The error: Invalid HTML: html needs to be the first start tag. The context: <content type="html"> &lt;html&gt;&lt;body&gt; Sure looks like the first tag is html there.
1
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, hyde is just a wrapper around the template engine and doesn't deal w/ the other parts of linting/mimification. It has a bit more smarts for collecting meta information about posts which makes it nice. As with static site generators, targeting a blog, and not other sites.
1
Replying to and
Have no intention of having a blog but rather articles that are maintained long-term and potentially replaced / retired. Will likely have news, but as a single page. Many of those static site generators are very focused on publishing a single blog with a basic site around it.
1
1
Show replies