Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: formatting

...

As of DSpace 1.7, there is a mapping facility to connect metadata fields with these citation fields in HTML.  In order to enable this functionality, the switch needs to be flipped in dspace.cfg:

No Formatcode
 google-metadata.enable = true

 

Once the feature is enabled, the mapping is configured by a separate configuration file located here:

No Formatcode
 [dspace]/config/crosswalks/google-metadata.properties
Warningnote

Please, note that the file location changed between DSpace 1.7 and 1.8. It's now in the "crosswalks" directory, so check that the google-metadata.config configuration property points to the right file:

google-metadata.config = ${dspace.dir}/config/crosswalks/google-metadata.properties


...

This file contains name/value pairs linking meta-tags with DSpace metadata fields.  E.g…

No Formatcode
 google.citation_title = dc.title
 google.citation_publisher = dc.publisher
 google.citation_authors = dc.author | dc.contributor.author | dc.creator

...