NCEAS / metacatui

MetacatUI: A client-side web interface for DataONE data repositories
https://nceas.github.io/metacatui
Apache License 2.0
42 stars 27 forks source link

FGDC metadata entries should show external links when available #250

Open datadavev opened 7 years ago

datadavev commented 7 years ago

FGDC metadata records that refer to data resources in an external location should have that URI exposed in the rendering of the search result. For example:

https://search.dataone.org/index.html#view/b5f4074d-9989-4e17-8e87-cf490c54b4c6

Is an FGDC metadata entry that references a zip file of the shapefile described by the metadata:

 <distinfo>
    <distrib>
      <cntinfo>
        <cntorgp>
          <cntorg>U.S. Geological Survey</cntorg>
        </cntorgp>
        <cntpos>Ask USGS -- Water Webserver Team</cntpos>
        <cntaddr>
          <addrtype>mailing</addrtype>
          <address>445 National Center</address>
          <city>Reston</city>
          <state>VA</state>
          <postal>20192</postal>
          <country>US</country>
        </cntaddr>
        <cntvoice>1-88-275-8487 (1-888-ASK-USGS)</cntvoice>
        <cntemail>https://water.usgs.gov/user_feedback_form.html</cntemail>
      </cntinfo>
    </distrib>
    <resdesc>Bathymetrid data for SIM-3203</resdesc>
    <distliab>See access and use constraints information.</distliab>
    <stdorder>
      <digform>
        <digtinfo>
          <formname>Shapefile</formname>
          <transize>0.279 Mb</transize>
        </digtinfo>
        <digtopt>
          <onlinopt>
            <computer>
              <networka>
                <networkr>https://water.usgs.gov/GIS/dsdl/TottenResContours.zip</networkr>
              </networka>
            </computer>
          </onlinopt>
        </digtopt>
      </digform>
      <fees>None. This dataset is provide by USGS as a public service.</fees>
    </stdorder>
  </distinfo>

It would be helpful to end users if this information could be exposed as an external resources in the DataONE view of the metadata record.

amoeba commented 7 years ago

Good suggestion @datadavev. Were you thinking this would be akin to the service display for ISO19139 metadata records? Could it re-use that view?

I also noticed that the Metacat View Service has a stylesheet for FGDC documents but it appears to not be showing up for some reason. The display on your link looks like the usual Solr-only display. This change could be made in either MetacatUI or Metacat.