Open rudolfbyker opened 8 years ago
Use proper microdata on all content types managed by the rsc_library module. See http://schema.org/docs/gs.html
The following issues should probably be completed first:
A broken implementation of this exists in:
if (substr($field_name, strlen(RSC_LIBRARY_PREFIX), 12) === '_difficulty_') { … }
itemprop
rscl_summary => description
itemtype
rsc_library_article => article
Apparently, items may be nested. Look into this, too.
A few remarks:
Test using Google's Structured Data Testing Tool.
Use proper microdata on all content types managed by the rsc_library module. See http://schema.org/docs/gs.html
The following issues should probably be completed first:
A broken implementation of this exists in:
if (substr($field_name, strlen(RSC_LIBRARY_PREFIX), 12) === '_difficulty_') { … }
to determine which field we are working with, regardless of the precise field name.itemprop
s (e.g.rscl_summary => description
)itemtype
s (e.g.rsc_library_article => article
)Apparently, items may be nested. Look into this, too.