make rss feed full text

This commit is contained in:
cassie 2025-08-11 00:42:05 -04:00
parent 85bc223210
commit bef9253e83
4 changed files with 91 additions and 9 deletions

View File

@ -4,22 +4,22 @@
"type": "split",
"children": [
{
"id": "c0783aa6d60b87aa",
"id": "e9047e1a14e59897",
"type": "tabs",
"children": [
{
"id": "9343c744a97d01a4",
"id": "f83b38ff735bcd79",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "content/week-notes/027.md",
"file": "content/week-notes/028.md",
"mode": "source",
"source": false,
"backlinks": false
},
"icon": "lucide-file",
"title": "027"
"title": "028"
}
}
]
@ -158,10 +158,12 @@
"obsidian-git:Open Git source control": false
}
},
"active": "caf2074a3f9acbd7",
"active": "f83b38ff735bcd79",
"lastOpenFiles": [
"content/posts/test.md",
"content/posts/2025-08-11.md",
"content/week-notes/028.md",
"content/week-notes/027.md",
"content/posts/test.md",
"content/week-notes/026.md",
"content/templates/(week notes N).md",
"content/week-notes/025 unused.md",
@ -184,8 +186,6 @@
"content/week-notes/016.md",
"content/week-notes/017.md",
"content/week-notes/018.md",
"content/week-notes/019.md",
"content/week-notes/020.md",
"public/posts/fx-chains-by-the-utterly-inept/index.html",
"public/posts/fx-chains-by-the-utterly-inept",
"public/tags/podcasting/index.xml",

20
content/week-notes/028.md Normal file
View File

@ -0,0 +1,20 @@
---
title: (week notes 28)
date: 2025-08-11
tags:
- week-notes
draft: true
url: week-notes/028
---
## Doing
## Reading
## Watching
## Playing
## Listening
I finally got around to listening to *SOPHIE* by SOPHIE. Man, I have such mixed feelings about posthumous releases. The greedy bitch in me wants more, always, especially from artists who died way too young. I know SOPHIE's brother, who finished the album, insists that SOPHIE was nearly done with it at the time of her death, but the stretch between "nearly finished" and "actually ready to release" can be miles long for an artist. I'm not an artist, by any means, of SOPHIE's caliber, but a piece of writing for me can completely transform in the edit. Posthumous albums too often feel like an early sketch[^1], a pastiche of the auteur that are perhaps categorically incapable of capturing the genuine vision and artistry of the deceased. Unfortunately, this was the case for me with *SOPHIE*: "Reason Why" and "Live in My Truth" were standouts, but in general, it lacked the thrill and voice of SOPHIE (RIP).
[^1]: I had [similar beef](https://cassie.ink/week-notes/021/) with Mac Miller's *Circles*.

59
layouts/home.rss.xml Normal file
View File

@ -0,0 +1,59 @@
{{- $authorEmail := "" }}
{{- with site.Params.author }}
{{- if reflect.IsMap . }}
{{- with .email }}
{{- $authorEmail = . }}
{{- end }}
{{- end }}
{{- end }}
{{- $authorName := "" }}
{{- with site.Params.author }}
{{- if reflect.IsMap . }}
{{- with .name }}
{{- $authorName = . }}
{{- end }}
{{- else }}
{{- $authorName = . }}
{{- end }}
{{- end }}
{{- $pctx := . }}
{{- if .IsHome }}{{ $pctx = .Site }}{{ end }}
{{- $pages := slice }}
{{- if or $.IsHome $.IsSection }}
{{- $pages = $pctx.RegularPages }}
{{- else }}
{{- $pages = $pctx.Pages }}
{{- end }}
{{- $limit := .Site.Config.Services.RSS.Limit }}
{{- if ge $limit 1 }}
{{- $pages = $pages | first $limit }}
{{- end }}
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} on {{ end }}{{ .Site.Title }}{{ end }}</title>
<link>{{ .Permalink }}</link>
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{ . }} {{ end }}{{ end }}on {{ .Site.Title }}</description>
<generator>Hugo</generator>
<language>{{ site.Language.LanguageCode }}</language>{{ with $authorEmail }}
<managingEditor>{{.}}{{ with $authorName }} ({{ . }}){{ end }}</managingEditor>{{ end }}{{ with $authorEmail }}
<webMaster>{{ . }}{{ with $authorName }} ({{ . }}){{ end }}</webMaster>{{ end }}{{ with .Site.Copyright }}
<copyright>{{ . }}</copyright>{{ end }}{{ if not .Date.IsZero }}
<lastBuildDate>{{ (index $pages.ByLastmod.Reverse 0).Lastmod.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
{{- with .OutputFormats.Get "RSS" }}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{- end }}
{{- range $pages }}
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
<pubDate>{{ .PublishDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{- with $authorEmail }}<author>{{ . }}{{ with $authorName }} ({{ . }}){{ end }}</author>{{ end }}
<guid>{{ .Permalink }}</guid>
<description>{{ .Content | transform.XMLEscape | safeHTML }}</description>
</item>
{{- end }}
</channel>
</rss>

View File

@ -7,4 +7,7 @@
{{ end }}
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
{{ partialCached "head/css.html" . }}
{{ partialCached "head/js.html" . }}
{{ partialCached "head/js.html" . }}
{{ with .OutputFormats.Get "rss" }}
{{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }}
{{ end }}