From b774d87511beb9d78abecf63f10222a7c286c990 Mon Sep 17 00:00:00 2001 From: Nick Freear Date: Mon, 2 Jun 2014 22:56:06 +0100 Subject: [PATCH] Bug #1486/ #10744, oEmbed providers - iSpot and JuxtaLearn * http://iet-it-bugs.open.ac.uk/node/1486 --- providers/Ispot_serv.php | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/providers/Ispot_serv.php b/providers/Ispot_serv.php index 0c0de22..5e160d3 100644 --- a/providers/Ispot_serv.php +++ b/providers/Ispot_serv.php @@ -5,14 +5,15 @@ * @copyright Copyright 2012 The Open University. * @author N.D.Freear, 10 October 2012. * + * @link http://ispotnature.org * @link http://ispot.org.uk */ class Ispot_serv extends Oembed_Provider { public $regex = array( - 'http://ispot.org.uk/node/*', 'http://ispot.org.uk/taxonomy/*', - 'http://ispot.org.uk/habitat/*', 'http://ispot.org.uk/map*' + 'http://ispotnature.org/node/*', 'http://ispotnature.org/taxonomy/*', + 'http://ispotnature.org/habitat/*', 'http://ispotnature.org/map*' ); public $about = << 'http://ispot.org.uk/node/313421', - 'Map: indoors habitat' => 'http://ispot.org.uk/map?habitat=indoors', - 'Taxonomy term: 16 "Milton Keynes"' => 'http://ispot.org.uk/taxonomy/term/16', - 'Habitat: gardens and parks' => 'http://ispot.org.uk/habitat/gardens+and+parks', + => 'http://ispotnature.org/node/313421', + 'Map: indoors habitat' => 'http://ispotnature.org/map?habitat=indoors', + 'Taxonomy term: 16 "Milton Keynes"' => 'http://ispotnature.org/taxonomy/term/16', + 'Habitat: gardens and parks' => 'http://ispotnature.org/habitat/gardens+and+parks', ); public $_access = 'public'; - protected $_endpoint_url = 'http://www.ispot.org.uk/oembed'; + protected $_endpoint_url = 'http://www.ispotnature.org/oembed'; - protected $_terms_url = 'http://www.ispot.org.uk/terms-of-use'; - protected $_test_url = 'http://www.ispot.org.uk/test/oembed.html'; + protected $_terms_url = 'http://ispotnature.org/terms-of-use'; + protected $_test_url = 'http://ispotnature.org/test/oembed.html'; /**