@citation-js/plugin-zotero-translation-server
v0.3.0
Published
Citation.js Plugin for Zotero Translation Server instances
Readme
@citation-js/plugin-zotero-translation-server
This is a Citation.js plugin for Zotero Translation Server instances.
Install
npm install @citation-js/plugin-zotero-translation-serverNote: this plugin requires @citation-js/plugin-doi, so be sure to install that one as well if you have not already. It is automatically included in the citation-js package.
Use
import '@citation-js/plugin-zotero-translation-server'The default Zotero Translation Server instance is http://localhost:1969 but that can be configured like this:
import { plugins } from '@citation-js/core'
// assuming the plugin is loaded, see below
plugins.config.get('@zotero').host = 'https://translate.example.org'A known host is https://translate.manubot.org, but it is specifically a public instance for Manubot users.
To set up your own host, you can use the Docker image (short guide) or run it from the source (longer guide).
Formats
Formats and other features added by this plugin.
Input
This plugins hijacks (or "procedurally enhances") the @else/url type, scraping the resulting site with the Translation Server. This may interfere with other plugins that expect @else/url to behave normally. This plugin selects all options if multiple arise, such as with search results pages.
Zotero API JSON
This plugin adds support for Zotero API JSON.
