Tools for extracting citation meta-data from HTML articles viewed in the browser. A browser bookmarklet and Chrome extension are currently available; Firefox and Safari extensions are in the works.
- js-cfg: Configuration for JS modules
- js-src: Base modules for extracting article meta-data
- js-contrib: Publisher-specific modules for extracting article meta-data
- js-util: Miscellaneous JS utility functions
- py-util: Miscellaneous Python utility functions
- app: Flask app
- chrome-ext: Chrome extension
- Setup cfg.py
- CITELET_BASE_URL='http://localhost:5000'
- Prepare files -- rlocal for OSX, rsudo for nix
- fab "rlocal || rsudo" clean
- fab "rlocal || rsudo" deploy
- Start a mongod instance
- mongod
- Start a Flask server:
- python app/main.py
- Browse to the bookmarklet page
- Drag the bookmarklet to the bookmarks bar
- Browse to an article
- Click the bookmarklet
- Open Chrome
- Browse to Window -> Extensions
- Enable Developer Mode
- Click on 'Load unpacked extension...'
- Select citelet/chrome-ext
- Browse to an article