encyclopedisque: added MB links for artists.

This commit is contained in:
Aurélien Mino 2015-06-15 23:15:14 +02:00
parent f9b4b1e51a
commit 043ab5615a

View file

@ -59,6 +59,12 @@ function insertMBLinks() {
});
});
$('h2, div.main').find('a[href*="/artiste/"]').each(function() {
var $link = $(this);
var external_url = 'http://www.encyclopedisque.fr' + $link.attr('href');
mblinks.searchAndDisplayMbLink(external_url, 'artist', function (link) { $link.before(link); } );
});
}
// Analyze Encyclopedisque data and prepare to release object