[Mapbender-commits] r9888 - in trunk/mapbender/http: javascripts plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Mar 26 03:12:53 PDT 2018


Author: armin11
Date: 2018-03-26 03:12:53 -0700 (Mon, 26 Mar 2018)
New Revision: 9888

Modified:
   trunk/mapbender/http/javascripts/mb_downloadFeedClient.php
   trunk/mapbender/http/plugins/mb_downloadFeedClient.php
Log:
Delete old atom feed examples, open download link in new window

Modified: trunk/mapbender/http/javascripts/mb_downloadFeedClient.php
===================================================================
--- trunk/mapbender/http/javascripts/mb_downloadFeedClient.php	2018-03-26 09:19:21 UTC (rev 9887)
+++ trunk/mapbender/http/javascripts/mb_downloadFeedClient.php	2018-03-26 10:12:53 UTC (rev 9888)
@@ -328,9 +328,9 @@
 				//$("#download_link").remove();
 				//show Downloadlink
 				if (featureCollection.features[k].properties.link[i]['@attributes'].length == '' || featureCollection.features[k].properties.link[i]['@attributes'].length === undefined) {
-					downloadLink = "<li><a value='download_link_"+i+"' href='"+featureCollection.features[k].properties.link[i]['@attributes'].href+"' title='"+featureCollection.features[k].properties.link[i]['@attributes'].title+"'>"+featureCollection.features[k].properties.link[i]['@attributes'].title+"</li>";
+					downloadLink = "<li><a target='_blank' value='download_link_"+i+"' href='"+featureCollection.features[k].properties.link[i]['@attributes'].href+"' title='"+featureCollection.features[k].properties.link[i]['@attributes'].title+"'>"+featureCollection.features[k].properties.link[i]['@attributes'].title+"</li>";
 				} else {
-					downloadLink = "<li><a value='download_link_"+i+"' href='"+featureCollection.features[k].properties.link[i]['@attributes'].href+"' title='"+featureCollection.features[k].properties.link[i]['@attributes'].title+"'>"+featureCollection.features[k].properties.link[i]['@attributes'].title+" - (~"+featureCollection.features[k].properties.link[i]['@attributes'].length / 1000000 +" MB)"+"</li>";
+					downloadLink = "<li><a target='_blank' value='download_link_"+i+"' href='"+featureCollection.features[k].properties.link[i]['@attributes'].href+"' title='"+featureCollection.features[k].properties.link[i]['@attributes'].title+"'>"+featureCollection.features[k].properties.link[i]['@attributes'].title+" - (~"+featureCollection.features[k].properties.link[i]['@attributes'].length / 1000000 +" MB)"+"</li>";
 				}
 				//append link
 				$('#download_link_list').append(downloadLink);

Modified: trunk/mapbender/http/plugins/mb_downloadFeedClient.php
===================================================================
--- trunk/mapbender/http/plugins/mb_downloadFeedClient.php	2018-03-26 09:19:21 UTC (rev 9887)
+++ trunk/mapbender/http/plugins/mb_downloadFeedClient.php	2018-03-26 10:12:53 UTC (rev 9888)
@@ -198,18 +198,15 @@
       <div class="dropdown" id="example_div">
 		<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><?php echo _mb("Example feeds");?> <span class="caret"></span></button>
 		<ul class="dropdown-menu" id="example_feeds">
-			<li><a class="example_service_feed" value="http://www.geoportal.rlp.de/mapbender/php/mod_inspireDownloadFeed.php?id=2b009ae4-aa3e-ff21-870b-49846d9561b2&type=SERVICE&generateFrom=wmslayer&layerid=30694">Orthofotos Rheinland-Pfalz (WFS Datenquelle)</a></li>
-			<li><a class="example_service_feed" value="http://www.geoportal.rlp.de/mapbender/php/mod_inspireDownloadFeed.php?id=c2019e4f-3a3b-1caf-5c61-98a4343bf249&type=SERVICE&generateFrom=wfs&wfsid=216">Naturschutzgebiete Rheinland-Pfalz (WFS Datenquelle)</a></li>
+			<li><a class="example_service_feed" value="http://www.geoportal.rlp.de/mapbender/php/mod_inspireDownloadFeed.php?id=2b009ae4-aa3e-ff21-870b-49846d9561b2&type=SERVICE&generateFrom=wmslayer&layerid=30694">Orthofotos Rheinland-Pfalz (WMS Datenquelle)</a></li>
+			<li><a class="example_service_feed" value="http://www.geoportal.rlp.de/mapbender/php/mod_inspireDownloadFeed.php?id=14bd842d-c9d4-64e1-68c8-f3007d004ae3&type=SERVICE&generateFrom=wfs&wfsid=344">INSPIRE Protected Sites Rheinland-Pfalz (WFS Datenquelle)</a></li>
 			<li><a class="example_service_feed" value="http://geoportal.saarland.de/mapbender/php/mod_inspireDownloadFeed.php?id=de59f284-8abc-4989-9ef3-6544121da16d&type=SERVICE&generateFrom=wfs&wfsid=245">Bodenkarte Saarland (WFS Datenquelle)</a></li>
 			<li><a class="example_service_feed" value="http://www.geoportal.hessen.de/mapbender//php/mod_inspireDownloadFeed.php?id=5cf8456c-abf4-b593-0acc-0942341f0957&type=SERVICE&generateFrom=wfs&wfsid=264">Abflussgebiete HQ100 Hessen (WFS Datenquelle)</a></li>
 			<li><a class="example_service_feed" value="http://geo.noe.gv.at/inspire-download/download_service_feed.xml">Diverse Niederösterreich</a></li>
-			<li><a class="example_service_feed" value="http://ole.e-steiermark.com/inspire/DownloadServiceFeed.xml">Diverse Steiermark</a></li>
 			<li><a class="example_service_feed" value="https://www.geoportal.ie/geoportal/download/ProtectedSites_SPA/npws-inspire-protected-sites-special-protection-areas.atom.en.xml">Protected Sites Ireland</a></li>
-			<li><a class="example_service_feed" value="http://catalogue.sigloire.fr/PRRA/atomfeed/topatom.php">Diverse (730!) France</a></li>
 			<li><a class="example_service_feed" value="https://www.regionalstatistik.de/genesisws/inspire/pd/03/feeds/sf_200-71-4-B.xml">Statistik Niedersachsen (Destatis)</a></li>
 			<li><a class="example_service_feed" value="http://sg.geodatenzentrum.de/web_download/downloadservice.atom.xml">Basisdaten Geodatenzentrum BKG</a></li>
 			<li><a class="example_service_feed" value="http://www.lfu.bayern.de/gdi/dls/biotopkartierung.xml">Diverse Landesamt für Umwelt Bayern</a></li>
-			<li><a class="example_service_feed" value="http://rips-gdi.lubw.baden-wuerttemberg.de/Atom_feed/de-bw-lubw_inspire_downloadservice_rips_naturschutz/de-bw-lubw_inspire_downloadservice_rips_naturschutz.xml">Diverse Landesamt für Umwelt Baden-Württemberg</a></li>
 			<li><a class="example_service_feed" value="http://maps.waterschapservices.nl/www/download/nl.xml">Diverse 1 Netherlands</a></li>
 			<li><a class="example_service_feed" value="http://services.rce.geovoorziening.nl/www/download/nl.xml">Diverse 2 Netherlands</a></li>
 			<li><a class="example_service_feed" value="http://mapy.geoportal.gov.pl/wss/service/ATOM/httpauth/atom/SR">Diverse Cadastral Poland</a></li>



More information about the Mapbender_commits mailing list