-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Reuse Zotero's translators? #350
Comments
Yes, but as far as I understood it they only support importing to and exporting from the Zotero format. So we would always need to do two steps: import to Zotero and export into Bibtex for a single import functionality. The same when doing an export. |
Yes. First you transform the website into a zotero object (json) and then convert this into bib(la)tex. Actually, this works quite well and is the same strategy I used for my firefox addon. |
Runs on
Issue: I did not update the code. The current fetchers are from 2013. Don't know whether I should try to update them. Have no test cases running to ensure that everything runs as expected. |
So I would propose (and work on it if you give the ok) the following:
|
Yeah, go ahead 🚀 I currently don't have a clue how the UI should look like: The firefox addon seems to do the job perfectly? |
I had a look in implementing something. So far it seems like the Zotero server does not return the found pdfs (see #17 in their issue tracker). I think it does not make sense to use the zotero server until this is resolved. Just for the record the powershell version of the above try {
$body = @{
#url = "http://www.tandfonline.com/doi/abs/10.1080/15424060903167229"
url = "http://arxiv.org/abs/1508.01114"
sessionid = "abc123"
}
$result = curl -Uri http://zotero.jabref.org:1969/web -Method Post -Body (ConvertTo-Json $body) -ContentType application/json
$result.Content
}
catch {
$result = $_.Exception.Response.GetResponseStream()
$reader = New-Object System.IO.StreamReader($result)
$responseBody = $reader.ReadToEnd();
$responseBody
} |
We are currently trying to focus on other things. 🔥 |
I think the reference manager with the best import functionality is Zotero. Fortunately, their importers are open-source. So it seems to be natural to reuse the code for the import into Jabref, right?
One way would be to set-up a translation-server and speak with it via simple (same-machine) http requests as for example here.
The text was updated successfully, but these errors were encountered: