From da0895e9b47ef3af662146f8fb20305bd4e515e9 Mon Sep 17 00:00:00 2001 From: Shav Kinderlehrer Date: Wed, 1 May 2024 13:27:46 -0400 Subject: [PATCH] Fix RSS feed generator script to use correct urls --- feeds/makeFeeds.ts | 6 +++--- static/rss.xml | 30 +++++++++++++++--------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/feeds/makeFeeds.ts b/feeds/makeFeeds.ts index 28cc278..66e921c 100755 --- a/feeds/makeFeeds.ts +++ b/feeds/makeFeeds.ts @@ -71,8 +71,8 @@ const md = new MarkdownIt(); async function LoadJson() { const feed: JSONFeed = { version: "https://jsonfeed.org/version/1.1", - title: "Light Blog", - description: "Light Blog - My tech ramblings about everything under the sun.", + title: "Trinket Blog", + description: "Trinket Blog - My tech ramblings about everything under the sun.", home_page_url: "https://blog.trinket.icu", feed_url: "https://blog.trinket.icu/rss.xml", icon: "https://blog.trinket.icu/favicon.ico", @@ -103,7 +103,7 @@ async function LoadJson() { const data = doc.data(); const feedItem: FeedItem = { id: data.slug, - url: `https://lightblog.dev/articles/${data.slug}`, + url: `https://blog.trinket.icu/articles/${data.slug}`, title: data.title, content_html: md.render(data.data), summary: data.meta, diff --git a/static/rss.xml b/static/rss.xml index aaa7a85..28a9eaf 100755 --- a/static/rss.xml +++ b/static/rss.xml @@ -2,9 +2,9 @@ - Light Blog + Trinket Blog https://blog.trinket.icu - Light Blog - My tech ramblings about everything under the sun. + Trinket Blog - My tech ramblings about everything under the sun. en-us © 2024 Shav Kinderlehrer Tue, 09 Apr 2024 19:00:00 GMT @@ -13,11 +13,11 @@ https://blog.trinket.icu/favicon.ico https://blog.trinket.icu - Light Blog + Trinket Blog Updated URL Shortener - https://lightblog.dev/articles/updated-url-shortener + https://blog.trinket.icu/articles/updated-url-shortener Shav Kinderlehrer Lately, I've been interested in improving my URL shortener hosted at https://trkt.in. So I did! I present.. Chela! @@ -56,7 +56,7 @@ If you're interested, feel free to check it out here: https://trkt.in/oz. Writing a URL Shortener - https://lightblog.dev/articles/writing-a-url-shortener + https://blog.trinket.icu/articles/writing-a-url-shortener Shav Kinderlehrer The concept of a URL shortener is a rather silly one in definition. We take a place on the internet, and then we obfuscate it; hide it behind another layer and present that to people. In practice however, it makes a good amount of sense. @@ -287,7 +287,7 @@ Indexes: Journaling as a Programmer - https://lightblog.dev/articles/journaling-as-a-programmer + https://blog.trinket.icu/articles/journaling-as-a-programmer Shav Kinderlehrer ⚠️warning⚠️ Some of the plain-text code blocks may be incorrectly formatted, if they are, I apologize profusely and curse the semantics of spaces versus tabs @@ -652,7 +652,7 @@ Date: Mon Aug 28 10:56:38 2023 -0400 All the Manpages - https://lightblog.dev/articles/all-the-manpages + https://blog.trinket.icu/articles/all-the-manpages Shav Kinderlehrer I think manpages are neat. I use them a lot to find my way around new programs and especially when programming in C. Another thing I like are books. I like big hefty textbooks I can flip through. I have a lot of obscure no starch press books. For me, having a physical book to read through helps me learn new things a lot better than watching a video, or reading something off a screen does. @@ -707,7 +707,7 @@ In the meantime, you can checkout the script I wrote