diff options
author | Bill <bill@billserver.senders.io> | 2023-01-06 21:31:24 -0500 |
---|---|---|
committer | Bill <bill@billserver.senders.io> | 2023-01-06 21:32:35 -0500 |
commit | 7726e085be032884b855ae20f45a316460f93ec8 (patch) | |
tree | ef642634ac51826cebfa055cbf9331f48457004d /www/index.html | |
parent | d04f47c4e205343ffa4ef0c58f372c3d6ec0ad4d (diff) |
Published new blogs, RSS, and Music Blog!
Diffstat (limited to 'www/index.html')
-rw-r--r-- | www/index.html | 63 |
1 files changed, 39 insertions, 24 deletions
diff --git a/www/index.html b/www/index.html index 9b1f51b..5cd4673 100644 --- a/www/index.html +++ b/www/index.html @@ -39,6 +39,45 @@ target="_blank">/blog/feed.rss</a></p> </article> <article> + <h1>Recent Post - 2023-01-06</h1> + <h2>How I Generate My RSS Feed</h2> + <p>I only just now started supplying an RSS feed to you fine people! You + can subscribe to it at <a href= + "/blog/feed.rss">www.senders.io/blog/feed.rss</a>!</p> + <p>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.</p> + <h3>Publishing blog posts - shell scripts ftw</h3> + <p>In <a href="/blog/2022-11-06/">My Markdown -> HTML Setup</a> I + touch on how I publish my markdown files into HTML for this blog. But + what I don’t <em>really</em> touch on is the shell scripts that tie the + whole process together.</p> + <p>What I have is two, now three, scripts that feed the whole + process:</p> + <ol> + <li><code>publish-blog.sh</code> - the main script</li> + <li><code>compile-md.sh</code> - generates the HTML output</li> + <li><code>update-feed.sh</code> - generates/appends the RSS feed</li> + </ol> + <p>The <code>update-feed.sh</code> script is the new one I just + added.</p> + <p><code>publish-blog.sh</code> 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.</p> + <p>Without going into TOO much detail you can view the latest versions of + the scripts at <a rel="external noopener noreferrer" + target="_blank" + href= + "https://git.senders.io/senders/senders-io/tree/">git.senders.io/senders/senders-io/tree/</a>.</p> + <p>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.</p> + <div class='footer'> + <a href='/blog/2023-01-06/'>Continue reading...</a> + </div> + </article> + <article> <h1>Recent Post - 2022-12-31</h1> <h2>RSS - A Follow-up</h2> <p>Get an RSS reader and connect everything to it!</p> @@ -70,30 +109,6 @@ <a href='/blog/2022-12-31'>Continue reading...</a> </div> </article> - <article> - <h2>Recent Post - 2022-12-05</h2> - <h3>CSS Themes Exist Now!?</h3> - <p>Yeah news to me too! Seems like according to <a rel= - "external noopener noreferrer" - target="_blank" - href= - "https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme#browser_compatibility"> - the MDN</a> it’s been supported since 2019 for most browsers and - supported by all by now.</p> - <p>This is so wild!</p> - <h4>Why is this cool?</h4> - <p>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.</p> - <p>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.</p> - <div class='footer'> - <a href='/blog/2022-12-05'>Continue reading...</a> - </div> - </article> <div class="footnote"> <p>The site source is available at <a rel="noopener noreferrer external" target="_blank" |