Bridging the gap from Wikipedia to scholarly sources: a simple discovery solution


Published on

This presentation discusses the creation of a javascript bookmarklet that executes a search of library resources from any web page.

Many user searches begin with searches on the internet, often in Google and Wikipedia. For users to search the library resources, they first need to locate the library website, find the appropriate search tool and then execute their search. To make it easier for students to search the library resources, we created a Javascript bookmarket that eliminates the step of having to go to the library website first before searching.

The bookmarket provides an important bridge between common search behaviors (especially among undergraduates), and the "deep web" content located in library-funded, proprietary databases, thus easing their transition into scholarly research. The bookmarklet can be dragged-and-dropped into any browser, after which a search can then be initiated from any webpage the user visits. When the bookmarklet is clicked, the search terms default to the title of the page, and a prompt is displayed that allows the user to change the terms.

  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Bridging the gap from Wikipedia to scholarly sources: a simple discovery solution

  1. 1. Bridging the gap from Wikipedia to scholarly sources:a simple discovery solution<br />Barbara ArnettWeb Services Librarian<br />Valerie ForrestalCommunications & New Media Strategies Librarian<br />Stevens Institute of Technology<br />
  2. 2. Discovery tool project:<br />Key questions:<br />How do you prompt students to use scholarly sources for research?<br />What if they could search the library’s subscription databases without having to go through the library website?<br />How do you create a bridge between common student research sources, such as Wikipedia, and the library’s collections?<br />Bookmarklet = Bookmark + Applet <br /> (i.e. a small program run from your browser’s favorites menu)<br />Easy to install (drag-and-drop)<br />OS/browser independent<br />Only runs when clicked, so it doesn’t slow down your computer like some browser add-ons<br />
  3. 3. Project history:<br />Elsevier 2010 API app challenge (for creative use of the ScienceDirect open content API)<br />Firefox add-on so researchers can search ScienceDirect from anywhere on the web, without going through the library’s website/ScienceDirect interface<br />Added functionality: auto-populate search box to encourage Wikipedia/Google users to expand their research to library resources<br />Issues: <br />compatibility with other browsers <br />search limited to ScienceDirect content<br />aversion to add-ons due to Firefox memory-hogging<br />managing code updates<br />Solution: Cross-browser compatible JS bookmarklet <br /> (inspired by, etc) + Ebsco Discovery Service<br />
  4. 4. Inspiration: bookmarklet<br />
  5. 5. Install page<br />
  6. 6. Bookmarklet in browser<br />
  7. 7. Search prompt<br />
  8. 8. Search results<br />
  9. 9. JavaScript code in bookmarklet:<br />javascript:(function(){document.body.appendChild(document.createElement('script')).src='';})();<br />this executes JavaScript in a file that resides on our web server<br />
  10. 10. Parts of the Bookmarklet:<br />1 – HTML to display bookmarlet on your webpage<br />Contains the JavaScript that sits in the bookmarklet (in user’s browser)<br />2 – JavaScript to sit on your server <br />sits in search.js, referenced in bookmarklet HTML<br />Google Analytics tracking + Prompt box for user to edit search terms (uses the Page Title for initial search terms)<br />Executes search and returns results in federated search or catalog<br />3 – CSS for the button to drag & drop into browser<br />Optional (places button image under link)<br />Can be inline or separate stylesheet<br />
  11. 11. javascript that is executed in<br />{<br />// ***************** Google analytics code BEGIN *******************//<br /> var _gaq = _gaq || [];<br /> _gaq.push(['_setAccount', 'UA-18930XXX-1']);<br /> _gaq.push(['_trackPageview']);<br /> (function() {<br /> var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;<br /> ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-';<br /> var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);<br /> })();<br />// ***************** Google analytics code END *******************// <br /> var Ti=document.title.replace('- Wikipedia, the free encyclopedia','');<br /> void(Ti=prompt('Edit search terms:',Ti));<br /> if(Ti)<br /> { <br /> var searchString=''+(Ti);<br /> window.location.href=searchString;<br /> }<br />}<br />
  12. 12. Hasn’t this been done before?<br />Catalog search bookmarklet (Indiana State University) <br />Added functionality – code on our server, no version updates for the user to install<br />Uses federated search to retrieve all types of information<br />Libx toolbar<br />“Libx has taken over my browser!!” no need to turn on, turn off the feature <br />Add-ons / extensions can slow down browser, bookmarklet only executes / uses resources when clicked<br />Can be used in all browsers (Chrome, Safari, Firefox, IE)<br />
  13. 13. Next steps:<br />Have students install bookmarklet in all info lit classes (laptops are required.)<br />Place oneSearch button in library website footer, so it’s easy to find and accessible from any page on our site.<br />Add button to mobile site (possibly create separate GA code & run search through Summon’s mobile interface.)<br />Campus-wide announcement (email) in September 2011.<br />After roll-out and promotion, compare Fall 2011 usage stats for key databases vs. Fall 2009/2010.<br />Edit Google Analytics code to track search terms (anonymously.)<br />
  14. 14. More info:<br />Contact:<br />Barbara Arnett:<br />Valerie Forrestal:<br />Details:<br />Instructions/slides available at:<br />Server-side code available at:<br />