metalib deep-link & search box generator stephen elfstrand head, library systems and circulation
TRANSCRIPT
MetaLib Deep-MetaLib Deep-Link Link
& Search Box & Search Box GeneratorGeneratorStephen ElfstrandStephen Elfstrand
Head, Library Systems and Head, Library Systems and CirculationCirculation
2nd Annual Regional Ex Libris Users'
MeetingMarch 5-6, 2007
Brooklyn Park, MN
Our Vision Our Vision – Metalib Everywhere– Metalib Everywhere
Custom MetaLib links or search Custom MetaLib links or search boxes on any web pageboxes on any web page Library instruction pagesLibrary instruction pages Course pagesCourse pages Topical guidesTopical guides
Use in D2LUse in D2L
The ProblemThe Problem
Deep-Link documentation hard Deep-Link documentation hard for end users to understandfor end users to understand
Difficult to construct deep linksDifficult to construct deep links Undocumented featuresUndocumented features We (Systems Dept.) didn’t want We (Systems Dept.) didn’t want
to make all the linksto make all the links
The Solution: The Solution:
Automate it!Automate it!
What does the generator What does the generator do?do?
Builds Links!Builds Links! Builds a Search Box!Builds a Search Box!
Builds links!Builds links!
To Quick Search, Custom Search, To Quick Search, Custom Search, or Resource Listor Resource List
To Results of a Predefined To Results of a Predefined Search Search
To a Resource To a Resource In MetaLib or Native interfaceIn MetaLib or Native interface
Builds a Search Box! Builds a Search Box!
Search QuicksetsSearch Quicksets Search Custom Set of ResourcesSearch Custom Set of Resources Search for a ResourceSearch for a Resource
Let’s take a lookLet’s take a look
http://lib1.uwec.edu/searchspot/SSShttp://lib1.uwec.edu/searchspot/SSSearchBoxGenerator.aspearchBoxGenerator.asp
An ExampleAn Example
How does it work?How does it work?
MetaLib KnowledgeBase ReportMetaLib KnowledgeBase Report MS Access DatabaseMS Access Database ASPASP JavaScriptJavaScript
ProgrammerProgrammer Dan HillisDan Hillis
Get Data from MetaLibGet Data from MetaLib
Admin Module – ReportsAdmin Module – Reports MetaLib KnowledgeBase ReportMetaLib KnowledgeBase Report
Get Data From MetaLibGet Data From MetaLib
Complete (customized) version Complete (customized) version Knowledge Base Report Knowledge Base Report
Save as a .txt (tab-delimited)Save as a .txt (tab-delimited) Put in same place with same Put in same place with same
name every timename every time MS Access Import MacroMS Access Import Macro
Import MacroImport Macro
Create QuickSet TableCreate QuickSet Table
By Hand!By Hand!
ASP & JavaScriptASP & JavaScript
ASP – Grabs data from ASP – Grabs data from databasedatabase
JavaScript – Displays JavaScript – Displays dynamic menus and dynamic menus and generates the resultsgenerates the results
The Question Everyone is The Question Everyone is askingasking
Can I steal this ?Can I steal this ? YESYES
Making it work in your Making it work in your librarylibrary
RequirementsRequirements MS AccessMS Access ASP enabled web serverASP enabled web server JavaScript support on browserJavaScript support on browser Customize the Database and Customize the Database and
Web pageWeb page
Database ChangesDatabase Changes
Import Scripts need name and Import Scripts need name and location of Report Outputlocation of Report Output
Quickset Names and IDsQuickset Names and IDs
Changes to ASPChanges to ASP
Your sites’ look and feel-HTML Your sites’ look and feel-HTML (SSSearchBoxGenerator.asp, (SSSearchBoxGenerator.asp, SSSearchBoxGenerator.css)SSSearchBoxGenerator.css)
ASP Connection string to database ASP Connection string to database (SSSearchBoxGenerator.asp)(SSSearchBoxGenerator.asp)
Proxy String in JavaScript Proxy String in JavaScript (SSSearchBoxGenerator.js, (SSSearchBoxGenerator.js, Redirect.asp)Redirect.asp)
Where is it?Where is it?
DatabaseDatabase Main page (ASP file, CSS file)Main page (ASP file, CSS file) Redirect page (ASP file)Redirect page (ASP file) 3 Javascript files3 Javascript files
http://lib3.uwec.edu/systems/presentationhttp://lib3.uwec.edu/systems/presentations.htmls.html
QuestionsQuestions
[email protected]@[email protected]@uwec.edu