Giter Club home page Giter Club logo

360link-reset's Introduction

THIS SCRIPT HAS BEEN SUPERCEDED BY A NEW VERSION

The new version of this script is at github.com/gvsulib/360link-reset


README - 360Link-Reset


This tool was developed by Matthew Reidsma in Javascript to modify the SerialsSolutions 360Link link resolver.

INSTALLATION

Open 360link-reset.js in your favorite text editor and edit the path variable to the path and name to your 360Link CSS file. You can use the CSS file included in the script, but feel free to make it your own. If you want to replace the SerialsSolutions citation table with a semantic, HTML div that displays the citation in one line, change the value of the variable improveCitation to true.

Now add two lines to your 360Link display. In the "footer" section of the Branding tab, add the following lines:

<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> <script type="text/javascript" src="PATH/TO/360link-reset.js"></script>

That's it!

WHAT IT DOES:

360Link reset does a few things. First, it replaces the crummy, default (and custom) style sheets provided by SerialsSolutions with your own style sheet. Second, it removes all of the evil inline styles that have accumulated like cruft in the HTML of the link resolver. Then it removes the hated "target="_blank" from anchor elements because opening new windows should be up to users, not websites. (If you don't want that changed, just comment out line 71). Then the script replaces some unsemantic spans with proper headings and will rewrite that ridiculous citation table with more typical citation format in a single line.

More questions? Feel free to contact Matthew Reidsma on Twitter at @mreidsma or via email at [email protected].

COPYRIGHT

This tool is copyright 2011 Grand Valley State University Libraries.

This tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this tool. If not, see http://www.gnu.org/licenses/.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.