[Refdb-cvs] CVS: refdb/scripts med2ris.in,1.1.2.1,1.1.2.2
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <mho...@us...> - 2005-08-19 00:30:14
|
Update of /cvsroot/refdb/refdb/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17791 Modified Files: Tag: Release_0_9_5_stable med2ris.in Log Message: fixed erroneous month and day entries popping up in pubdates Index: med2ris.in =================================================================== RCS file: /cvsroot/refdb/refdb/scripts/Attic/med2ris.in,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -U2 -r1.1.2.1 -r1.1.2.2 --- med2ris.in 29 Mar 2005 20:32:16 -0000 1.1.2.1 +++ med2ris.in 17 Aug 2005 19:53:20 -0000 1.1.2.2 @@ -468,4 +468,12 @@ %currpubdate = (); } + elsif ($elname eq "DateCreated" + || $elname eq "DateCompleted" + || $elname eq "DateRevised" + || $elname eq "PubMedPubDate") { + + ## these dates are currently not evaluated. However, as they may contain year, month, and day elements, we have to reset the pool + %currpubdate = (); + } elsif ($elname eq "ArticleTitle" && length($elvalue) > 0) { $alloutstring .= "TI - $elvalue\n"; |