Fetch publication metadata from the INSPIRE-HEP database

Overview

Zotero INSPIRE Metadata Updater

This is an add-on for the excellent open-source reference manager Zotero. It is useful as most papers from arXiv will get published in journals later on. This add-on can be used to update the metadata and citation counts (with and without self citations) of the selected item(s) in your Zotero library from INSPIRE-HEP, which is a community maintained database for high energy physics and related fields.

Installation

  • Download the latest .xpi file of this add-on from https://github.com/fkguo/zotero-inspire/releases
  • In Zotero, the add-on can be installed by going to ToolsAdd-ons, then click the top-right button and choose Install Add-ons From File....
  • It can be updated in Add-ons ManagerCheck for Updates.

Usage

  • Right click a selected item or multiple selected items, click Update INSPIRE Metadata, then choose one of the three options: fetch the metadata with or without abstracts, or update only the citations with and w/o self citations.

  • Right click a selected collection, then click one of the three options.

  • Automatically retrieve the metadata from INSPIRE when adding a new item to the Zotero library. Options with or without getting abstracts can be set through the Tools menu → INSPIRE Metadata

  • Metadata can be fetched as long as one of the following is provided:

    • DOI in the field of DOI or Extra; if it is only in Extra, then it should contain DOI: or doi.org/ followed by the DOI.
    • arXiv link in URL or arXiv ID in Extra in the form of arXiv:.
    • INSPIRE Citation key in Extra in the form of Citation Key: .
    • INSPIRE recid in Loc. in Archive or the url containing /literature/recid in URL.
  • The add-on will update the following fields:

    • INSPIRE uses a unique recid for each publication in the database (called control_number in the .json file obtained via the INSPIRE API). The INSPIRE recid is set to the field of Loc. in Archive (and INSPIRE to Archive) for the selected Zotero item.

      • This also enables to write look-up engines using this recid to exactly reach the INSPIRE page of that publication and its citations. The look-up engines can be added by editing the engines.json file in the locate folder of the Zotero Data Directory. The directory can be found by clicking Zotero PreferencesAdvancedFiles and FoldersShow Data Directory. Add the following code to the engines.json file:
       {
       	"_name": "INSPIRE",
       	"_alias": "INSPIRE",
       	"_description": "INSPIRE",
       	"_icon": "https://inspirehep.net/favicon.ico",  // or local path to the INSPIRE icon,
       	"_hidden": false,
       	"_urlTemplate": "https://inspirehep.net/literature/{z:archiveLocation}",
       	"_urlNamespaces": {
       		"z": "http://www.zotero.org/namespaces/openSearch#"
       	}
       },
       {
       	"_name": "INSPIRE Citations",
       	"_alias": "INSPIRE Citations",
       	"_description": "INSPIRE citing papers",
       	"_icon": "https://inspirehep.net/favicon.ico", 
       	"_hidden": false,
       	"_urlTemplate": "https://inspirehep.net/literature?q=refersto%3Arecid%3A{z:archiveLocation}",
       	"_urlNamespaces": {
       		"z": "http://www.zotero.org/namespaces/openSearch#"
       	}
       },
      
    • journal (set to Journal Abbr in Zotero), volume, year, pages (either the page numbers or the modern article IDs), issue, DOI, authors ( $\leq10$ , otherwise keeping only the first 3; the author list will be updated if no author is given or the first name of the first author is empty), title, abstract, etc.

    • Set the arXiv number of articles that are not published to the Journal Abbr field. Items of type report or preprint are set to journalArticle.

    • It will also get the citation counts with and without self-citations for each selected item. One can also choose to update only the citation counts using Citation counts only in the right-click menu.

      • The current INSPIRE system does not display the citation count without self citations for a given paper. However, this number is in the metadata, and can be extracted with this add-on.
      • Citation counts are changed only when they are different from those of the last fetching.
    • The Better BibTeX (BBT) plugin can pin the citation key from INSPIRE. When we add new arXiv articles, sometimes BBT fails to get the INSPIRE record. In that case, this plugin writes the INSPIRE citation key to the Extra field so that it is pinned correctly (the BBT plugin needs to be installed).

    • Work with the INSPIRE Zotero translator, and change "_eprint" in Extra to arXiv.

  • By default, those items that could not be found will be tagged as ⛔ No INSPIRE recid found, which will be removed once it is in INSPIRE. The automatic tagging can be turned off in ToolsINSPIRE Metadata Updater Preferences....

References

I knew basically nothing about javascript. The first version of this add-on was developed by modifying the codes of the following two add-ons:

License

Distributed under the Mozilla Public License (MPL) Version 2.0.

You might also like...

Node.js library that provide a cache for file metadata or file content.

@file-cache A cache library for file metadata or file content. It is useful for process that work a given series of files and that only need to repeat

Aug 6, 2022

A GitHub Action to enable Pages and extract various metadata about a site

A GitHub Action to enable Pages and extract various metadata about a site. It can also be used to configure various static site generators we support as starter workflows.

Jan 1, 2023

For data quality enthousiasts (and dataview lovers): manage the metadata of your notes.

Metadata Menu This plugin is made for data quality enthousiasts: access and manage the metadata of your notes in Obsidian. Metadata Menu adds context

Dec 23, 2022

🎨 Dynamic Token Images and Metadata

ERC721K - Dynamic Token Images and Metadata Overview ERC721K is an ERC721 implementation with zero dependencies for off-chain data. Both the token ima

Dec 29, 2022

the music metadata you love, with IPFS hosting on nft.storage :rainbow:

the music metadata you love, with IPFS hosting on nft.storage :rainbow:

Music NFT IPFS Metadata Standard for musicians pioneered by Catalog & Mint Songs. Compatible with contracts created by: Catalog Sound.xyz Manifold - W

Oct 17, 2022

🎨 Dynamic Token Images and Metadata

ERC721K - Dynamic Token Images and Metadata Overview ERC721K is an ERC721 implementation with zero dependencies for off-chain data. Both the token ima

Sep 30, 2022

Interplanetary Database: A Database built on top of IPFS and made immutable using Ethereum blockchain.

IPDB IPDB (Interplanetary Database) is a key/value store database built on top of IPFS (Interplanetary File System). Project is intended to be an MVP

Oct 6, 2022

Visualize, modify, and build your database with dbSpy! An open-source data modeling tool to facilitate relational database development.

Visualize, modify, and build your database with dbSpy! An open-source data modeling tool to facilitate relational database development.

Visualize, modify, and build your database with dbSpy! dbSpy is an open-source data modeling tool to facilitate relational database development. Key F

Dec 22, 2022

portfolio-project is a npm package to automatically update your projects section in your portfolio website. It will fetch the selected repositories directly from your GitHub account.

portfolio-project is a npm package to automatically update your projects section in your portfolio website. It will fetch the selected repositories directly from your GitHub account.

portfolio-project Those days of manually updating portfolio website after every new project made are gone ⚡ Yesss . . . you read that right. 😉 portfo

Aug 3, 2021
Releases(0.2.13)
Owner
Feng-Kun Guo
null
FortBlog adds a nice UI where you can manage a publication of any size with posts, pages, tags, and authors

FortBlog adds a nice UI where you can manage a publication of any size with posts, pages, tags, and authors. You can add photos, code blocks, featured images, social media & SEO attributes, embedded HTML (YouTube Videos, Embedded Podcasts Episodes, Tweets, ...), and markdown! Dark & Light modes available so everyone is happy

Haseeb Ahmad 11 Jan 2, 2023
An Obsidian plugin to upload your notes' metadata to your database.

Obsidian + PostgreSQL = ❤️ An Obsidian plugin to upload your notes' metadata to your database. Features send the Dataview annotations of a page to a P

Camille Louédoc-Eyriès 33 Dec 19, 2022
A Fetch API-compatible PlanetScale database driver

PlanetScale Serverless Driver for JavaScript A Fetch API-compatible PlanetScale database driver for serverless and edge compute platforms that require

PlanetScale 255 Dec 27, 2022
A util for getting data and metadata for all markdown files in a given dir. Useful for building static site generators

extract-md-data A util for getting data and metadata for all markdown files in a given dir. Useful for building static site generators. Usage Given th

Claire Froelich 2 Jan 6, 2022
The ICPverse service to extract the metadata from an existing NFT project on the Internet Computer.

Infinity_Rank The ICPverse service to extract the metadata from an existing NFT project on the Internet Computer. Requirements for Use: npm installed

ICPverse 10 Nov 5, 2022
Dual ownership for NFTs, preventing rugs when collection metadata/royalties are changed

Multisig Ownable Opensea only allows EOAs to make changes to collections, which makes it impossible to use multisigs to secure NFT contracts since whe

Tubby Cats 28 Nov 24, 2022
Yet another library for generating NFT artwork, uploading NFT assets and metadata to IPFS, deploying NFT smart contracts, and minting NFT collections

eznft Yet another library for generating NFT artwork, uploading NFT assets and metadata to IPFS, deploying NFT smart contracts, and minting NFT collec

null 3 Sep 21, 2022
A collection of crypto tokens (metadata, logos, links)

@deliquid/token-list (beta) A multi-chain collection of crypto tokens, including metadata, logos, and more. Installation npm i @deliquid/token-list Ba

DeLiquid 4 Jun 3, 2022
Passport NFT using on-chain metadata

Passport NFT Collection Setup yarn Environment File (.env) RINKEBY_URL: Ethereum (Rinkeby) Testnet Provider endpoint MATIC_URL: Polygon (Matic Mumbai)

Kei Nakano 2 Jun 2, 2022
A plugin for Obsidian that can create input fields inside your notes and bind them to metadata fields.

Obsidian Meta Bind Plugin This plugin can create input fields inside your notes and bind them to metadata fields. New docs I am currently working on n

Moritz Jung 57 Jan 4, 2023