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

Wiley import issue #148

Closed
brittAnderson opened this issue Mar 3, 2016 · 1 comment
Closed

Wiley import issue #148

brittAnderson opened this issue Mar 3, 2016 · 1 comment

Comments

@brittAnderson
Copy link
Contributor

The following doi gives me a json readtable error: 10.1002/hbm.10010
However, this quicky version of a get url function seems to work when added to doi-utils (and the list of functions). Don't know if it is my system, or if Wiley is doing something different.

(defun mywiley-pdf-url (*doi-utils-redirect*)
  "Get url to the pdf from *DOI-UTILS-REDIRECT*."
  (when (string-match "^http://onlinelibrary.wiley.com" *doi-utils-redirect*)
    (replace-regexp-in-string "/abstract" "/pdf" *doi-utils-redirect*)))

Note this skips the stage of parsing the html to extract the url. Maybe no longer necessary?

@jkitchin
Copy link
Owner

jkitchin commented Mar 3, 2016

hm. I cannot reproduce this error. I was able to get it with doi-add-bibtex-entry fine. and by dragging the url onto a bibfile. I sometimes wonder if the readtable errors are on the random side...

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

No branches or pull requests

2 participants