diff options
| author | Joe Carstairs <me@joeac.net> | 2026-06-18 19:04:11 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-06-18 19:04:11 +0100 |
| commit | 7d4ce6f07368066bc37314a9649082f0a84c6ad5 (patch) | |
| tree | 811253c5b4b382c905fc7dbab931854ef723d418 /http/src/blog | |
| parent | db5b029f78deed13a17ca05facf4092142c07fa9 (diff) | |
rss.xml uses description instead of content:encoded
Diffstat (limited to 'http/src/blog')
| -rw-r--r-- | http/src/blog/rss.uppxml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/http/src/blog/rss.uppxml b/http/src/blog/rss.uppxml index 4ed05e1..b3f7466 100644 --- a/http/src/blog/rss.uppxml +++ b/http/src/blog/rss.uppxml @@ -26,8 +26,7 @@ DATE_PUBLISHED_RFC_822="$(TZ=UT date --date="${POST_ID}" +"%a, %d %b %Y %H:%M:%S <link>${SITE_URL}/blog/${POST_ID}</link> <guid isPermaLink='true'>${SITE_URL}/blog/${POST_ID}</guid> <pubDate>${DATE_PUBLISHED_RFC_822}</pubDate> -<description>${POST_DESCRIPTION:-${POST_TITLE}}</description> -<content:encoded> +<description> #! NO_META=1 pp "${SRC}/blog/$post" "${SITE_URL}" \ | sed "s/&/\\&/g" \ @@ -38,7 +37,7 @@ NO_META=1 pp "${SRC}/blog/$post" "${SITE_URL}" \ | sed "s/\`/\\`/g" \ | sed "s/\\\$/\\\\\$/g" #! -</content:encoded> +</description> <author>Joe Carstairs</author> </item> |
