GithubHelp home page GithubHelp logo

hellozotero's Introduction

Basic Zotero plug-in development example.

Goal

Help those developing Zotero plug-ins for the first time.

Design

This is a "hello-world" example: a simple template with no real functionality.

See ZoteroPlugins, for a detailed guide of Zotero plugins.

Directory

This is the directory structure.

  • install.rdf

  • hello_zotero-update.rdf

  • chrome.manifest

  • defaults

    • preferences

      • defaults.js
  • chrome

    • skin

      • default
        • hello_zotero
    • locale

      • en-US

        • hello_zotero.dtd
    • content

      • hello_zotero

        • include.js

Deployment

Zotero uses the .xpi format for plugins. This is just another name for compressed files. You may

  1. Compress this repository, making sure that install.rdf and the chrome directory need to be at the root of the compressed folder.

  2. Change the extension by renaming the file so that it ends in .xpi.

  3. Install in Zotero.

Note: Downloading a compressed file directly from GitHub will consist of a folder inside the compressed file download containing the repo. To compress this repo you will have to unzip it, enter the inner folder and zip it again.

Acknowledgements

I thank everyone involved in the projects ZotFile and Zotero-plugins. Their plugins were very useful guidance.

License

Distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.

hellozotero's People

Contributors

saona-raimundo avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.