Skip to content
This repository was archived by the owner on Sep 25, 2018. It is now read-only.
This repository was archived by the owner on Sep 25, 2018. It is now read-only.

Microdata #16

@rudolfbyker

Description

@rudolfbyker

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:

  • rsc_rc.module
  • rsc_library.template.inc
  • 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)
  • Add the relevant microdata attributes to the fields and nodes using preprocess functions and/or templates.

Apparently, items may be nested. Look into this, too.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions