spurioso / citationsfrombarcodes Goto Github PK
View Code? Open in Web Editor NEWSimple script to return useful library information from a library barcode
Simple script to return useful library information from a library barcode
Most useful would be:
Aleph number, OCLC Number, ISBN, Barcode,
Citation, wcl link, opac link, location info
Change Aleph's default locations to something more human readable: STACK = Stacks, REF = Reference, RDREF = Paged Collections Room, Ask at Circulation Desk.
You need to fix the permissions on the .ini file.
Add CSS to change font to preferred font for emailing in Outlook. Currently Calibri 11.
Move Aleph find, present, and item data, and Worldcat API call for citation, to separate functions for reusability and readability
You used Break incorrectly. I think you mean Die(error message). Need to handle errors for unfound barcodes better.
oclc number and aleph number input would be nice
Look at simple test for this.
Right now it only works for College Park barcodes (starting 3 1430...). Other campuses have different patterns. Need to find the patterns and then let the script recognize the patterns and change the Aleph X-services base= parameter accordingly.
From 1/23/2013 email from D.W. and M.V.
BC 1429 31429902119951
BL 4874, 2051*
BS 2059 32059001702222
CE 6103 36103000099432
CP 1430 31430004307890
CS 2057 32057080544473
ES 1431 31431032083891
FS 2060 32060000988564
FS 2002 (Hagerstown)
HS 1427 31427000853778
ML 1428 31428035006069
MS 2058 32058002031425
SM 3127 33127000666356
SU 2061 32061000320642
TU 2055 32055003327075
UB 2056, 2051* 32056009738794
UC 1432** 31432046773048
*(the 2051 prefix was added in 2011 for UB & BL patrons. I don't know if it is used for items or not--looking at a couple of recent acquisitions for each campus, it does not appear to be.)
**(according to the 2007 chart, some Shady Grove items had 1432 barcodes. I do not know if these were re-coded or not.)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.