georchestra/georchestra — pull request #222 by landryb (2013-08-09 12:09:31+00:00)
Title: Try to find a text/html metadataURL entry after GN ticket #1227.

Better than taking the first returned entry.

By default, for the show metadata link in the menu, mapfishapp uses the first entry. It'd be nicer to check all metadataURL values, and prefer one with text/html format.

In my case when using geopublishing from geonetwork to geoserver, it appends two metadataURL entries, one pointing back to the text/xml format, and one with text/html format. See http://trac.osgeo.org/geonetwork/ticket/1227