cpitclaudel / biblio.el

Browse and import bibliographic references from CrossRef, DBLP, HAL, arXiv, Dissemin, and doi.org from Emacs
GNU General Public License v3.0
185 stars 15 forks source link

import bibliographic references with zotero translation server from nearly any website #48

Open tshu-w opened 2 years ago

tshu-w commented 2 years ago

As shown in https://github.com/jkitchin/org-ref/pull/901 https://github.com/joostkremers/ebib/issues/220, maybe we can import bib entries by Zotero Translation Server with Zotero Translators, which support a large number of website.

users can get bib text easily with a Zotero Translation Server and following code:

(shell-command-to-string
          (format "curl -s -d '%s' -H 'Content-Type: text/plain' '%s/web' | curl -s -d @- -H 'Content-Type: application/json' '%s/export?format=bibtex'" url zotero-translation-server zotero-translation-server))
cpitclaudel commented 2 years ago

Sure, that sounds good. I'd be happy to merge a patch, though I won't have time to work on the feature.

tshu-w commented 2 years ago

Since I don't use biblio directly, I can't guarantee I'll make a patch, but I'll try if I have time. Let's leave this here and see if anyone is interested

gkowzan commented 2 years ago

I submitted a pull request (#50) implementing this feature. I tried to keep implementation and functionality in line with what's provided by biblio-doi.el.