Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

munged the serieskey in the rdfa script

  • Loading branch information...
commit 8a24b03b04e12cc27df97d2af34a1d4805ca27f5 1 parent 7c8c8a3
Keith Alexander authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 institutions/ecb-stats/sdmx2rdfa/sdmx2rdfa.php
View
4 institutions/ecb-stats/sdmx2rdfa/sdmx2rdfa.php
@@ -1,12 +1,12 @@
<?php
+$series_id=str_replace('_','.',$_GET['serieskey']);
-$sdmx_source = 'http://sdw.ecb.europa.eu/quickviewexport.do?trans=&start=&end=&snapshot=&periodSortOrder=&SERIES_KEY='.$_GET['serieskey'].'&type=sdmx';
+$sdmx_source = 'http://sdw.ecb.europa.eu/quickviewexport.do?trans=&start=&end=&snapshot=&periodSortOrder=&SERIES_KEY='.$series_id.'&type=sdmx';
$reader = new XMLReader();
$reader->open($sdmx_source);
-$series_id=$_GET['serieskey'];
$series_title="Unknown Title";
$observations = array();
$counter = 0;
Please sign in to comment.
Something went wrong with that request. Please try again.