Your SlideShare is downloading. ×
0
Bridging the gap from Wikipedia to scholarly resources:a simple JavaScript search tool<br />Barbara ArnettWeb Services Lib...
Project History:<br />Elsevier 2010 API app challenge (for creative use of the ScienceDirect open content API)<br />Firefo...
Inspiration: Bit.ly bookmarklet<br />
Install page<br />
Bookmarklet in browser<br />
Search prompt<br />
Search results<br />
JavaScript code<br />Code, part 1:  javascript that sits in bookmarklet--<br />javascript:(function(){document.body.append...
Code, part 2:  javascript that is executed in http://www.stevens.edu/library/js/search.js--<br />{<br />// ***************...
More info:<br />Contact:<br />Barbara Arnett: barnett@stevens.edu<br />Valerie Forrestal: valerie.forrestal@stevens.edu<br...
Upcoming SlideShare
Loading in...5
×

Bridging the gap from Wikipedia to scholarly resources: a simple JavaScript search tool

1,722

Published on

Presentation by Barbara Arnett and Valerie Forrestal (of Stevens Institute) for the METRO library council webinar: Three Tech Tools, One Objective: Improving Library Services.

3 Comments
1 Like
Statistics
Notes
  • Ok, just read your post, and I think your ideas are awesome! Subscribed to your blog so I can keep updated on your project. Very cool.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • You're free to use the code! Please just keep our attribution somewhere in there, and we'd love it if you keep us updated on your own project! (Checking out your links now...)

    Also, we'll be making some updates in the near future, and possibly posting some summaries of the analytics we're collecting, so check my blog for more info on that... (vforrestal.com)
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • you are now my heroes - cf. http://www.edtechpost.ca/wordpress/2010/01/25/annotating-wikipedia/

    I hope it is ok if I 'borrow' your code and combine it with http://jonudell.net/LibraryLookup.html or http://www.worldcat.org/wcpa/do/AffiliateLogin

    Wikipedia is here to stay. Instead of fearing it - augment it!
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total Views
1,722
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
3
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "Bridging the gap from Wikipedia to scholarly resources: a simple JavaScript search tool"

  1. 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. 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. 3. Inspiration: Bit.ly bookmarklet<br />
  4. 4. Install page<br />
  5. 5. Bookmarklet in browser<br />
  6. 6. Search prompt<br />
  7. 7. Search results<br />
  8. 8. JavaScript code<br />Code, part 1: javascript that sits in bookmarklet--<br />javascript:(function(){document.body.appendChild(document.createElement('script')).src='http://www.stevens.edu/library/js/search.js';})();<br />
  9. 9. Code, part 2: 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 />varga = 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 />varsearchString='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 />
  10. 10. 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/LibSearch<br />Server-side code available at: http://www.stevens.edu/library/js/search.js<br />
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×