Improved node feed and recent changes feed by setting proper feed id and feed item id, and set expected author name.

This commit is contained in:
Jocelyn Fiat
2017-09-06 16:58:42 +02:00
parent f0180cc682
commit e9c028b94e
5 changed files with 31 additions and 3 deletions

View File

@@ -143,10 +143,12 @@ feature -- Hook
ch := ic.item
create l_feed_item.make (ch.link.title)
l_feed_item.set_date (ch.date)
if attached ch.id as l_ch_id then
l_feed_item.set_id (l_ch_id)
end
if attached ch.author as l_author then
l_feed_item.set_author (create {FEED_AUTHOR}.make (a_response.api.real_user_display_name (l_author)))
end
create s.make_empty
if attached ch.information as l_information then