Skip to content

Commit

Permalink
Bug #1486/ #10744, oEmbed providers - iSpot and JuxtaLearn
Browse files Browse the repository at this point in the history
  • Loading branch information
nfreear committed Jun 2, 2014
1 parent 2f3eefd commit b774d87
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions providers/Ispot_serv.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = <<<EOT
Learn more about wildlife, share your interest with a friendly community and get help identifying what you have seen.
Expand All @@ -21,26 +22,27 @@ class Ispot_serv extends Oembed_Provider {
EOT;
public $displayname = 'iSpot';
#public $name = 'ispot';
public $domain = 'ispot.org.uk';
public $domain = 'ispotnature.org';
public $subdomains = array();
public $favicon = 'http://www.ispot.org.uk/sites/default/files/iSpot_favicon.ico';
public $favicon = 'http://ispotnature.org/sites/default/files/iSpot_favicon.ico';
public $type = 'rich';

public $_about_url = 'http://www.ispot.org.uk/whats_it_all_about';
public $_logo_url = 'http://ispot.org.uk/sites/all/themes/custom/ispot_2010/images/ispot_logo.png';
public $_about_url = 'http://ispotnature.org/whats_it_all_about';
public $_logo_url =
'http://ispotnature.org/sites/all/themes/custom/ispot_2010/images/ispot_logo.png';
public $_examples = array(
'South American Fur Seals (Falklands) by palemaiden'
=> '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';


/**
Expand Down

0 comments on commit b774d87

Please sign in to comment.