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

@@ -329,7 +329,11 @@ feature -- Hooks
end
end
ch.set_information (l_info)
ch.set_author (n.editor)
if n.editor = Void then
ch.set_author (n.author)
else
ch.set_author (n.editor)
end
ch.set_summary (n.summary)
if attached {CMS_TAXONOMY_API} l_node_api.cms_api.module_api ({CMS_TAXONOMY_MODULE}) as l_taxonomy_api then
if attached l_taxonomy_api.terms_of_content (n, Void) as l_terms then