From 0fb32ee7fce664a9b19e755ce40ad1ba06f48b5f Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Thu, 25 Jan 2024 16:35:18 -0700 Subject: [PATCH] Add RSS and feed tags --- content/.obsidian/workspace.json | 24 ++++++++++++------------ content/Acoustic Panels.md | 1 + content/Backup Strategy.md | 1 + content/Bypassing Ports.md | 1 + content/ChatGPT Peanut Butter Cookies.md | 1 + content/Fake Dog.md | 1 + content/Garage Door Opener.md | 1 + content/Hand of Ozymandias.md | 1 + content/Hydroponics.md | 1 + content/Japan Photography.md | 1 + content/LED Dress.md | 1 + content/Light Switch.md | 1 + content/Linux Flavour.md | 1 + content/Notica.md | 1 + content/Painting.md | 1 + content/Plant Waterer.md | 1 + content/Protospace.md | 1 + content/QotNews.md | 1 + content/Solar Car.md | 1 + content/Spaceport.md | 1 + content/Things I Recommend.md | 1 + content/Wine Crate Coffee Table.md | 1 + content/t0 Services.md | 1 + content/t0txt.md | 1 + publishconf_lite.py | 9 +++++++-- 25 files changed, 42 insertions(+), 14 deletions(-) diff --git a/content/.obsidian/workspace.json b/content/.obsidian/workspace.json index 185f1b0..38bd62e 100644 --- a/content/.obsidian/workspace.json +++ b/content/.obsidian/workspace.json @@ -37,7 +37,7 @@ "state": { "type": "markdown", "state": { - "file": "Bypassing Ports Old.md", + "file": "Wine Crate Coffee Table.md", "mode": "source", "source": false } @@ -122,7 +122,7 @@ "state": { "type": "backlink", "state": { - "file": "Bypassing Ports Old.md", + "file": "Wine Crate Coffee Table.md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -139,7 +139,7 @@ "state": { "type": "outline", "state": { - "file": "Bypassing Ports Old.md" + "file": "Wine Crate Coffee Table.md" } } } @@ -162,19 +162,13 @@ }, "active": "d9a16803d250ddc4", "lastOpenFiles": [ - "Bypassing Ports.md", - "Bypassing Ports Old.md", - "Backup Strategy.md", - "Algae Growth.md", - "Secret Garden.md", - "Airflow.md", - "Wine Crate Coffee Table.md", "Things I Recommend.md", "t0txt.md", "t0 Services.md", "Spaceport.md", "Solar Car.md", "Sensors.md", + "Secret Garden.md", "QotNews.md", "Protospace.md", "Plant Waterer.md", @@ -184,10 +178,16 @@ "Light Switch.md", "LED Dress.md", "Japan Photography.md", - "Hydroponics Log 3.md", - "Hydroponics Log 2.md", "Hydroponics Log 1.md", "Hydroponics Aphid War.md", + "Hydroponics.md", + "Hand of Ozymandias.md", + "Garage Door Opener.md", + "Fake Dog.md", + "ChatGPT Peanut Butter Cookies.md", + "Bypassing Ports Old.md", + "Bypassing Ports.md", + "Backup Strategy.md", "media/japan12hi.jpg", "media/japan11hi.jpg", "media/japan10hi.jpg", diff --git a/content/Acoustic Panels.md b/content/Acoustic Panels.md index b4ce912..70dc7a3 100644 --- a/content/Acoustic Panels.md +++ b/content/Acoustic Panels.md @@ -3,6 +3,7 @@ Date: 2021-10-21 Category: Creations Summary: Panels for acoustic treatment in my home theatre. Image: panel3.jpg +Tags: feed Acoustic treatment is one of the most overlooked aspects of home audio. There's no point in spending money on premium speakers if the room they are playing in has poor acoustics. diff --git a/content/Backup Strategy.md b/content/Backup Strategy.md index 5a56e4d..f233f72 100644 --- a/content/Backup Strategy.md +++ b/content/Backup Strategy.md @@ -3,6 +3,7 @@ Date: 2021-04-08 Category: Writing Summary: Details about the backup system for all of my data. Wide: true +Tags: feed [TOC] diff --git a/content/Bypassing Ports.md b/content/Bypassing Ports.md index db2385a..314ad25 100644 --- a/content/Bypassing Ports.md +++ b/content/Bypassing Ports.md @@ -3,6 +3,7 @@ Date: 2023-12-10 Category: Writing Summary: Bypass ISP blocked ports using VPN port forwarding for public access. Wide: true +Tags: feed [TOC] diff --git a/content/ChatGPT Peanut Butter Cookies.md b/content/ChatGPT Peanut Butter Cookies.md index 6f3fc2c..35d9822 100644 --- a/content/ChatGPT Peanut Butter Cookies.md +++ b/content/ChatGPT Peanut Butter Cookies.md @@ -3,6 +3,7 @@ Date: 2023-03-24 Category: Writing Summary: A recipe generated by ChatGPT for peanut butter cookies. Image: cookies3.jpg +Tags: feed (describe a house fire in the style of a crappy blog post that people put above recipes that tell their life story before getting to the point about how their house burned down) The flames danced around the living room, illuminating the memories that were now nothing more than ash. It was a warm summer evening, and we were all gathered in the backyard, enjoying the company of good friends and family. Little did we know that our lives were about to change forever. diff --git a/content/Fake Dog.md b/content/Fake Dog.md index 8d807f2..d84ef34 100644 --- a/content/Fake Dog.md +++ b/content/Fake Dog.md @@ -3,6 +3,7 @@ Date: 2022-06-27 Category: Creations Summary: Fake dog barking for home security while on vacation. Image: fake-dog.jpg +Tags: feed I set up a fake dog that barks if my surveillance cameras are triggered while I'm out of town on vacation. It's a pair of computer speakers plugged into a Raspberry Pi, which is an inexpensive single-board computer. One speaker faces the front door and the other faces the side door. diff --git a/content/Garage Door Opener.md b/content/Garage Door Opener.md index 1b5c896..640267f 100644 --- a/content/Garage Door Opener.md +++ b/content/Garage Door Opener.md @@ -3,6 +3,7 @@ Date: 2021-12-26 Category: Creations Summary: Hacking my garage door opener to work over Wifi. Image: garage3.jpg +Tags: feed In the quest to automate as much of my house as possible, I thought it would be useful to be able to remotely control my garage door from my home automation system. If I suspected that I forgot to close it while leaving, I could check in my security cameras and then close it from anywhere. It's nice having this peace of mind, even if it almost never happens. diff --git a/content/Hand of Ozymandias.md b/content/Hand of Ozymandias.md index 6c2aa38..5ffc0f7 100644 --- a/content/Hand of Ozymandias.md +++ b/content/Hand of Ozymandias.md @@ -3,6 +3,7 @@ Date: 2012-03-23 Category: Creations Summary: A withered hand I welded out of scrap metal. Image: hand1.jpg +Tags: feed I was visiting my cousins in Radium, BC and decided to learn stick welding at their shop. I wanted to create a sculpture, so with pieces of scrap metal I welded together this hand. The beads are far from perfect. Working with small pieces of rusted metal made it difficult. diff --git a/content/Hydroponics.md b/content/Hydroponics.md index f20b391..b0967e6 100644 --- a/content/Hydroponics.md +++ b/content/Hydroponics.md @@ -3,6 +3,7 @@ Date: 2022-07-29 Category: Writing Summary: My experiments growing food with hydroponics. Wide: true +Tags: feed [TOC] diff --git a/content/Japan Photography.md b/content/Japan Photography.md index 3ee20a0..04dfc64 100644 --- a/content/Japan Photography.md +++ b/content/Japan Photography.md @@ -4,6 +4,7 @@ Category: Writing Summary: Photos from my trip to Japan. Image: japan06lo.jpg Nofilter: true +Tags: feed All photos are unmodified (not even cropped) and taken with a Pixel 6a. diff --git a/content/LED Dress.md b/content/LED Dress.md index 03617a7..b2f1d6c 100644 --- a/content/LED Dress.md +++ b/content/LED Dress.md @@ -3,6 +3,7 @@ Date: 2016-03-18 Category: Creations Summary: A dress made out of LEDs that twinkle like stars. Image: dress1.jpg +Tags: feed A friend of mine was attending a stars and constellations themed ball. She wanted to wear a dress that was lit up with LEDs acting as twinkling stars. Seven of the 28 stars are aligned to resemble the Big Dipper constellation and twinkle differently than the rest, which twinkle in a random pattern. diff --git a/content/Light Switch.md b/content/Light Switch.md index 43adb1f..78da5c9 100644 --- a/content/Light Switch.md +++ b/content/Light Switch.md @@ -3,6 +3,7 @@ Date: 2014-10-09 Category: Creations Summary: A device to toggle my lights remotely. Image: light1.jpg +Tags: feed I wanted the ability to toggle my bedroom light remotely for convenience. I designed a circuit that allows me to control my light with any device that can load a webpage. diff --git a/content/Linux Flavour.md b/content/Linux Flavour.md index 97ae850..f605fb3 100644 --- a/content/Linux Flavour.md +++ b/content/Linux Flavour.md @@ -3,6 +3,7 @@ Date: 2020-10-31 Category: Writing Summary: A recommendation on which flavour of Linux to run. Wide: true +Tags: feed [TOC] diff --git a/content/Notica.md b/content/Notica.md index 221f3d6..12c5e27 100644 --- a/content/Notica.md +++ b/content/Notica.md @@ -3,6 +3,7 @@ Date: 2022-05-17 Category: Projects Summary: Send browser notifications from your terminal. No installation. No registration. Image: notica1.jpg +Tags: feed [Notica](https://notica.us) allows you to send browser notifications from your terminal to know when a slow command has finished running. It doesn't require installing anything or registering an account. It also works over ssh unlike `notify-send`. diff --git a/content/Painting.md b/content/Painting.md index de2a307..98b0424 100644 --- a/content/Painting.md +++ b/content/Painting.md @@ -3,6 +3,7 @@ Date: 2012-04-11 Category: Creations Summary: My first attempt at painting with acrylic. Image: painting1.jpg +Tags: feed The painting is called “Man’s Reach Exceeds His Grasp”. I've always wanted to try painting and thought I had a good idea, so after a couple of drawings I attempted to paint it. I eventually got it framed at Michaels. Many thanks to my friend Laura for the opportunity to do this, I couldn't have done it without her help. diff --git a/content/Plant Waterer.md b/content/Plant Waterer.md index e31333a..14d4160 100644 --- a/content/Plant Waterer.md +++ b/content/Plant Waterer.md @@ -3,6 +3,7 @@ Date: 2014-06-05 Category: Creations Summary: A device that automatically waters plants. Image: waterer2.jpg +Tags: feed One day I decided watering my one plant was too much work, so I automated it. It's also great for when I'm on vacation. The plant is a year old now and doesn't look as good as it used to (kinda like you). So this machine is like its life support. diff --git a/content/Protospace.md b/content/Protospace.md index fbb2ac4..35c7a56 100644 --- a/content/Protospace.md +++ b/content/Protospace.md @@ -4,6 +4,7 @@ Category: Writing Summary: An outline of my projects at Calgary's makerspace Protospace. Image: protospace1.jpg Wide: true +Tags: feed [Protospace](https://protospace.ca) is Calgary's original makerspace, a place where people go to make things and work on projects. It's a two-bay industrial shop with a full wood working area, metal working area, electronics lab, two laser cutters, five 3D printers, and sewing room. Members pay $55/month for 24/7 access to the facility and everyone is equal: Protospace has no owners and decisions are made by the membership. diff --git a/content/QotNews.md b/content/QotNews.md index 732c97e..1545282 100644 --- a/content/QotNews.md +++ b/content/QotNews.md @@ -3,6 +3,7 @@ Date: 2022-05-18 Category: Projects Summary: Hacker News, Reddit, Lobsters, and Tildes articles pre-rendered in reader mode. Optimized for speed and distraction-free reading. Image: qotnews1.jpg +Tags: feed [QotNews](https://news.t0.vc) is a news meta-aggregator. It gathers top articles from four news aggregators: Hacker News, Reddit, Lobsters, and Tildes along with their comments. The articles are then transformed into readable versions with consistent formatting and distractions removed. All articles in the main feed are preloaded by the client so they load instantly when clicked on. diff --git a/content/Solar Car.md b/content/Solar Car.md index a1adc84..9b9d183 100644 --- a/content/Solar Car.md +++ b/content/Solar Car.md @@ -3,6 +3,7 @@ Date: 2013-04-27 Category: Creations Summary: About my time volunteering with the University of Calgary Solar Car Team, where I designed a maximum power point tracker. Image: solar2.jpg +Tags: feed I joined the University of Calgary Solar Car Team in my first semester for a chance to learn things, gain practical experience, and meet people that share my interests. The car was the top Canadian team in a 3000 km race from Darwin to Adelaide, Australia in 2011. We met up at a shop on campus every Saturday morning to work on the new Generation IV of the solar car. diff --git a/content/Spaceport.md b/content/Spaceport.md index f2e5b80..da4efb4 100644 --- a/content/Spaceport.md +++ b/content/Spaceport.md @@ -3,6 +3,7 @@ Date: 2022-05-16 Category: Projects Summary: Member portal for Calgary Protospace. It tracks dues, courses, training, access cards, and more. Image: spaceport1.jpg +Tags: feed [Spaceport](https://my.protospace.ca) is the member portal that I wrote for [[Protospace]], a makerspace that I frequent in Calgary. It is by far my largest project and the one I've spent the most time on. It has a database of all our members and tracks their transactions like dues and training fees. It allows members to sign up for classes and our instructors to teach courses. It also manages the access cards that members use to get into the building. diff --git a/content/Things I Recommend.md b/content/Things I Recommend.md index 5e07aff..3479573 100644 --- a/content/Things I Recommend.md +++ b/content/Things I Recommend.md @@ -3,6 +3,7 @@ Date: 2022-06-24 Category: Writing Summary: Software and products that I recommend you use. Wide: true +Tags: feed This outlines some software and devices I recommend you use: uBlock Origin, Sponsorblock, Aegis Authenticator, ThruNite T1 flashlights, Logitech G Pro Wireless mice, and ThinkPad Laptops. Nothing here was sponsored. diff --git a/content/Wine Crate Coffee Table.md b/content/Wine Crate Coffee Table.md index fb59adb..9b413a8 100644 --- a/content/Wine Crate Coffee Table.md +++ b/content/Wine Crate Coffee Table.md @@ -3,6 +3,7 @@ Date: 2018-09-12 Category: Creations Summary: A coffee table made out of wooden wine creates. Image: wine3.jpg +Tags: feed My close friend Odai saw a simple coffee table design online that was built out of four wooden wine crates. They are quite cheap and available at any hardware store. We each wanted to make one so went and bought eight crates and some plywood to use as a base. diff --git a/content/t0 Services.md b/content/t0 Services.md index 7fbb1cf..5625b2d 100644 --- a/content/t0 Services.md +++ b/content/t0 Services.md @@ -4,6 +4,7 @@ Category: Writing Summary: A list of minimal microservices on my t0.vc domain. Wide: true Short: 6 +Tags: feed The t-zero Services are a collection of minimalist microservices that I host on my t0.vc domain. The letter "t" meaning me, and "0" meaning small. They're all meant to do exactly one thing reliably and stay online for as long as I can host them. diff --git a/content/t0txt.md b/content/t0txt.md index 917b20a..635b23b 100644 --- a/content/t0txt.md +++ b/content/t0txt.md @@ -2,6 +2,7 @@ Title: t0txt Date: 2022-05-15 Category: Projects Summary: Minimal command line pastebin. Allows you to upload text notes from a bash pipe or web browser. +Tags: feed [t0txt](https://txt.t0.vc) is a minimalist pastebin. You can upload text notes from the command line by using a bash alias or by submitting text through the web form. diff --git a/publishconf_lite.py b/publishconf_lite.py index f4eb803..3b6d0ea 100644 --- a/publishconf_lite.py +++ b/publishconf_lite.py @@ -4,8 +4,8 @@ from __future__ import unicode_literals import os AUTHOR = 'Tanner' -SITENAME = 'Tanner' -SITEURL = '' +SITENAME = 'Tanner\'s Site (t0.vc)' +SITEURL = 'https://t0.vc' PATH = 'content' @@ -19,6 +19,11 @@ CATEGORY_FEED_ATOM = None TRANSLATION_FEED_ATOM = None AUTHOR_FEED_ATOM = None AUTHOR_FEED_RSS = None +#TAG_FEED_ATOM = 'feeds/{slug}/atom.xml' +#TAG_FEED_RSS = 'feeds/{slug}/rss.xml' +TAG_FEED_ATOM = 'test-atom.xml' +TAG_FEED_RSS = 'test-rss.xml' +RSS_FEED_SUMMARY_ONLY = False # include full content DEFAULT_PAGINATION = False