- First commit to issue fork.
- Merge request !9622Use AccountInterface::getDisplayName() for RSS feeds in Views → (Open) created by el7cosmos
I have the realname module installed on my site to display authors by their realname instead of username. But this is not working for the feed I created in views. The XML generated has the username for the creator for each article. For example:
<dc:creator>daviser</dc:creator>
The creator is set in modules/node/views_plugin_row_node_rss.inc
I found that if I change this
'key' => 'dc:creator',
'value' => $node->name,
to
'key' => 'dc:creator',
'value' => format_username($node),
then the realname is used for the creator.
<dc:creator>Ellen Davis</dc:creator>
Needs work
11.0 🔥
views.module
Related to the Views in Drupal Core initiative.
The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.
The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.