Skip to content

View Solr Metadata in GeoBlacklight

GeoBlacklight will display the raw metadata for a published item. Just append 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.

  • a full metadata file for the item as a flat JSON document (GeoBlacklight until 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