Citace PRO service integration
This solution replaces standard Primo bib. citation solution with Citace PRO service. This service is integrated via
New solution is bound to
<prm-citation-after>, while the original solution is hidden by css. Data from parent controller
<prm-citation>) are parsed and transformed into the openURL call of Citace PRO service (see specification).
The data come mostly from
$vm.vm.parentCtrl.item.pnx.addata and some from
<iframe> is sanitized with AngularJS SCE.
Npm package available from https://www.npmjs.com/package/primo-explore-but-citace-pro.
Working solution, that has passed tests on various record samples from Brno University of Technology catalog.
However, specifying the crucial
genre parameter from the data is a bit messy.