260 likes | 383 Vues
MetaLib Deep-Link & Search Box Generator. Stephen Elfstrand Head, Library Systems and Circulation. 2nd Annual Regional Ex Libris Users' Meeting March 5-6, 2007 Brooklyn Park, MN. Our Vision – Metalib Everywhere. Custom MetaLib links or search boxes on any web page
E N D
MetaLib Deep-Link & Search Box Generator Stephen Elfstrand Head, Library Systems and Circulation
2nd Annual Regional Ex Libris Users' MeetingMarch 5-6, 2007Brooklyn Park, MN
Our Vision – Metalib Everywhere • Custom MetaLib links or search boxes on any web page • Library instruction pages • Course pages • Topical guides • Use in D2L
The Problem • Deep-Link documentation hard for end users to understand • Difficult to construct deep links • Undocumented features • We (Systems Dept.) didn’t want to make all the links
What does the generator do? • Builds Links! • Builds a Search Box!
Builds links! • To Quick Search, Custom Search, or Resource List • To Results of a Predefined Search • To a Resource • In MetaLib or Native interface
Builds a Search Box! • Search Quicksets • Search Custom Set of Resources • Search for a Resource
Let’s take a look • http://lib1.uwec.edu/searchspot/SSSearchBoxGenerator.asp
How does it work? • MetaLib KnowledgeBase Report • MS Access Database • ASP • JavaScript • Programmer • Dan Hillis
Get Data from MetaLib • Admin Module – Reports • MetaLib KnowledgeBase Report
Get Data From MetaLib • Complete (customized) version Knowledge Base Report • Save as a .txt (tab-delimited) • Put in same place with same name every time • MS Access Import Macro
Create QuickSet Table • By Hand!
ASP & JavaScript ASP – Grabs data from database JavaScript – Displays dynamic menus and generates the results
The Question Everyone is asking • Can I steal this ? • YES
Making it work in your library • Requirements • MS Access • ASP enabled web server • JavaScript support on browser • Customize the Database and Web page
Database Changes • Import Scripts need name and location of Report Output • Quickset Names and IDs
Changes to ASP • Your sites’ look and feel-HTML (SSSearchBoxGenerator.asp, SSSearchBoxGenerator.css) • ASP Connection string to database (SSSearchBoxGenerator.asp) • Proxy String in JavaScript (SSSearchBoxGenerator.js, Redirect.asp)
Where is it? • Database • Main page (ASP file, CSS file) • Redirect page (ASP file) • 3 Javascript files • http://lib3.uwec.edu/systems/presentations.html
Questions • elfstrsf@uwec.edu • hillisdr@uwec.edu