OVID tagged - missing "pages"

The "OVID Tagged" translator (last updated "2015-02-24 21:18:59") does not import the pages of articles and parts of books.

After adding

if (value.match(/,\s*\d+\-\d+/)) item.pages = value.match(/,\s*(\d+\-\d+)/)[1];

in the two respective sections, pages are imported.

(Although, if an article has just one page, the page still is missing.)

Hope that's the right place to report something like this, and the (or a better) correction will make it into the distribution.
  • Could you post a relevant OVID entry in the tagged format?
  • we'd want to see the tagged data that produces that (put on gist.github.com, ideally). The sample data we were looking at consistently had colons before the page range, and matching on that was pretty risk free. We'd want to make sure allowing a comma there doesn't lead to wrong imports elsewhere (e.g. ranges of issues, seasons, months)
  • edited February 25, 2015
    Here are ten results from The Philosopher's Index. I noted BTW that they are not consistent, and one also would have to take care of the period.

    https://gist.github.com/intuser/6c9556e02b71dc8dab3a

    (Sorry, github first created the gist but then it disapeared. Now it's here again.)
  • @adamsmith - Are the data I provided as gist the ones you wanted?
  • yes, that's great. We'll need a little time on this, but this is exactly what we needed.
Sign In or Register to comment.