2021-01-07 05:45:47 +00:00
|
|
|
---
|
2021-01-08 01:09:21 +00:00
|
|
|
layout: page
|
2021-01-07 05:45:47 +00:00
|
|
|
title: "Follow the Blog"
|
|
|
|
nofollow: true
|
|
|
|
---
|
|
|
|
|
2021-08-30 03:34:24 +00:00
|
|
|
<script async type="module" src="/assets/api.js"></script>
|
|
|
|
|
2021-01-08 01:09:21 +00:00
|
|
|
Here's your options for receiving updates about new blog posts:
|
2021-01-07 05:45:47 +00:00
|
|
|
|
2021-08-03 21:20:32 +00:00
|
|
|
## Option 1: Email
|
|
|
|
|
|
|
|
Email is by far my preferred option for notifying followers of new posts.
|
|
|
|
|
|
|
|
The entire email list system for this blog, from storing subscriber email
|
|
|
|
addresses to the email server which sends the notifications out, has been
|
|
|
|
designed from scratch and is completely self-hosted in my living room.
|
|
|
|
|
|
|
|
I solemnly swear that:
|
|
|
|
|
|
|
|
* You will never receive an email from this blog except to notify of a new post.
|
|
|
|
|
|
|
|
* Your email will never be provided or sold to anyone else for any reason.
|
|
|
|
|
|
|
|
With all that said, if you'd like to receive an email everytime a new blog post
|
|
|
|
is published then input your email below and smash that subscribe button!
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
|
|
#emailStatus.success {
|
|
|
|
color: green;
|
|
|
|
}
|
|
|
|
|
|
|
|
#emailStatus.fail {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<input type="email" placeholder="name@host.com" id="emailAddress" />
|
|
|
|
<input class="button-primary" type="submit" value="Subscribe" id="emailSubscribe" />
|
|
|
|
<span id="emailStatus"></span>
|
|
|
|
|
|
|
|
<script>
|
2021-08-30 03:34:24 +00:00
|
|
|
|
2021-08-03 21:20:32 +00:00
|
|
|
const emailAddress = document.getElementById("emailAddress");
|
|
|
|
const emailSubscribe = document.getElementById("emailSubscribe");
|
|
|
|
const emailSubscribeOrigValue = emailSubscribe.value;
|
|
|
|
const emailStatus = document.getElementById("emailStatus");
|
|
|
|
|
|
|
|
emailSubscribe.onclick = async () => {
|
|
|
|
|
2021-08-30 03:34:24 +00:00
|
|
|
const api = await import("/assets/api.js");
|
|
|
|
|
2021-08-03 21:20:32 +00:00
|
|
|
emailSubscribe.disabled = true;
|
|
|
|
emailSubscribe.className = "";
|
|
|
|
emailSubscribe.value = "Please hold...";
|
2021-08-30 03:34:24 +00:00
|
|
|
emailStatus.innerHTML = '';
|
2021-08-03 21:20:32 +00:00
|
|
|
|
2021-08-30 03:34:24 +00:00
|
|
|
try {
|
2021-08-03 21:20:32 +00:00
|
|
|
|
|
|
|
if (!window.isSecureContext) {
|
2021-08-30 03:34:24 +00:00
|
|
|
throw "The browser environment is not secure.";
|
2021-08-03 21:20:32 +00:00
|
|
|
}
|
|
|
|
|
2021-08-31 02:08:51 +00:00
|
|
|
await api.call('/api/mailinglist/subscribe', {
|
2021-08-30 03:34:24 +00:00
|
|
|
body: { email: emailAddress.value },
|
|
|
|
requiresPow: true,
|
2021-08-03 21:20:32 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
emailStatus.className = "success";
|
|
|
|
emailStatus.innerHTML = "Verification email sent (check your spam folder)";
|
|
|
|
|
2021-08-30 03:34:24 +00:00
|
|
|
} catch (e) {
|
|
|
|
emailStatus.className = "fail";
|
|
|
|
emailStatus.innerHTML = e;
|
|
|
|
|
|
|
|
} finally {
|
|
|
|
emailSubscribe.disabled = false;
|
|
|
|
emailSubscribe.className = "button-primary";
|
|
|
|
emailSubscribe.value = emailSubscribeOrigValue;
|
|
|
|
}
|
2021-08-03 21:20:32 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
2021-11-10 05:02:08 +00:00
|
|
|
(HINDSIGHT NOTE: We're like three posts in since I set the mailing list up, and
|
|
|
|
GMail is already marking me as spam. So... check your spam folders folks!)
|
|
|
|
|
2021-08-03 21:20:32 +00:00
|
|
|
## Option 2: RSS
|
2021-01-07 05:45:47 +00:00
|
|
|
|
2021-01-08 01:09:21 +00:00
|
|
|
RSS is the classic way to follow any blog. It comes from a time before
|
|
|
|
aggregators like reddit and twitter stole the show, when people felt capable to
|
|
|
|
manage their own content feeds. We should use it again.
|
2021-01-07 05:45:47 +00:00
|
|
|
|
2021-01-08 01:09:21 +00:00
|
|
|
To follow over RSS give any RSS reader the following URL...
|
2021-01-07 05:45:47 +00:00
|
|
|
|
2021-01-08 01:09:21 +00:00
|
|
|
<a href="{{site.url}}/feed.xml">{{site.url}}/feed.xml</a>
|
2021-01-07 05:45:47 +00:00
|
|
|
|
2021-01-08 01:09:21 +00:00
|
|
|
...and posts from this blog will show up in your RSS feed as soon as they are
|
|
|
|
published. There are literally thousands of RSS readers out there. Here's some
|
2021-01-07 05:45:47 +00:00
|
|
|
recommendations:
|
|
|
|
|
|
|
|
* [Google Chrome Browser Extension](https://chrome.google.com/webstore/detail/rss-feed-reader/pnjaodmkngahhkoihejjehlcdlnohgmp)
|
|
|
|
|
|
|
|
* [spaRSS](https://f-droid.org/en/packages/net.etuldan.sparss.floss/) is my
|
|
|
|
preferred android RSS reader, but you'll need to install
|
2021-01-17 04:37:42 +00:00
|
|
|
[f-droid](https://f-droid.org/) on your device to use it (a good thing to do
|
|
|
|
anyway, imo).
|
2021-01-07 05:45:47 +00:00
|
|
|
|
2021-01-17 04:37:42 +00:00
|
|
|
* [NetNewsWire](https://ranchero.com/netnewswire/) is a good reader for
|
|
|
|
iPhone/iPad/Mac devices, so I'm told. Their homepage description makes a much
|
|
|
|
better sales pitch for RSS than I ever could.
|