]> git.evergreen-ils.org Git - contrib/Conifer.git/commit
Generate Wikidata cards for multiple performers and ensembles
authorDan Scott <dscott@laurentian.ca>
Tue, 23 May 2017 03:26:28 +0000 (23:26 -0400)
committerDan Scott <dan@coffeecode.net>
Fri, 3 Jan 2020 19:41:07 +0000 (14:41 -0500)
commite17b38aa35c2d604fd0a88aab21c4a12a539a9d8
treea9e0ea21c42b8af3f19444c3e3ce0840cb0eef9b
parent89ff1bffe78911f9112144a40d3c8ed3927c29e3
Generate Wikidata cards for multiple performers and ensembles

Uses real-time Wikipedia description lookups, in English-only, to
provide the first sentence of the Wikipedia description of the
performer, as well as a link to the related Wikipedia page via the WP
icon.

Wikicards are built up from properties using a generic function; see the
Twitter, Facebook, and Musicbrainz properties for examples.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/templates/opac/parts/js.tt2
Open-ILS/web/js/ui/default/opac/wikidata_music_card.js [new file with mode: 0644]
test_wikidata.html [new file with mode: 0644]