Opened 8 years ago

Closed 8 years ago

#1250 closed defect (fixed)

NCBI PubMed - bug in saving DOI

Reported by: rmzelle Owned by: mcburton
Priority: major Milestone:
Component: translators Version: 1.0
Keywords: Cc:

Description (last modified by rmzelle)

The XPath path that is used to obtain the DOI of PubMed papers fails sometimes. The problem, as well as a possible fix, is described in the following forum post:

http://forums.zotero.org/discussion/4993/doi-errors-after-pubmed-scrape/

The link to the Pubmed paper that doesn't save properly:
http://www.ncbi.nlm.nih.gov/pubmed/16513425

Attachments (1)

NCBI PubMed.js (7.2 KB) - added by rmzelle 8 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 8 years ago by rmzelle

  • Description modified (diff)

comment:2 Changed 8 years ago by rmzelle

I've just started tinkering with Scaffold, and discovered that (of course) my proposed XPath-fix doesn't work.

Changed 8 years ago by rmzelle

comment:3 Changed 8 years ago by rmzelle

After tinkering some more, I think I've come up with a working fix (see attachment).

comment:4 Changed 8 years ago by rmzelle

  • Owner changed from mcburton to dstillman
  • Status changed from new to assigned

comment:5 Changed 8 years ago by mcburton

  • Owner changed from dstillman to mcburton

comment:6 Changed 8 years ago by mcburton

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixes #1250: Changed E4X to use an attribute match for DOI

Note: See TracTickets for help on using tickets.