mirror of
https://github.com/feeddeck/feeddeck.git
synced 2026-03-09 07:02:01 -05:00
[rss] Support article text in <content:encoded> </content:encoded> tags #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dezponia on GitHub (Mar 1, 2025).
Originally assigned to: @ricoberger on GitHub.
Problem
FeedDeck doesn't include the full article text if its provided within
<content:encoded>and</content:encoded>tags in the RSS Feed.RSS Feeds that provide the article content in the
<description>and</description>tags work as expected with the full article text shown within FeedDeck.While this may not be an issue for feeds that only provide snippets of the article it becomes an issue when sites offer feeds with the full article text.
For example Ars Technica and The Verge offers full article text feeds to paying subscribers which don't work because of this. These feeds only show the very limited Headline (
<title>) and subheading/"second deck" (<description>), but misses the article body (<content:encoded>) so you have to click the "Open Link" button and read the article on their site.Examples of sites that use
<content:encoded>and</content:encoded>for their article text:Examples of sites that use
<description>and</description>tags for their article text:Proposed solution/behavior:
Ideally if a feed provides
<content:encoded>and</content:encoded>tags these should be rendered as article content in FeedDeck when you click the post to expand it. This content does not need to be shown before expanding the post.The
<description>and</description>should continue to serve as a quick description of the article in the feed and be cut off after a few lines if it goes on for too long. When the post is expanded the full description can be rendered. This is exactly how FeedDeck works today for LWN and GOL linked above and it works well.This solution would make FeedDeck cater to both types of feed, those that use the
<description>tag for the full article content, and those that compliment it with/use<content:encoded>for full article content.@ricoberger commented on GitHub (Apr 19, 2025):
Hi @dezponia, thanks for raising this issue. Until now we always preferred the
descriptionfield over thecontent:encodedfield. In #243 I changed this, so that nowcontent:encodedfield is preferred over thedescriptionfield. Thedescriptionfield will only be used if thecontent:encodedfield is not present or when the content of the field is longer then the content of thecontent:encodedfield. I think this makes more sense when both fields are present.