Importing citations from ovid

[email protected] (Peter Schulte-Stracke)
Newsgroups gmane.comp.gnome.apps.pybliographer
Message-ID <877jw2d523.fsf@britten.i-did-not-set--mail-host-address--so-shoot-me>
Sean Norris wrote:

> I have been using pybliographer recently and found it to
> work very well for inserting citations into lyx and its
> own medline search.  Currently running debian sarge with
> pybliographer 1.2.3.
                                                                                 
> I seem to be unable to import citations that I generate from a ovid
> medline search.  When I save a file in the "ovid" format pybliographer
> does not recognize it.  Indicating that it should treat it as an ovid
> file results in it finding the citations but only having title, journal
> abstract and type fields present.  The best I was able to do was to save
> the file from ovid as a reprint format and import with the medline
> type.  However, most of the fields only appear under extra as
> medline-xx.

I tried to import your sample file with Pyblio 1.2.3 and
have the same problem.

I get the following output in sys.stdout:

     This is Pybliographic 1.2.3 [Python 2.3.3, Gtk 2.2.4, PyGTK 2.2.0]
     warning: unused key `country of publication'
     warning: unused key `entry date'
     warning: unused key `update date'
     warning: unused key `language'
     warning: unused key `issn'
     warning: unused key `nlm journal code'
     warning: unused key `journal subset'
     warning: unused key `record owner'
     warning: unused key `cas registry/ec number'
     warning: unused key `mesh subject headings'
     warning: unused key `abbreviated source'
     warning: unused key `authors'
     warning: unused key `publication notes'
     warning: unused key `revision date'
     warning: unused key `unique identifier'
     warning: unused key `institution'
        
        many more omitted . . .


What puzzles me is the »authors« key appearing above; because
in the ConfDir.Ovid file I find: 

     Config.set ('ovid/mapping', {
         'title'    : ('title',    SimpleField),
         'author'   : ('author',   AuthorField),
         'authors'  : ('author',   AuthorField),
         'abstract' : ('abstract', SimpleField),
         'key phrase identifiers' : ('keywords', SimpleField),
         'subject headings' : ('subjectHeadings', SimpleField),
         'classification codes' : ('classificationCodes', SimpleField),
         'publication type' : ('type', SimpleField),
         'treatment'        : ('treatment', SimpleField),
         'source'           : (('journal', 'volume', 'number', 'pages', 'date'),
                               SourceField),
         'author keywords' : ('keywords', KeywordField),
         'keywords+'       : ('keywords', KeywordField),
         })


In the messages the following Ovid fields are mentioned as
not being *mapped*, resulting in their being ignored. As you
can see, authors is in the list,though it has a mapping
entry, above.
        
      `abbreviated source'       `authors'      `cas registry/ec number'
      `country of publication'   `entry date'   `institution'
      `issn'   `journal subset'  `language'     `mesh subject headings'
      `nlm journal code'   `publication notes'      `record owner'
      `revision date'      `unique identifier'      `update date'

This is ok for the other fields, they are in fact not
mapped.  Surely they were absent in the specimen records we
used.

In addition, the SourceField is not correctly parsed; I am
not amused.  Now I can see that the parsing of the Source
field is not correct, it depends upon the presence of
markers that were apparently always present in the records
used to derive the requirements, but nowadays no longer.

I will have to correct this.  As for the other fields,  I
will see what can be done.

Regards,

        Peter


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg297
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.