primo-explore-but-citace-pro
v1.2.0
Published
Citace PRO integration
Downloads
3
Readme
primo-explore-but-citace-pro
Citace PRO service integration
##Description
This solution replaces standard Primo bib. citation solution with Citace PRO service. This service is integrated via <iframe>
element.
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 $vm.vm.parentCtrl.item.pnx.display
.
The <iframe>
is sanitized with AngularJS SCE.
Npm package available from https://www.npmjs.com/package/primo-explore-but-citace-pro.
##Versions
###1.2.0
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.