Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for querying Zotero translation server #50

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gkowzan
Copy link

@gkowzan gkowzan commented Jan 25, 2022

Pull request implementing the features proposed in issue #48. See the commit message for details.

The pattern matched plist pairs of events, but the plist is converted to an
alist in `biblio--extract-errors` before matching.
The package is modeled after biblio-doi.el. The main user-facing function is
`biblio-zotero-insert-bibtex' (aliased to `zotero-insert'), which inserts the
BibTeX entry returned by the Zotero server for the provided URL.

`biblio-zotero-forward-json' and `biblio-zotero-forward-bibtex' forward JSON or
BibTeX entry string to provided functions. `biblio-zotero-call-with-json'
and `biblio-zotero-call-with-bibtex' execute provided function in a buffer with
JSON/BibTeX entry.

Asynchronous communication with the Zotero server is done with `url-retrieve'
instead of `url-queue-retrieve' because we need to pass custom http headers.
@fdeitylink
Copy link

@cpitclaudel any chance this could be merged soon? This could definitely make biblio far more useful

@cpitclaudel
Copy link
Owner

Sorry, I completely missed this PR. It looks great! But should it be part of biblio directly, or could it be a separate package?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants