Make RSS feeds more readable #410
No reviewers
Labels
No labels
accessibility
bug
discussion
documentation
enhancement
feature parity
good first issue
help wanted
question
rss
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
PAS/nitter!410
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "nicer-rss"
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?
The tweets retrieved by Nitter use literal newline characters rather than HTML
<p>or<br>tags. When these are included verbatim in RSS feeds, some RSS readers will just concatenate all the lines together, which can make tweets difficult to understand. Thepre-wrapattribute used by the Nitter UI won't necessarily be respected by RSS readers, so this PR inserts<br>tags alongside newlines as a best-effort attempt to improve readability. In addition, it shortens the titles of RSS feed items to a truncated prefix of the tweet text, rather than having an awkwardly long title that duplicates the description. I can split those into two separate PRs if that's preferable.I have been looking for a solution to the comically long titles in my rss reader for feeds, this could be it.
I don't use Nitter's RSS feature myself, so I have no strong opinions on this, but it looks good to me. Thank you!