pulibrary / firestone_locator

Location Mapper for Firestone Library
2 stars 1 forks source link

Deprecate Use of Item Data from GetVoyRec in Favor of bibdata #15

Closed kevinreiss closed 3 years ago

kevinreiss commented 5 years ago

This application currently polls GetVoyRec for bibliographic, holdings, and item data. We need to switch that to use bibdata.princeton.edu. The data URL it uses is:

http://libweb5.princeton.edu/getvoyrec/getvoyrec.aspx?item=1&bib=1&mfhd=1&id={bib ID}

Example: http://libweb5.princeton.edu/getvoyrec/getvoyrec.aspx?item=1&bib=1&mfhd=1&id=9239335

the includes/XMLINFO.php is the file where XML loading and parsing happens. We should rewrite this pull data from the JSON feeds in bibdata: https://bibdata.princeton.edu/bibliographic/9239335/items. https://bibdata.princeton.edu/bibliographic/9239335/holdings.json