Problem/Motivation
The RDF moduled is outdated, and arguably not as fundamental to site building as other core modules. Standards and formats change over time; APIs to implement different tools are more important for core.
The motivation here mostly comes from the convolution that RDF has historically has had with the theme layer. It may be as we refactor issues related to RDF and the theme layer this motivation may go away (in which case we'll mark this as duplicate). However, let's explore whether there's a compelling reason to leave RDF in core at all.
Proposed resolution
Some ideas:
A. Remove RDF from core, create contrib project. Refactor hook_rdf_mapping() implementations from core (comment, forum, node, taxonomy, user) to be in RDF.
B. Leave RDF in core, but remove functionality applicable to RDFa from core, create contrib project to assist with RDFa that is (ideally) less convolved with the theme layer.
Remaining tasks
TBD
User interface changes
Likely few.
API changes
TBD
Related Issues
#1935548: Remove JSON-LD module
#1843650: Remove the process layer (hook_process and hook_process_HOOK)
#1941286: Remove the process layer (rdf module)
Comment | File | Size | Author |
---|---|---|---|
#3 | drupal-1977028-3.patch | 598.93 KB | c4rl |
Comments
Comment #1
c4rl CreditAttribution: c4rl commentedAha I just found #1935548: Remove JSON-LD module. I may just then change this issue to be the removal of RDFa then. :)
Comment #2
linclark CreditAttribution: linclark commentedWhen the patch is committed to remove JSON-LD, the RDF module will still exist in core. If we remove RDFa, we should also remove RDF module because that is RDF module's only use in core.
Comment #3
c4rl CreditAttribution: c4rl commentedHere's a first pass.
We'll also need to open an issue on http://drupal.org/project/rdf to port to D8.
Comment #3.0
c4rl CreditAttribution: c4rl commentedRevised summary to account for JSON-LD changes.
Comment #4
c4rl CreditAttribution: c4rl commentedGo testbot!
Comment #6
jhedstromComment #7
scor CreditAttribution: scor commentedI'm not aware of any plans to remove the RDF module from core. Most of the issues at #1778226: [META] Fix RDF module have been addressed, and a lot has changed in the 2 years after this issue was created. We may not use JSON-LD in core, but we definitely use RDFa with schema.org.