mirror of https://github.com/tootsuite/mastodon
Remove item titles from RSS feeds (#18640)
parent
fe2d6fe105
commit
620b70c41e
|
@ -9,7 +9,6 @@ RSS::Builder.build do |doc|
|
||||||
|
|
||||||
@statuses.each do |status|
|
@statuses.each do |status|
|
||||||
doc.item do |item|
|
doc.item do |item|
|
||||||
item.title(l(status.created_at))
|
|
||||||
item.link(ActivityPub::TagManager.instance.url_for(status))
|
item.link(ActivityPub::TagManager.instance.url_for(status))
|
||||||
item.pub_date(status.created_at)
|
item.pub_date(status.created_at)
|
||||||
item.description(rss_status_content_format(status))
|
item.description(rss_status_content_format(status))
|
||||||
|
|
|
@ -7,7 +7,6 @@ RSS::Builder.build do |doc|
|
||||||
|
|
||||||
@statuses.each do |status|
|
@statuses.each do |status|
|
||||||
doc.item do |item|
|
doc.item do |item|
|
||||||
item.title(l(status.created_at))
|
|
||||||
item.link(ActivityPub::TagManager.instance.url_for(status))
|
item.link(ActivityPub::TagManager.instance.url_for(status))
|
||||||
item.pub_date(status.created_at)
|
item.pub_date(status.created_at)
|
||||||
item.description(rss_status_content_format(status))
|
item.description(rss_status_content_format(status))
|
||||||
|
|
Loading…
Reference in New Issue