Amazon link to my library?
|
|
I was very impressed by the Amazon-JeffCo lookup script, and would love to have a similar script to link to my local library. I've looked at the instructions for making my own scripts, and it's 100% Greek to me, so I must ask for help. Can anyone create the same kind of script that will work with the Fort Collins Colorado Public Library System? Thanks in advance |
|
|
You library seems to be using the same software as my library with slightly different versions or customizations. Take my Peninsula Library System script from http://userscripts.org/scripts/show/1072 and replace two lines. Replace var libraryUrlPattern = 'http://catalog.plsinfo.org/search/i?SEARCH='; with var libraryUrlPattern = 'http://dalva.fcgov.com/search/i?SEARCH='; and var notFound = /No matches found; nearby STANDARD NOS are/ with var notFound = /No matches found/ and you'll be good to go. EDIT: You'll want to delete these lines too otherwise it will overwrite your program with mine when it checks for updates.
autoUpdateFromUserscriptsDotOrg({
name: 'Peninsula Library System - Amazon.com & other sources Lookup',
url: 'http://userscripts.org/scripts/source/1072.user.js',
version: '2.8'
});
This is the minimal change. I'm sure you can manage the cosmetic changes like replacing script name text etc. |
