Skip to content

View Solr Metadata in GeoBlacklight

GeoBlacklight can display the raw metadata for a published item by appending one of the following extensions to the end of an item's show page URL:

url.xml

  • Produces a Dublin Core XML document in the OAI_DC schema.
  • The fields for this document can be adjusted in the solr_document.rb, which is found here: app/models/solr_document.rb.

url.json

Depending on your version, this will produce either:

  • A nested JSON document of the metadata that appears on the item page (this document can be harvested by the JSON:API protocol), OR

  • A full metadata file for the item as a flat JSON document (up to GeoBlacklight version 1.9).

url/raw

  • Only available for GeoBlacklight versions 2.0+.
  • Displays the full metadata file for the item as a flat JSON document.

Chart of viewing options

  • url.xml: Dublin Core XML document
  • url.json: nested JSON document of only the metadata that appears on the item page
  • url/raw: flat JSON document of all metadata associated with the item
  • url.xml: Dublin Core XML document
  • url.json: flat JSON document of all metadata associated with the item