update URLs in code and documentation

Use https for all openstreetmap addresses, remove defunct
mapquest link and redirect documentation links to
nominatim.org.
This commit is contained in:
Sarah Hoffmann
2018-01-05 22:38:51 +01:00
parent 6ba87c37d6
commit 9712decefe
7 changed files with 16 additions and 22 deletions

View File

@@ -19,7 +19,7 @@ getCmdOpt($_SERVER['argv'], $aCMDOptions, $aCMDResult, true, true);
include(CONST_InstallPath.'/settings/phrase_settings.php');
if (true) {
$sURL = 'http://wiki.openstreetmap.org/wiki/Special:Export/Nominatim/Country_Codes';
$sURL = 'https://wiki.openstreetmap.org/wiki/Special:Export/Nominatim/Country_Codes';
$sWikiPageXML = file_get_contents($sURL);
if (preg_match_all('#\\| ([a-z]{2}) \\|\\| [^|]+\\|\\| ([a-z,]+)#', $sWikiPageXML, $aMatches, PREG_SET_ORDER)) {
foreach ($aMatches as $aMatch) {