Your SlideShare is downloading. ×
0
Bridging the Gap from Wikipedia to Scholarly Resources
Bridging the Gap from Wikipedia to Scholarly Resources
Bridging the Gap from Wikipedia to Scholarly Resources
Bridging the Gap from Wikipedia to Scholarly Resources
Bridging the Gap from Wikipedia to Scholarly Resources
Bridging the Gap from Wikipedia to Scholarly Resources
Bridging the Gap from Wikipedia to Scholarly Resources
Bridging the Gap from Wikipedia to Scholarly Resources
Bridging the Gap from Wikipedia to Scholarly Resources
Bridging the Gap from Wikipedia to Scholarly Resources
Bridging the Gap from Wikipedia to Scholarly Resources
Bridging the Gap from Wikipedia to Scholarly Resources
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Bridging the Gap from Wikipedia to Scholarly Resources

916

Published on

VALE Bookmarklet Presentation

VALE Bookmarklet Presentation

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
916
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Bridging the gap from Wikipedia to scholarly resources:a simple JavaScript search tool<br />Barbara ArnettWeb Services Librarian<br />Valerie ForrestalCommunications & New Media Strategies Librarian<br />Stevens Institute of Technology<br />
  • 2. 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 bit.ly, etc) + Ebsco Discovery Service<br />
  • 3. Inspiration: Bit.ly bookmarklet<br />
  • 4. Install page<br />
  • 5. Bookmarklet in browser<br />
  • 6. Search prompt<br />
  • 7. Search results<br />
  • 8. Bookmarklet<br />Bookmarklet = Bookmark + Applet<br />In this case, JavaScript executed instead of a URL<br />Works on Firefox, Internet Explorer, Safari, Chrome<br />
  • 9. JavaScript code in bookmarklet<br />javascript:(function(){document.body.appendChild(document.createElement('script')).src='http://www.stevens.edu/library/js/search.js';})();<br />this executes JavaScript in a file that resides on our web server<br />
  • 10. Parts of the Bookmarklet<br />1 – Google Analytics tracking<br />2 – Prompt box for user to edit search terms <br />– uses the Page Title for initial search terms<br />3 – Execute search in federated search<br />
  • 11. javascript that is executed in http://www.stevens.edu/library/js/search.js--<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- analytics.com/ga.js';<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='http://ezproxy.stevens.edu/login?url=http://search.ebscohost.com/login.aspx?direct=true&site=eds-live&scope=site&type=0&cli0=FT1&clv0=Y&bquery='+(Ti);<br /> window.location.href=searchString;<br /> }<br />}<br />
  • 12. More info:<br />Contact:<br />Barbara Arnett: barnett@stevens.edu<br />Valerie Forrestal: valerie.forrestal@stevens.edu<br />Details:<br />Presentation available at: http://slidesha.re/VALEbookmarklet<br />Server-side code available at: http://www.stevens.edu/library/js/search.js<br />

×