linked-swissbib / vufind

A library resource discovery portal designed and developed for libraries by libraries
GNU General Public License v2.0
1 stars 2 forks source link

Augment AuthorDetails by AJAX data #14

Closed ltog closed 8 years ago

ltog commented 8 years ago

URL for AJAX-Requests is:

var person=" http://data.swissbib.ch/person/51119347-fb51-37d9-ba90-af15b9b8aeff";
var url="http://" + window.location.hostname + "/sbrd/Ajax/Json?lookfor=" + person + "&method=getAuthor&searcher=Elasticsearch"

Example: http://localhost/sbrd/Ajax/Json?lookfor=http://data.swissbib.ch/person/51119347-fb51-37d9-ba90-af15b9b8aeff&method=getAuthor&searcher=Elasticsearch

Path for new functions:

/usr/local/vufind/httpd/themes/linkedswissbib/js/authordetails.js

Tasks: