[Mapbender-commits] r9407 - trunk/mapbender/http/classes

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Feb 23 03:24:08 PST 2016


Author: armin11
Date: 2016-02-23 03:24:08 -0800 (Tue, 23 Feb 2016)
New Revision: 9407

Modified:
   trunk/mapbender/http/classes/class_iso19139.php
Log:
Allow export iso19139 metadata into dcat rdf from html view

Modified: trunk/mapbender/http/classes/class_iso19139.php
===================================================================
--- trunk/mapbender/http/classes/class_iso19139.php	2016-02-23 11:23:16 UTC (rev 9406)
+++ trunk/mapbender/http/classes/class_iso19139.php	2016-02-23 11:24:08 UTC (rev 9407)
@@ -856,6 +856,7 @@
 			//exchange mdtype html with iso19139
 			//$queryNew = str_replace("mdtype=html","mdtype=iso19139",$_SERVER['QUERY_STRING']);
 			$html .= $t_a."<b>"._mb("ISO19139")."</b>: <a href='".$this->href."' target='_blank'>"._mb("Metadata")."</a>".$t_c;
+			$html .= $t_a."<b>"._mb("RDF")."</b>: <a href='".$_SERVER['PHP_SELF']."?".$_SERVER['QUERY_STRING']."&outputFormat=rdf"."' target='_blank'>"._mb("Geo-DCAT Metadata")."</a>".$t_c;
 			//<a href='".$_SERVER['PHP_SELF']."?".$queryNew."&validate=true' target='_blank'><img style='border: none;' src = '../img/misc/icn_inspire_validate.png' title='"._mb("INSPIRE Validator")."'></a>
 			//push xml instead of html? But there is no real url
 			$html .= $tableEnd;



More information about the Mapbender_commits mailing list