Commit 6a2ba2fa authored by Ken Hawkins's avatar Ken Hawkins
Browse files
parent 9adaac7f
Pipeline #145297 passed with stages
in 1 minute and 39 seconds
......@@ -560,7 +560,7 @@ templateEngineOverride: njk
function getEventData() {
// /api/v1/events/home
//var jsonFeed = "https://www.ebi.ac.uk/api/v1/events/home";
var jsonFeed = "https://www.embl.org/api/v1/events?_format=json&body=0&start_date=today&source=contenthub";
var jsonFeed = "https://www.embl.org/api/v1/events?_format=json&hide_body=1&start_date=today&source=contenthub";
$.getJSON(jsonFeed, function(data) {
var itemsPassed = 0; // so wec can keep just five items
// only event where field_event_unique_identifier is a training contenthub, TH-5556063c-0870-4135-81b4-54d7f6514d3b
......
......@@ -451,7 +451,7 @@ templateEngineOverride: njk
var templateUpcomingEvents = Handlebars.compile(sourceUpcomingEvents);
$.getJSON(
// "https://www.ebi.ac.uk/sites/ebi.ac.uk/files/data/events-common-fields-feed-upcoming-events.json",
"https://www.embl.org/api/v1/events?_format=json&body=0&start_date=today&source=contenthub",
"https://www.embl.org/api/v1/events?_format=json&hide_body=1&start_date=today&source=contenthub",
function (data) {
// only event where field_event_unique_identifier is a training contenthub, TH-5556063c-0870-4135-81b4-54d7f6514d3b
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment