From 4febeba645f9229163274aba767545b8af0a984c Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Thu, 25 Apr 2024 08:17:55 +1000 Subject: [PATCH] Add photos to statuses RSS --- slices/main/templates/feeds/statuses_rss.xml.builder | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/slices/main/templates/feeds/statuses_rss.xml.builder b/slices/main/templates/feeds/statuses_rss.xml.builder index ee2b14f..0475d65 100644 --- a/slices/main/templates/feeds/statuses_rss.xml.builder +++ b/slices/main/templates/feeds/statuses_rss.xml.builder @@ -23,9 +23,12 @@ xml.channel do |channel| posts.each do |post| channel.item do |item| - item.title post.feed_content + item.title post.raw_content item.description do |desc| desc.cdata! post.raw_content + post.photos.each do |p| + desc.cdata! "" + end end item.link(post.permalink) item.guid(post.slug, isPermaLink: true)