html

REST is better data-oriented

How Did REST Come To Mean The Opposite of REST In the essay “How Did REST Come To Mean The Opposite of REST?“1 the author advocates for what he explains as the original notion of REST output, as distinct from HTTP requests. He probably favors XML, too, for its self-documenting features. This article immediately ran counter to my principles, though: in particular, by combining data and display he runs counter to the separation of content and display that has made CSS good.

HTML project in emacs

The Task An old (ie 10+ years old) desktop application needed to be converted to a web application for modernization purposes. The program was a simple display of textbook-style information with links to audio content. We decided to build this with as simple a technology as possible, with hopes for longevity to exceed what it has had before: raw HTML and CSS, with as little Javascript as possible, optimizing compatibility1, longevity, and load time.

Hugo HTML Omitted?

I found that my #Hugo was now omitting my html (such as embedded Youtube) with “html omitted” warnings showing up in my source. Fix with a few lines to your config.toml: [markup.goldmark.renderer] # allow html to be included unsafe = true Resources Answer was found on Hugo’s discourse here: https://discourse.gohugo.io/t/raw-html-getting-omitted-in-0-60-0/22032

Org view html

I export to HTML fairly often with orgmode. In this case “export and open” resulting in viewing the code is almost never what I want; it would be much more useful like the export pdf option, which doesn’t view to the LaTeX code but right to the PDF. Answer As per https://emacs.stackexchange.com/questions/2387/browser-not-opening-when-exporting-html-from-org-mode A setting change fixed this. M-x customize-variable org-file-apps and for files of type \\.x?html?\\' I specified firefox %s. Now it does what I want.