You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 25, 2018. It is now read-only.
Use something like if (substr($field_name, strlen(RSC_LIBRARY_PREFIX), 12) === '_difficulty_') { … } to determine which field we are working with, regardless of the precise field name.
Decide on a mapping between
Drupal fields and schema itemprops (e.g. rscl_summary => description)
Drupal content types and schema itemtypes (e.g. rsc_library_article => article)
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.itemprops (e.g.rscl_summary => description)itemtypes (e.g.rsc_library_article => article)Apparently, items may be nested. Look into this, too.