From 56bf70aeadf54fd84db85d4856a73348c2f5d766 Mon Sep 17 00:00:00 2001 From: wl Date: Sun, 13 Apr 2025 03:05:18 -0400 Subject: [PATCH] new post on XHTML, change file extensions to .xhtml Signed-off-by: wl --- _zola/config.toml | 1 + _zola/templates/page.html | 3 +- _zola/theme.toml | 2 +- assets/css/main.css | 5 + blog/2025-01-24-new-blog/index.html | 56 ------ blog/2025-02-04-servers-up/index.html | 73 ------- blog/2025-03-24-the-internet-sucks/index.html | 126 ------------ blog/404.html | 3 - blog/atom.xml | 64 ++++++- blog/index.html | 65 ------- blog/rss.xml | 53 +++++- blog/sitemap.xml | 4 + index.xht | 45 ----- kopimi.xht | 31 --- links.xht | 180 ------------------ mirrors.xht | 34 ---- 16 files changed, 128 insertions(+), 617 deletions(-) delete mode 100644 blog/2025-01-24-new-blog/index.html delete mode 100644 blog/2025-02-04-servers-up/index.html delete mode 100644 blog/2025-03-24-the-internet-sucks/index.html delete mode 100644 blog/404.html delete mode 100644 blog/index.html delete mode 100644 index.xht delete mode 100644 kopimi.xht delete mode 100644 links.xht delete mode 100644 mirrors.xht diff --git a/_zola/config.toml b/_zola/config.toml index c0cac8f..478878e 100644 --- a/_zola/config.toml +++ b/_zola/config.toml @@ -19,6 +19,7 @@ title = "wanderlost" # Whether to do syntax highlighting # Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola highlight_code = true +highlight_theme = "one-dark" [link_checker] skip_prefixes = [] diff --git a/_zola/templates/page.html b/_zola/templates/page.html index 1074d78..a0f0154 100644 --- a/_zola/templates/page.html +++ b/_zola/templates/page.html @@ -8,7 +8,8 @@

{{ page.title }}

- {{ page.content | replace(from="%5B", to="[") | replace(from="%5D", to="]") | safe }} + + {{ page.content | replace(from="%5B", to="[") | replace(from="%5D", to="]") | replace(from=' data-lang="xhtml"', to="") | safe }}
{% endblock content %} diff --git a/_zola/theme.toml b/_zola/theme.toml index b56a850..f3157d7 100644 --- a/_zola/theme.toml +++ b/_zola/theme.toml @@ -3,6 +3,6 @@ description = "man I just want a custom theme" tags = [] # wtf is this for license = "GPLv3" -homepage = "https://goatse.cx" +homepage = "https://none.null" min_version = "0.4.0" demo = "" diff --git a/assets/css/main.css b/assets/css/main.css index 1a0cf3b..9c6a2eb 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -120,3 +120,8 @@ a:hover { color: white; font-size: 15px; } + +code { + font-family: FiraCode; + color: #8470ff; +} diff --git a/blog/2025-01-24-new-blog/index.html b/blog/2025-01-24-new-blog/index.html deleted file mode 100644 index 6c10c86..0000000 --- a/blog/2025-01-24-new-blog/index.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - -wanderlost - Zaydsite now - - - - - - - - - - -
-
- -
-

Zaydsite now

- -

Recently got everything working on the new site, hopefully it doesn't look too boring. I plan to -actually use this thing and not leave it to rot, so subscribe to the Atom feed if you want to get -updates on the shit I say.

-

Everything other than the blog is managed manually, the blog uses Zola. It's pretty cool and makes -it fairly easy to make custom themes compared to other static site generators. There's no JavaScript -on this site and it's kept fairly light in general. Everything should work in browsers like EWW, -w3m, links, etc. All the fonts here are WOFF2 though, so some browsers like Dillo won't fetch those -properly.

-

There is a Tor version of this site available here -if you're not already reading this there. I2P and Yggdrasil might also come soon, not sure about those.

-

There seems to be a bug with importing my Atom feed to RSS Guard making the entries really tall for -some reason, no idea what's causing it, but I'll try to fix that soon.

- -
- - -
- - diff --git a/blog/2025-02-04-servers-up/index.html b/blog/2025-02-04-servers-up/index.html deleted file mode 100644 index 27240c1..0000000 --- a/blog/2025-02-04-servers-up/index.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - -wanderlost - Server up - - - - - - - - - - -
-
- -
-

Server up

- -

After waiting way too long, I finally have a server online. Nothing big, just a RPi 5 running -Alpine to provide some services for myself and other. I'm trying to focus on hosting sites -built to be minimal, without the bloat much of the modern web has. It also exclusively serves -on dark/altnets (Yggdrasil and Tor currently, I'll hopefully have I2P stuff running within a -week or so) to promote using that over the clearnet. The service's name is "Midgard", I felt like -that fits the theme of creating a more human web and goes with "Yggdrasil" nicely.

-

Current services are forums (running Simple Machines Forum) and sites (using Caddy). The forums -still have some work that needs to get done (selfhosting jQuery, fixing resource fetching outside -of Tor) but it should fully work on Tor. You can access it -here, but I -have it set so accounts require approval as I'm currently a frequent target of spam commonly -including things I very much do not want to be hosting.

-

I also host personal sites for me and some others.

- -

The home page for Midgard isn't done yet, but it's going to be done soon. -Tor link, -Yggdrasil Link

-

Planned services include Vaultwarden (a password manager) and Forgejo (a Git forge). Not sure -if/when they'll come.

-

If you want a site hosted on Midgard, feel free to reach out to me on XMPP -with a Git repo link, a brief description, and I might set it up for you if the site isn't too big -and bloated and it isn't something I wouldn't want on my machines (please no pedo/zoo shit, no hate -speech or anything like that, no malware obviously). Also don't rely on me too hard for maintaining -uptime. Things have been going fairly smoothly so far but I'm still pretty new to self hosting so -I can't guarantee much in the way of stability.

- -
- - -
- - diff --git a/blog/2025-03-24-the-internet-sucks/index.html b/blog/2025-03-24-the-internet-sucks/index.html deleted file mode 100644 index 457981b..0000000 --- a/blog/2025-03-24-the-internet-sucks/index.html +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - -wanderlost - The Internet Sucks - - - - - - - - - - -
-
- -
-

The Internet Sucks

- -

Over the past few years, I have noticed that the internet is in a state of decay. If you've found my -site, there's a fair chance you think the same too, or have at least heard people say this. The -amount of fun one can really have online is rapidly decreasing. Everything has pretty much been -ruined.

-

The problems

-

Bloat

-

The web is bloated. Every time I go to look up something I get dozens of articles containing popups -where I have to agree to getting tracked by every site's 800+ "partners", slowing everything -down. Then there's the JavaShit dependency so many sites have. It's even spread to "small" personal -sites that I have to wait for megabytes worth of JS to load in before I can read anything. My own -site is constantly getting edited in an attempt to make it as easy to use as possible on even the -most barebones browsers.

-

"Social" networks.

-

I hate concept of social media. Microblogging is shit. Short form video content is shit. Instagram -is shit. Reddit is shit. Yes, this very much includes your free and open source "ethical" -alternative. The Fediverse, Bluesky, Nostr, whatever else don't fix this. The idea itself is heavily -flawed no matter who develops it. I have too much to say about this for putting it in here, but to -keep it short, I strongly believe being on those places just slowly makes you more and more -retarded. Everything is optimized to get as many internet points as possible and well thought out -posts that actually express the author's point are discouraged with tiny character limits and -replies from children complaining about how long the text is.

-

Surveillance

-

Shouldn't have to explain this one much, there's surveillance problems on nearly every mainstream -platform that's been treated as normal for as long as it's been around. If you're here, you probably -already have strong feelings about this one.

-

Clearnet

-

I think the clearnet is beyond saving at this point and that we should not make an attempt to rescue -it. The damage has been done and will continue unless you do something about it. Everything is -centralized, and the system is a mess. CAs are centralized and you have to give them full trust to -not do anything bad to your site, which they can do. ICANN is how everybody gets their domains, and -they care more about making money than stopping things like parking for reselling or making the -process more private. It also is harder to work with clearnet hosting than it is to work with an -overlay network, which I see as something that gets in the way of people hosting their own things.

-

How do we fix it?

-

Unfortunately, there isn't a perfect solution to fully escaping the bullshit, but there are things -you and I can do to help.

-

Overlay networks

-

Explore overlay networks like I2P, Tor, and Yggdrasil. There's others out there too. I'll go over -this more in a later post, but to keep it short, Yggdrasil serves as internet done right (and about -how one would expect) while I2P and Tor focus specifically on being anonymous.

-

Write your own site

-

Write a site for yourself and/or your projects! Instead of a Facebook page or a Twitter profile, get -out a text editor and write some CSS and HTML, or even better, XHTML! It really isn't that hard to -do, and you get full control over your own content and design. You can use static site generators -like Hugo, Jekyll, Zola and many more to help if you need to mass produce templated pages. This site -uses Zola, which does have its quirks but I find it to be the best to work with out of the ones I've -tried. If you're running a blog or have other regularly updated content like news or updates, make -Atom (and RSS if you want) feeds too to so your visitors can subscribe to your sites and get those -updates instantly. A lot of static site generators have this built in. I'll tell you to self host so -you're fully independent in the next section, but if you really can't, I can help with getting your -site online over on Midgard.

-

Alternative protocols?

-

HTTP, or the Web, is not the only way of creating a "site" for yourself. There are other protocols, -though all of them (or at least all I know about) are far more minimal than what you can create on a -website even with just XHTML and a stylesheet. I don't have a full list of these protocols, but some -are Gopher, -Gemini, and Nex. -I don't hear much about Gopher nor have I got around to setting up a server for it yet but Gemini -has been gaining a lot of popularity from what I've seen lately. Nex is much more obscure but I like -it for how extremely simple it is, literally just plaintext served over TCP on port 1900.

-

Self Host

-

The best way to get full control over your sites and services is to self host them. Not on some -managed hosting service, not on a VPS, not anywhere in the cloud, actually self hosted on a -machine in a location you can physically access. This way, you have 100% control over your own -things and will truly own your services. Many ISPs do not want people self hosting and will put -people behind CGNATs, but if you use overlay networks and don't host on clearnet, then that won't -really matter. With Tor, hosting your own XMPP server using Prosody is pretty easy and you can throw -an IRCd onto pretty much any network. Running your own media server on Yggdrasil is entirely doable -and I use my Jellyfin running over it daily. Almost any service that doesn't involve S2S can be set -up on Yggdrasil, given that the client software is able to use IPv6.

-

Contribute!

-

If you're able to, start running nodes/peers for I2P, Tor, and Yggdrasil or any combo of -those. Those networks always could use more peers available to help make things faster and more -reliable for everybody.

-

Do it NOW

-

Stop waiting for the current internet to get worse. If you already host a personal site, start -mirroring it on the darknets! For all of them it's as easy as installing the daemons, editing a few -configs for them, and adding the names to your server_name on nginx or the equivalent for your -webserver of choice.

-
-

In the future I'll write a more full guide to the overlay networks, but I feel like this has been -long enough of a rant by now.

- -
- - -
- - diff --git a/blog/404.html b/blog/404.html deleted file mode 100644 index f8414f0..0000000 --- a/blog/404.html +++ /dev/null @@ -1,3 +0,0 @@ - -404 Not Found -

404 Not Found

diff --git a/blog/atom.xml b/blog/atom.xml index 10d308b..4079eb6 100644 --- a/blog/atom.xml +++ b/blog/atom.xml @@ -4,8 +4,70 @@ Zola - 2025-03-24T00:00:00+00:00 + 2025-04-13T00:00:00+00:00 /blog/atom.xml + + XHTML is good, actually + 2025-04-13T00:00:00+00:00 + 2025-04-13T00:00:00+00:00 + + + + + wanderlost + + + + + + /blog/2025-04-13-xhtml-is-good-actually/ + + <p>About a month or two ago, I finally converted everything I run and currently maintain to XHTML 1.1. +I had been considering it for months and finally decided it was the right decision, and came to the +conclusion that XHTML is far better than HTML.</p> +<h1 id="an-open-web-needs-real-standards">An open web needs real standards</h1> +<p>Unlike the SGML-based HTML, documents in XHTML must be valid. Browsers will let you get away with +some mild errors, but it's far less lenient than normal HTML. While this is one of the most common +things people criticize XHTML for, it's a good thing. Had everyone used XHTML and followed its +standards when it first came out, maybe we wouldn't have the browser monopoly we have today, or at +least not to such a severe extent. The web needs well-formed XML documents, not the sloppily thrown +together garbage HTML allows and borderline encourages. At the start, XHTML was designed with the +intention of fixing this, but many people kept clinging onto their shitty documents. Now so many +pages are still so annoying to parse that only a couple companies actually do it. XHTML could've +helped fix this.</p> +<p>XHTML tags must be properly closed, so it will not let you use <code>&lt;br&gt;</code> instead of <code>&lt;br /&gt;</code>. XHTML +will not let you uppercase your elements and attributes, so you can't <code>&lt;IMG SRC=</code>. XHTML will not +let you mess up nesting (even though some browsers will), so you can't (or at least shouldn't) do +the following:</p> +<pre data-lang="xhtml" style="background-color:#2b303b;color:#6c7079;" class="language-xhtml "><code class="language-xhtml" data-lang="xhtml"><span style="color:#abb2bf;">&lt;</span><span style="color:#eb6772;">p</span><span style="color:#abb2bf;">&gt; +</span><span style="color:#abb2bf;"> Here&#39;s a list of some things +</span><span style="color:#abb2bf;"> &lt;</span><span style="color:#eb6772;">ul</span><span style="color:#abb2bf;">&gt; +</span><span style="color:#abb2bf;"> &lt;</span><span style="color:#eb6772;">li</span><span style="color:#abb2bf;">&gt;Item&lt;/</span><span style="color:#eb6772;">li</span><span style="color:#abb2bf;">&gt; +</span><span style="color:#abb2bf;"> &lt;</span><span style="color:#eb6772;">li</span><span style="color:#abb2bf;">&gt;Item&lt;/</span><span style="color:#eb6772;">li</span><span style="color:#abb2bf;">&gt; +</span><span style="color:#abb2bf;"> &lt;/</span><span style="color:#eb6772;">ul</span><span style="color:#abb2bf;">&gt; +</span><span style="color:#abb2bf;">&lt;/</span><span style="color:#eb6772;">p</span><span style="color:#abb2bf;">&gt; +</span></code></pre> +<p>As much as people like to make fun of this, it's a positive to have well formed documents be +enforced.</p> +<h1 id="your-own-sanity">Your own sanity</h1> +<p>XHTML forcing documents to be well formed isn't only good for maintaining a true standard, it also +helps you, the author. By requiring everything be valid, it strongly discourages poor formatting, +leaving it easier for you to maintain your site and edit in the future. Using XHTML puts you in +better habits for writing sites and it's yet another reason why its strictness is a good thing.</p> +<h1 id="negatives">Negatives</h1> +<p>As XHTML is an older standard (the oldest full release being the second edition of XHTML 1.1 +in late 2010), it misses out on some newer features HTML5 and others brought in. It doesn't have +<code>&lt;summary&gt;</code> or <code>&lt;details&gt;</code>, it doesn't have semantic elements like <code>&lt;main&gt;</code> (though I don't +really think this matters as much), and it doesn't have inline SVG. I don't think any of these +are really an absolute necessity, but the <code>&lt;summary&gt;</code>/<code>&lt;details</code>&gt; tags would be pretty nice.</p> +<h1 id="further-reading">Further reading</h1> +<p>This will be expanded if/when I find more relevant articles.</p> +<ul> +<li><a href="https://web.archive.org/web/20250405011146/https://www.nuegia.net/articles/open%20letter%20to%20webmasters.xhtml">https://web.archive.org/web/20250405011146/https://www.nuegia.net/articles/open%20letter%20to%20webmasters.xhtml</a></li> +</ul> + + + The Internet Sucks 2025-03-24T00:00:00+00:00 diff --git a/blog/index.html b/blog/index.html deleted file mode 100644 index e242d7b..0000000 --- a/blog/index.html +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - wanderlost - - - - - - - - - - -
-
- -
- -

- 2025-03-24 - - - The Internet Sucks - -

-

Yet another internet random complains about the state of things blog post

- -

- 2025-02-04 - - - Server up - -

-

Finally got my server online, now hosting some stuff

- -

- 2025-01-24 - - - Zaydsite now - -

-

site finally launches, blog online

- -
- -
- - diff --git a/blog/rss.xml b/blog/rss.xml index 873e282..2dcbf14 100644 --- a/blog/rss.xml +++ b/blog/rss.xml @@ -7,7 +7,58 @@ Zola en - Mon, 24 Mar 2025 00:00:00 +0000 + Sun, 13 Apr 2025 00:00:00 +0000 + + XHTML is good, actually + Sun, 13 Apr 2025 00:00:00 +0000 + wanderlost + /blog/2025-04-13-xhtml-is-good-actually/ + /blog/2025-04-13-xhtml-is-good-actually/ + <p>About a month or two ago, I finally converted everything I run and currently maintain to XHTML 1.1. +I had been considering it for months and finally decided it was the right decision, and came to the +conclusion that XHTML is far better than HTML.</p> +<h1 id="an-open-web-needs-real-standards">An open web needs real standards</h1> +<p>Unlike the SGML-based HTML, documents in XHTML must be valid. Browsers will let you get away with +some mild errors, but it's far less lenient than normal HTML. While this is one of the most common +things people criticize XHTML for, it's a good thing. Had everyone used XHTML and followed its +standards when it first came out, maybe we wouldn't have the browser monopoly we have today, or at +least not to such a severe extent. The web needs well-formed XML documents, not the sloppily thrown +together garbage HTML allows and borderline encourages. At the start, XHTML was designed with the +intention of fixing this, but many people kept clinging onto their shitty documents. Now so many +pages are still so annoying to parse that only a couple companies actually do it. XHTML could've +helped fix this.</p> +<p>XHTML tags must be properly closed, so it will not let you use <code>&lt;br&gt;</code> instead of <code>&lt;br /&gt;</code>. XHTML +will not let you uppercase your elements and attributes, so you can't <code>&lt;IMG SRC=</code>. XHTML will not +let you mess up nesting (even though some browsers will), so you can't (or at least shouldn't) do +the following:</p> +<pre data-lang="xhtml" style="background-color:#2b303b;color:#6c7079;" class="language-xhtml "><code class="language-xhtml" data-lang="xhtml"><span style="color:#abb2bf;">&lt;</span><span style="color:#eb6772;">p</span><span style="color:#abb2bf;">&gt; +</span><span style="color:#abb2bf;"> Here&#39;s a list of some things +</span><span style="color:#abb2bf;"> &lt;</span><span style="color:#eb6772;">ul</span><span style="color:#abb2bf;">&gt; +</span><span style="color:#abb2bf;"> &lt;</span><span style="color:#eb6772;">li</span><span style="color:#abb2bf;">&gt;Item&lt;/</span><span style="color:#eb6772;">li</span><span style="color:#abb2bf;">&gt; +</span><span style="color:#abb2bf;"> &lt;</span><span style="color:#eb6772;">li</span><span style="color:#abb2bf;">&gt;Item&lt;/</span><span style="color:#eb6772;">li</span><span style="color:#abb2bf;">&gt; +</span><span style="color:#abb2bf;"> &lt;/</span><span style="color:#eb6772;">ul</span><span style="color:#abb2bf;">&gt; +</span><span style="color:#abb2bf;">&lt;/</span><span style="color:#eb6772;">p</span><span style="color:#abb2bf;">&gt; +</span></code></pre> +<p>As much as people like to make fun of this, it's a positive to have well formed documents be +enforced.</p> +<h1 id="your-own-sanity">Your own sanity</h1> +<p>XHTML forcing documents to be well formed isn't only good for maintaining a true standard, it also +helps you, the author. By requiring everything be valid, it strongly discourages poor formatting, +leaving it easier for you to maintain your site and edit in the future. Using XHTML puts you in +better habits for writing sites and it's yet another reason why its strictness is a good thing.</p> +<h1 id="negatives">Negatives</h1> +<p>As XHTML is an older standard (the oldest full release being the second edition of XHTML 1.1 +in late 2010), it misses out on some newer features HTML5 and others brought in. It doesn't have +<code>&lt;summary&gt;</code> or <code>&lt;details&gt;</code>, it doesn't have semantic elements like <code>&lt;main&gt;</code> (though I don't +really think this matters as much), and it doesn't have inline SVG. I don't think any of these +are really an absolute necessity, but the <code>&lt;summary&gt;</code>/<code>&lt;details</code>&gt; tags would be pretty nice.</p> +<h1 id="further-reading">Further reading</h1> +<p>This will be expanded if/when I find more relevant articles.</p> +<ul> +<li><a href="https://web.archive.org/web/20250405011146/https://www.nuegia.net/articles/open%20letter%20to%20webmasters.xhtml">https://web.archive.org/web/20250405011146/https://www.nuegia.net/articles/open%20letter%20to%20webmasters.xhtml</a></li> +</ul> + + The Internet Sucks Mon, 24 Mar 2025 00:00:00 +0000 diff --git a/blog/sitemap.xml b/blog/sitemap.xml index 3f3b4f4..7a2f051 100644 --- a/blog/sitemap.xml +++ b/blog/sitemap.xml @@ -15,4 +15,8 @@ /blog/2025-03-24-the-internet-sucks/ 2025-03-24 + + /blog/2025-04-13-xhtml-is-good-actually/ + 2025-04-13 + diff --git a/index.xht b/index.xht deleted file mode 100644 index fa611d1..0000000 --- a/index.xht +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - wanderlost - - - -
-
-

Home

-

- Welcome! This is my home on the web. The site is now primarily on my own machine, - but thanks to FSKY for continuing to mirror my site for clearnet and on another Tor - address. -

-

- You probably already know me by now but I'm Zayd. I have a blog here where I - sometimes write about things I like. My interests include software, privacy, overlay - networks, music, archival, and more. I'm a bit of a lazy writer so posts won't be - super often though. -

-

- If you need to contact me, my JID (XMPP address) is - zayd@telepath.im. Please use OMEMO for encryption. I also have a public chatroom - if you want to join that, it's on XMPP and - IRC (clearnet, SSL), also available on - - Yggdrasil -

-
- - - diff --git a/kopimi.xht b/kopimi.xht deleted file mode 100644 index 40d29d0..0000000 --- a/kopimi.xht +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - wanderlost - kopimi - - - -
-
-

Copying

-

- This site is CC - BY-SA 4.0. Copying and sharing is not only permitted but encouraged given that - this notice is preserved. -

-
- - - diff --git a/links.xht b/links.xht deleted file mode 100644 index 431aac2..0000000 --- a/links.xht +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - - wanderlost - links - - -
- -
-
-
-

Links

-

Here's some links to sites I like

-

Link to me

-

Yes, I know it's lazy. I'll probably redo it sometime. Don't hotlink these ever.

- - Zayd - - -

People I know and their organizations

- - Array in a Matrix - - - authenyo - - - chloe vea.st - - - Frost - - - FSKY - - - georgemoody - - - Hydrogen - - - LDA - - - mcneb10 - - - Nyx - - - Pea - - - Plate - - - Purplebored - - - red - - - Snit was here - - - Telepath - - - Voxel - - - Xameren - - -

Other nice sites

- - Internet Archive - - -

Cool software

- - Alpine Linux - - - Alpine Linux - - - Alpine Linux - - - Arch Linux - - - Artix Linux - - - Made with GNU Emacs - - - I2P - - - Jellyfin - - - KDE - - - Linux - - - Navidrome - - - qBitTorrent - - - Tor - - - Yggdrasil - - -

Misc

- Discord? No way! - This website sucks -
- - - diff --git a/mirrors.xht b/mirrors.xht deleted file mode 100644 index 62c4a70..0000000 --- a/mirrors.xht +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - wanderlost - mirrors - - - - - - -