Fix statuses feed

This commit is contained in:
2024-04-25 08:33:50 +10:00
parent 4febeba645
commit b95236d832

View File

@@ -25,10 +25,7 @@ xml.channel do |channel|
channel.item do |item| channel.item do |item|
item.title post.raw_content item.title post.raw_content
item.description do |desc| item.description do |desc|
desc.cdata! post.raw_content desc.cdata! post.feed_content
post.photos.each do |p|
desc.cdata! "<img src='#{p["value"]}' width='200' />"
end
end end
item.link(post.permalink) item.link(post.permalink)
item.guid(post.slug, isPermaLink: true) item.guid(post.slug, isPermaLink: true)