Suppressing RDF mapping
(Questions from me, answers from Stéphane.)
Apologies if this is covered in the chapter or well-documented elsewhere,
but i have what i think should be a pretty common case.
haven't seen it anywhere, but it's the kind of question that should be
in a FAQ somewhere...
I'm printing a node, say a page node, and don't want it to name its creator
in RDFa (or any other potential RDF output) any more than i want to display
the 'submitted by' in HTML.I guess most things are RDFa so no display = not there, but the has creator
and time stuff for a page is shown.
several options:
-
(best) alter the mappings of that node type using the RDF mapping
API http://api.drupal.org/api/drupal/modules--rdf--rdf.module/group/rdf/7 -
Untick "Display author and date information." for the content type.
(that works for me). -
override theme function, or strip out the attribute in preprocess
function (need to make sure it's called after rdf.module)
Comments
Post new comment