I Blog with Raw HTML
devpoga.org
devpoga.org
The blog itself is, of course, optimised for viewing in Lynx. In fact it only works in Lynx
Real professional software developers only use the subset of HTML which ISO standardised in 2000 as ISO/IEC 15445:2000 with additional validating constraints. Published via SOAP ands WS-*.
That doesn't sound like raw HTML to me. I write my own blog in raw HTML with a text editor (BBEdit), no JavaScript, and no server-side script either.
For good measure, I also write my RSS feed in raw XML with a text editor.
For what it's worth, I don't think there's anything wrong with that. My blog is written in markdown. HTML is a deeply unpleasant thing to write blogs with.
But on the other side, writing in raw HTML is a fascinating topic I've been very intrigued by. http://john.ankarstrom.se/html/ is a very inspiring post.
This, combined with git forges pages concept or tilde user accounts makes for nice corners in the webs.
Maybe if it was a unique, special pairing knife, sure. That could be a real conversation. But it’s just a normal pairing knife. You’re just announcing you make the thing, with the other thing that makes the first thing.
No? You don't need to upgrade to the version that deprecates. Besides, what features are you using with such a simple blog the are at risk?
Ahhh...
> with md-block for markdown
> You describe the page, and then... you're done
Unless you want to re-describe something, of course. Maybe sort a column in a table...
No one says that single binaries compiled in the last 10 years might be usable without a VM in another 10 or 20 years.
And no, 20 years for the same blog to exist isn't even so rare.
But there is an even easier one - nothing will happen to your html built files of 20 years, they'll remain... static.
The worst is you'll go to updating your lovely html by hand, but you would've saved yourself wasting 20 years doing that instead of using a better system.
And another one loaded from the website of the creator of that module! Last commit 2 years ago. Created 1 year before that. Will it continue to exist?
Of course opening the index in tramp, putting the heading, timestamp and p tag goes into a function or paused kbd-macro so it fits into Mx blogthis
You do it just like that. But with vi.
Blog content is assembled via various SGML entities includes into a prehtml file of "-//ISO-HTML User's Guide//DTD ISO-HTML Preparation//EN" doctype per ISO 15445:2000 recommendations[0]. This is all processed with osgmlnorm through a somewhat simple Makefile to generate the resulting HTML files.
http://www.blogabond.com/xsl/vistacular.xml
The upside is that the entire html page is content. I defy google to not figure out what to index here:
view-source:http://www.blogabond.com/xsl/vistacular.xml
The downside is everything else about the experience.
Browsers are, and HTML is on v5 and has deprecated things.
And using JS definitely can be deprecated too.
"Just raw HTML" is an odd statement when it's obviously not.
And the if some markdown and JS are ok, why not some CSS too?
<html><head><title>My HTML Page</title></head><body>Hello world!</body></html>
Is technically "invalid", but it's "html" in the sense that everything from w3m and Netscape Navigator through to Chrome bleed will render it as intended.
(About to click the [reply] button hoping the HN software doesn't screw all that markup up.)
[1]: https://github.com/poga/devpoga.org/blob/58a202485cedeae9157...
And the definition of ”HTML”. Document is markdown.
The meaning of static HTML is the least contentious. A static HTML page is just an .html (or .htm, or anything else if the mimetype is set right) hypertext markup langage document that is stored on a file system as a file and sent to the end user when they request the URL that maps to that file. The HTML encodes what the web site user will see and does not change.
When the static .html file includes "static" (not really since it is executed code) javascript (or other executing language embeds) that changes the page to something other than displayed by the html in the file on disk. So it becomes a dynamic HTML page (for ~5 years called "DHTML").
The only place where static HTML becomes unclear is in the case where some webserver linked program generates the static HTML on demand with no storage of the HTML as a file on the filesystem before being sent to the site user. In this case even though the user sees only static HTML there's crucially no file ever created on the webserver so it's dynamic HTML.
The meaning of static website is increasingly more unclear compounding on the fuzziness of what a static HTML page is. Generally there are the same two points of view as above but with a tweak.
There's the website users point of view where a static web site is static if the pages are just HTML and do not require executing any code to view. If you (or your browser) look at the source you can read the text and see the image URLs. It does not have to be generated by the browser's execution of some client side code.
Then there's the developer point of view where a static web site if the code required to generate the website is stored in a static file on the webserver. In this framing you can deploy a self contained .html file which includes the javascript code for a client side dynamic web application. This web application can completely change the text shown and even draw in outside information not in the file. But since it can be put on a CDN as a static asset it is a static web site.
You advocate the developer-view of what static website means. But this perception is a modern overloading of the phrase. For literal decades static meant what the user-view of static website. Neither is wrong but unless you state it explicitly there will be misinterpretation like above.
"raw html" that does not work without JS (I mean literally, links are not links without JS), but on the other hand looks ugly even if 10 lines of CSS would make it look nice
But build yourself a static site generator, its a few hours work tops.
Then you have something to blog about.
I too take a basic approach, where I use pandoc to generate HTML according to a template, but I'm lacking an RSS feed. That's a bit fiddly to hack up.
https://dthompson.us/projects/haunt.html looks okay.
How long ago were the default CSS rules set for a browser. They should probably change.
An overview of the protocol, proxied from Gemini to HTTP, available here: https://geminiprotocol.net/
https://daniel.haxx.se/blog/2023/05/28/the-gemini-protocol-s...
Like the URL parsing stuff for example. The issue is that they pull in one of these enormous old RFC’s and also say “but UTF-8” without any more explanation.
A better URL might be a good thing — scope it down to what’s in common use, design it tightly for your needs, etc. But if you’re gonna do that, do it! Rather than just pulling in an RFC with decades of baggage and then modifying it ad-hoc.
If you run your own webserver and write HTML then check out server side includes. Being able to include .html fragments in other .html files means no need to edit the same bit in dozens of .html files (ie, left_menu.html, footer.html, etc). And since SSI hasn't really changed in 20 years the major implementations (nginx, apache, etc) have basically nill attack surface or mantainence burden. And there's no "rebuilding" or anything that's not HTML markup to maintain.
HTML+webserver SSI is just more HTML but without the redundant editing.
https://ontology2.com/the-book/html5-the-official-document-l...
though I also published some Jupyter notebooks
https://ontology2.com/essays/PropertiesColorsAndThumbnails.h...
Upgrading hugo is not straightforward due to the backward incompatibility changes. Too much changes to care for a static generator.
Regarding the topic, I resonate with the concern about personal blog having to follow the convention of certain technology. Wouldn't say I enjoy reading it (or any site) without some minimal styling though.
I can write a script to generate that from the list of article but I'm not sure if there's better way.
On the plus side, a personal project only changes when you intend for it to, so you don't need to worry about breakage. (Unless your scripting language breaks.)
I blog (for work) on WordPress and hate it. I could imagine using org mode or markdown, pandoc to emit HTML with some tuning and a simple script to publish via sftp.
It's a GitHub Action that regularly scrapes your page and checks for new entries, turning it into an RSS feed. Set up a redirect yourblog.com/feed -> you.github.io/feeds/feed.xml, then you're golden.
View source on this page: https://justine.lol/rss.xml
I got the template from a friend.
Very easy.
[0] it's particularly bad on https://devpoga.org/cheap-complexity/
[1]: https://sgmljs.net/docs/sgmlrefman.html#short-references
Just ignore the markdown and Javascript....
An example of what I mean: http://bettermotherfuckingwebsite.com/
A more flashy example: https://thebestmotherfucking.website/
"Raw. But cooked"
At the very least the discussion here is popcorn worthy.
Here's how you write a blog with raw HTML:
1. Write some HTML to a file. (No loading third-party JavaScript.)
2. Host that file.
That's it, that's the whole thing.
I don't need anything beyond the shell to echo binary values to the end of my current file.
You can not beat me.
I will publish at least one paragraph long blog post before the end of the month... /s
...served by a simple Kubernetes cluster, I suppose? Back to the roots!
/s