Skip to content

Commit

Permalink
https
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmpage committed Nov 1, 2017
1 parent 962f885 commit f3d9185
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions index.html
Expand Up @@ -221,7 +221,7 @@

//--------------------------------------------------------------------------------
function eol_images(eol) {
$.getJSON('http://eol.org/api/pages/1.0/' + eol + ".json?details=1&images=10&callback=?",
$.getJSON('https://eol.org/api/pages/1.0/' + eol + ".json?details=1&images=10&callback=?",
function(data){
var html = '';
for (var i in data.dataObjects) {
Expand Down Expand Up @@ -413,7 +413,7 @@

//----------------------------------------------------------------------------
// DBPedia
$.getJSON('http://dbpedia.org/data/' + query.replace(" ", "_") + ".json?callback=?",
$.getJSON('https://dbpedia.org/data/' + query.replace(" ", "_") + ".json?callback=?",
function(data){
$('#summary_details').html('');
q = query.replace(" ", "_");
Expand Down Expand Up @@ -491,7 +491,7 @@

//----------------------------------------------------------------------------
// EOL
$.getJSON('http://eol.org/api/search/1.0/' + encodeURIComponent(query) + ".json?callback=?",
$.getJSON('https://eol.org/api/search/1.0/' + encodeURIComponent(query) + ".json?callback=?",
function(data){
var eol = 0;
for (var i in data.results) {
Expand All @@ -517,7 +517,7 @@

//----------------------------------------------------------------------------
// CrossRef
$.getJSON('http://search.crossref.org/dois?q=' + encodeURIComponent('"' + query + '"') + "&header=true",
$.getJSON('https://search.crossref.org/dois?q=' + encodeURIComponent('"' + query + '"') + "&header=true",
function(data){
var html = '';
html += '<ol style="font-size:12px;">';
Expand All @@ -540,7 +540,7 @@
html += '</ol>';

$('#publications').html(html);
$('#publication_details').html('Data from <a href="http://search.crossref.org/?q=' + query + '" target="_new">CrossRef</a>');
$('#publication_details').html('Data from <a href="https://search.crossref.org/?q=' + query + '" target="_new">CrossRef</a>');
}

);
Expand Down Expand Up @@ -583,7 +583,7 @@
//----------------------------------------------------------------------------
// GBIF map
$('#map_details').html("");
$.getJSON('http://api.gbif.org/v1/occurrence/search?scientificName=' + query + "&hasCoordinate=true&hasGeospatialIssue=false&limit=300&callback=?",
$.getJSON('https://api.gbif.org/v1/occurrence/search?scientificName=' + query + "&hasCoordinate=true&hasGeospatialIssue=false&limit=300&callback=?",
function(data){
if (data.results) {
var geojson = {};
Expand Down

0 comments on commit f3d9185

Please sign in to comment.