forked from mirrors/catstodon
Add titles to RSS feeds again
This commit is contained in:
parent
c33675bdb1
commit
daaf383236
3 changed files with 5 additions and 0 deletions
|
@ -24,6 +24,9 @@ I highly suggest only ever running the `main` branch in production!
|
|||
- Allow higher resolution images. (4096x4096 instead of the previous limit of 1920x1080)
|
||||
- Allow posting polls with only one poll option (if `MIN_POLL_OPTIONS` is set to 1 on your instance).
|
||||
- Added oatstodon flavour (taken from [types.pl fork](https://github.com/ralsei/types.pl), by [@oat@hellsite.site](https://hellsite.site/@oat))
|
||||
- RSS feeds have titles again.
|
||||
- Account RSS feeds show the CW (if applicable).
|
||||
- Tag RSS feeds show the handle (username if local, username@domain if remote) and the CW (if applicable).
|
||||
|
||||
## Previous differences now merged into glitch-soc
|
||||
- Fixed incorrect upload size limit display when adding new a new custom emoji. ([Pull request](https://github.com/glitch-soc/mastodon/pull/1763))
|
||||
|
|
|
@ -9,6 +9,7 @@ RSS::Builder.build do |doc|
|
|||
|
||||
@statuses.each do |status|
|
||||
doc.item do |item|
|
||||
item.title("New post#{" (CW: #{status.spoiler_text})" unless status.spoiler_text.empty?}")
|
||||
item.link(ActivityPub::TagManager.instance.url_for(status))
|
||||
item.pub_date(status.created_at)
|
||||
item.description(rss_status_content_format(status))
|
||||
|
|
|
@ -7,6 +7,7 @@ RSS::Builder.build do |doc|
|
|||
|
||||
@statuses.each do |status|
|
||||
doc.item do |item|
|
||||
item.title("New post by #{status.account.pretty_acct}#{" (CW: #{status.spoiler_text})" unless status.spoiler_text.empty?}")
|
||||
item.link(ActivityPub::TagManager.instance.url_for(status))
|
||||
item.pub_date(status.created_at)
|
||||
item.description(rss_status_content_format(status))
|
||||
|
|
Loading…
Reference in a new issue