Fix RSS feed generator script to use correct urls
This commit is contained in:
parent
034313e113
commit
da0895e9b4
@ -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,
|
||||
|
@ -2,9 +2,9 @@
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
|
||||
<channel>
|
||||
<atom:link href="https://blog.trinket.icu/rss.xml" rel="self" type="application/rss+xml"/>
|
||||
<title>Light Blog</title>
|
||||
<title>Trinket Blog</title>
|
||||
<link>https://blog.trinket.icu</link>
|
||||
<description>Light Blog - My tech ramblings about everything under the sun.</description>
|
||||
<description>Trinket Blog - My tech ramblings about everything under the sun.</description>
|
||||
<language>en-us</language>
|
||||
<copyright>© 2024 Shav Kinderlehrer</copyright>
|
||||
<pubDate>Tue, 09 Apr 2024 19:00:00 GMT</pubDate>
|
||||
@ -13,11 +13,11 @@
|
||||
<image>
|
||||
<url>https://blog.trinket.icu/favicon.ico</url>
|
||||
<link>https://blog.trinket.icu</link>
|
||||
<title>Light Blog</title>
|
||||
<title>Trinket Blog</title>
|
||||
</image>
|
||||
<item>
|
||||
<title>Updated URL Shortener</title>
|
||||
<link>https://lightblog.dev/articles/updated-url-shortener</link>
|
||||
<link>https://blog.trinket.icu/articles/updated-url-shortener</link>
|
||||
<dc:creator>Shav Kinderlehrer</dc:creator>
|
||||
<description>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.
|
||||
</item>
|
||||
<item>
|
||||
<title>Writing a URL Shortener</title>
|
||||
<link>https://lightblog.dev/articles/writing-a-url-shortener</link>
|
||||
<link>https://blog.trinket.icu/articles/writing-a-url-shortener</link>
|
||||
<dc:creator>Shav Kinderlehrer</dc:creator>
|
||||
<description>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:
|
||||
</item>
|
||||
<item>
|
||||
<title>Journaling as a Programmer</title>
|
||||
<link>https://lightblog.dev/articles/journaling-as-a-programmer</link>
|
||||
<link>https://blog.trinket.icu/articles/journaling-as-a-programmer</link>
|
||||
<dc:creator>Shav Kinderlehrer</dc:creator>
|
||||
<description>⚠️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
|
||||
</item>
|
||||
<item>
|
||||
<title>All the Manpages</title>
|
||||
<link>https://lightblog.dev/articles/all-the-manpages</link>
|
||||
<link>https://blog.trinket.icu/articles/all-the-manpages</link>
|
||||
<dc:creator>Shav Kinderlehrer</dc:creator>
|
||||
<description>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 <a href="https://github.com
|
||||
</item>
|
||||
<item>
|
||||
<title>Writing Your First Kakoune Config (kakrc)</title>
|
||||
<link>https://lightblog.dev/articles/writing-your-first-kakrc</link>
|
||||
<link>https://blog.trinket.icu/articles/writing-your-first-kakrc</link>
|
||||
<dc:creator>Shav Kinderlehrer</dc:creator>
|
||||
<description>
|
||||
⚠️️ this guide is written as of Kakoune v2022.10.31, future versions may not be compatible with parts of this guide anymore ⚠️
|
||||
@ -2054,7 +2054,7 @@ hook global InsertCompletionShow .* %{
|
||||
</item>
|
||||
<item>
|
||||
<title>Creating The Curio</title>
|
||||
<link>https://lightblog.dev/articles/creating-the-curio</link>
|
||||
<link>https://blog.trinket.icu/articles/creating-the-curio</link>
|
||||
<dc:creator>Shav Kinderlehrer</dc:creator>
|
||||
<description>TL;DR I made a thing. Here's the direct link, and here's the github repo for it.
|
||||
The Problem
|
||||
@ -2225,7 +2225,7 @@ For example:</p>
|
||||
</item>
|
||||
<item>
|
||||
<title>A Loveletter to the Internet</title>
|
||||
<link>https://lightblog.dev/articles/loveletter-to-the-internet</link>
|
||||
<link>https://blog.trinket.icu/articles/loveletter-to-the-internet</link>
|
||||
<dc:creator>Shav Kinderlehrer</dc:creator>
|
||||
<description>What even is the internet?
|
||||
|
||||
@ -2468,7 +2468,7 @@ The Obsidian homepage is a good example of this trend:
|
||||
</item>
|
||||
<item>
|
||||
<title>Color Themes From Images</title>
|
||||
<link>https://lightblog.dev/articles/color-themes-from-images</link>
|
||||
<link>https://blog.trinket.icu/articles/color-themes-from-images</link>
|
||||
<dc:creator>Shav Kinderlehrer</dc:creator>
|
||||
<description>I really like colors. Often, I'll catch myself scrolling through Adobe Color, or clicking through Poolors just searching for the perfect color palette. And so when it came time to design the color themes for LightBlog I was pretty excited. I wanted to make a couple themes that were minimal, effective, and had a wide enough range to please most visitors who came to my site whether they needed high contrast themes, dark, super dark, light, etc. I packed all this into 4 base themes for the website. I called them Light, BlindWhite, Dark, and Amoled. These four themes would, I hoped, provide a wide enough range of colors and contrasts to make most people happy when using the website.
|
||||
However, something still bugged me, I kept finding myself wanting to make more and more themes, but ultimately deciding not to because I didn't want to clog up the theme sidebar with options. I thought about adding pagination to it, but ultimately decided not to because I want the content of LightBlog to be what people spend time on, not clicking the more button looking for the perfect theme.
|
||||
@ -2647,7 +2647,7 @@ Turns out to do this all you have to do is flip the palette, switching the text
|
||||
</item>
|
||||
<item>
|
||||
<title>Programmer Pastimes</title>
|
||||
<link>https://lightblog.dev/articles/programmer-pastimes</link>
|
||||
<link>https://blog.trinket.icu/articles/programmer-pastimes</link>
|
||||
<dc:creator>Shav Kinderlehrer</dc:creator>
|
||||
<description>I often hear people say that the brain is like a muscle, using it makes it stronger, but also wears it out. If that's the case, the programming is like going to the gym 8 hours a day. Now I wouldn't say that my brain is the metaphorical equivalent to Dwayne Johnson, but I would say that he and I both get tired out after working too hard. I'm not sure what Dwayne does in his pastime (if he has pastime), but I do know that I like to do a few things. I like to play video games, or read a book, or watch some fireship on youtube (really, that guy is the king of programming content in my opinion). Everyone has some way of just relaxing and zoning out when their brain is overworked and I think it's a fascinating thing.
|
||||
I don't think having a zone-out pastime is really an escapism method because I know I don't mind my life all that much. I also don't think it's a laziness thing because I naturally balance pastime and work-time in my life without much struggle. I think maybe it's just a way for the clockwork in our heads to wind itself up again, ready for us to tick it down to a standstill as soon as possible.
|
||||
@ -2664,7 +2664,7 @@ I'm sure those people exist who can just power through the whole day, every day
|
||||
</item>
|
||||
<item>
|
||||
<title>Link Page</title>
|
||||
<link>https://lightblog.dev/articles/linkpage</link>
|
||||
<link>https://blog.trinket.icu/articles/linkpage</link>
|
||||
<dc:creator>Shav Kinderlehrer</dc:creator>
|
||||
<description>Evil Overlord List
|
||||
Manifest V3 Before Launch
|
||||
@ -2711,7 +2711,7 @@ mystery link
|
||||
</item>
|
||||
<item>
|
||||
<title>Learning to Code</title>
|
||||
<link>https://lightblog.dev/articles/learning-to-code</link>
|
||||
<link>https://blog.trinket.icu/articles/learning-to-code</link>
|
||||
<dc:creator>Shav Kinderlehrer</dc:creator>
|
||||
<description>You know, when I decided to sit down and learn to code it was because I had just played a video game called The Pathless. The Pathless* touched my soul in a way that was new to me. Something about the story, visuals, and my part in all of it really made me feel something new-- inspiration.
|
||||
I promptly decided I was going to be a AAA game developer. Imagine that, a 13 year old kid wasting a road trip on a video game and finding his life inspiration on a car the trip across a few states.
|
||||
@ -2794,7 +2794,7 @@ That rush of dopamine, the satisfaction of a (semi)working program was all it to
|
||||
</item>
|
||||
<item>
|
||||
<title>Routing in Svelte</title>
|
||||
<link>https://lightblog.dev/articles/routing-in-svelte</link>
|
||||
<link>https://blog.trinket.icu/articles/routing-in-svelte</link>
|
||||
<dc:creator>Shav Kinderlehrer</dc:creator>
|
||||
<description>Yes, you read that right. Routing in Svelte, not routing in SvelteKit. Light Blog was originally written in SvelteKit, but I found that trying to develop using SvelteKit while still in beta was a nightmare. Basic features constantly breaking, weird bugs I couldn't fix within the website, constantly changing apis. That's not to say that I don't like SvelteKit, everything it does it does amazingly and it was a joy to code in it. I just couldn't make anything functional in the state it was in. Perhaps that's my bad code, or it could be the framework being in beta.
|
||||
Once I admitted defeat and decided to rewrite Light Blog I began looking for a new framework to build it in because vanilla JS/TS is a nightmare (in my humble opinion). React makes my head hurt, I didn't know what web components were, and I really like SvelteKit's SFC system. I didn't want to learn a new framework (Vuejs), and Qwik wasn't going to come out for another month.
|
||||
|
Loading…
Reference in New Issue
Block a user