Your SlideShare is downloading. ×
Bridging the gap from Wikipedia to scholarly resources: a simple JavaScript search tool
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: a simple JavaScript search tool

1,644
views

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.

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,644
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
3
Likes
1
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
    Barbara ArnettWeb Services Librarian
    Valerie ForrestalCommunications & New Media Strategies Librarian
    Stevens Institute of Technology
  • 2. Project History:
    Elsevier 2010 API app challenge (for creative use of the ScienceDirect open content API)
    Firefox add-on so researchers can search ScienceDirect from anywhere on the web, without going through the library’s website/ScienceDirect interface
    Added functionality: auto-populate search box to encourage Wikipedia/Google users to expand their research to library resources
    Issues:
    compatibility with other browsers
    search limited to ScienceDirect content
    aversion to add-ons due to Firefox memory-hogging
    managing code updates
    Solution: Cross-browser compatible JS bookmarklet
    (inspired by bit.ly,etc) + Ebsco Discovery Service
  • 3. Inspiration: Bit.ly bookmarklet
  • 4. Install page
  • 5. Bookmarklet in browser
  • 6. Search prompt
  • 7. Search results
  • 8. JavaScript code
    Code, part 1: javascript that sits in bookmarklet--
    javascript:(function(){document.body.appendChild(document.createElement('script')).src='http://www.stevens.edu/library/js/search.js';})();
  • 9. Code, part 2: javascript that is executed in http://www.stevens.edu/library/js/search.js--
    {
    // ***************** Google analytics code BEGIN *******************//
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-18930XXX-1']);
    _gaq.push(['_trackPageview']);
    (function() {
    varga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google- analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
    // ***************** Google analytics code END *******************//
    var Ti=document.title.replace('- Wikipedia, the free encyclopedia','');
    void(Ti=prompt('Edit search terms:',Ti));
    if(Ti)
    {
    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);
    window.location.href=searchString;
    }
    }
  • 10. More info:
    Contact:
    Barbara Arnett: barnett@stevens.edu
    Valerie Forrestal: valerie.forrestal@stevens.edu
    Details:
    Presentation available at: http://slidesha.re/LibSearch
    Server-side code available at: http://www.stevens.edu/library/js/search.js