Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Views (well, technically Node, but really it's Views) has a sloppy integration with this module: https://git.drupalcode.org/project/drupal/-/blob/10.0.x/core/modules/nod...
That's a blocker to Drupal core deprecating RDF.
Proposed resolution
Let's move that integration into this module by implementing hook_node_view_alter() and setting $node->rss_namespaces correctly.
Remaining tasks
Do that and add a (kernel?) test to prove it works.
Issue fork rdf-3307138
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
phenaproximaBoom -- here's the replacement functionality with a test to prove it works as expected.
Comment #4
bbralaTested on a fresh install, other functionalities keep working. Tested making an RSS view and see rdf present. Tests green locally (stupid testbot). So RTBC for me :)
Comment #5
smustgrave CreditAttribution: smustgrave at Mobomo commented+1 for RTBC
Comment #6
bbralaAdd credits
Comment #7
bbralaComment #9
bbralaThanks for the merge, you forgot to set to fixed. :)