willkurt / CiteBox

Home Page:willkurt.github.com/CiteBox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CiteBox
-----------------------------

Copyright (c) 2011 William Kurt.
All rights reserved.

Redistribution and use in source and binary forms are permitted
provided that the above copyright notice and this paragraph are
duplicated in all such forms and that any documentation,
advertising materials, and other materials related to such
distribution and use acknowledge that the software was developed
by William Kurt.  The name of the
person may not be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED ''AS IS'' AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE


about
-----

The purpose of CiteBox is to provide an easy way for
library users to simply paste citations that they have
and, using Brown Universities FreeCite API (http://freecite.library.brown.edu/),
parse their citation and redirect them to there
libraries link resolver

usage
-----
CiteBox is designed to be easily added to any website. The only dependency is JQuery

All that is necessary is to include the following:

  <link rel="stylesheet" type="text/css" href="http://<citeboxhost>/css/citebox.css"></link>
  <script type="text/javascript" src="http://<citeboxhost>/citebox/<citeboxhost>/<baseLinkResolverURL"></script>  

Replacing '<citeboxhost>' with the host name of where-ever citebox is running
and '<baseLinkResolverURL>' with the base URL of your link resolver.

Then call: 
  CiteBox.attach($(<myElement>));
where '<myElement>' is what ever element you want CiteBox to live in.

You can easily customize the default styling of CiteBox by simply
replacing the link to 'citebox.css' with your own custom css


About

willkurt.github.com/CiteBox


Languages

Language:Ruby 100.0%