From 7726e085be032884b855ae20f45a316460f93ec8 Mon Sep 17 00:00:00 2001 From: Bill Date: Fri, 6 Jan 2023 21:31:24 -0500 Subject: Published new blogs, RSS, and Music Blog! --- www/index.html | 63 ++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 39 insertions(+), 24 deletions(-) (limited to 'www/index.html') diff --git a/www/index.html b/www/index.html index 9b1f51b..5cd4673 100644 --- a/www/index.html +++ b/www/index.html @@ -38,6 +38,45 @@ rel="rss noopener" target="_blank">/blog/feed.rss

+
+

Recent Post - 2023-01-06

+

How I Generate My RSS Feed

+

I only just now started supplying an RSS feed to you fine people! You + can subscribe to it at www.senders.io/blog/feed.rss!

+

I decided rather than manually generating the file contents I’d hook + into my pre-existing publish scripts to be able to generate the RSS + file.

+

Publishing blog posts - shell scripts ftw

+

In My Markdown -> HTML Setup I + touch on how I publish my markdown files into HTML for this blog. But + what I don’t really touch on is the shell scripts that tie the + whole process together.

+

What I have is two, now three, scripts that feed the whole + process:

+
    +
  1. publish-blog.sh - the main script
  2. +
  3. compile-md.sh - generates the HTML output
  4. +
  5. update-feed.sh - generates/appends the RSS feed
  6. +
+

The update-feed.sh script is the new one I just + added.

+

publish-blog.sh is the primary interface, I supply the + date of the post and the path to the md file and that calls compile and + update to automate the entire process.

+

Without going into TOO much detail you can view the latest versions of + the scripts at git.senders.io/senders/senders-io/tree/.

+

But the gist of the scripts is I parse out the necessary details, + find/replace some tokens in template files I have setup for headers and + footers, and concat the outputs into the final output HTML files, and now + RSS feed.

+ +

Recent Post - 2022-12-31

RSS - A Follow-up

@@ -70,30 +109,6 @@ Continue reading...
-
-

Recent Post - 2022-12-05

-

CSS Themes Exist Now!?

-

Yeah news to me too! Seems like according to - the MDN it’s been supported since 2019 for most browsers and - supported by all by now.

-

This is so wild!

-

Why is this cool?

-

Well you may have noticed this is in dark mode now (if you set your - preferences to dark in your OS/Browser). But this is cool because it - means we’re no longer restricted to using Javascript and custom - preferences for websites.

-

I had assumed this existed because sites like GitHub were defaulting - to darkmode despite me never setting anything in like my profile - settings. But I just assumed based off of my legacy knowledge this was - some custom render trick using javascript.

- -

The site source is available at