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

#1935548: Remove JSON-LD module
#1843650: Remove the process layer (hook_process and hook_process_HOOK)
#1941286: Remove the process layer (rdf module)

CommentFileSizeAuthor
#3 drupal-1977028-3.patch598.93 KBc4rl
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

c4rl’s picture

Aha I just found #1935548: Remove JSON-LD module. I may just then change this issue to be the removal of RDFa then. :)

linclark’s picture

When 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.

c4rl’s picture

Status: Needs review » Active
FileSize
598.93 KB

Here's a first pass.

We'll also need to open an issue on http://drupal.org/project/rdf to port to D8.

c4rl’s picture

Issue summary: View changes

Revised summary to account for JSON-LD changes.

c4rl’s picture

Status: Active » Needs review

Go testbot!

Status: Active » Needs review
jhedstrom’s picture

Issue summary: View changes
Status: Needs review » Needs work
Issue tags: +Needs reroll
scor’s picture

Status: Needs work » Closed (works as designed)

I'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.