Revision: 28929
http://sourceforge.net/p/bibdesk/svn/28929
Author: hofman
Date: 2024-07-30 18:10:36 +0000 (Tue, 30 Jul 2024)
Log Message:
-----------
Use ELocationID for Pages field when no Pagination is present from pubmed data
Modified Paths:
--------------
trunk/bibdesk/BDSKPubMedXMLParser.m
Modified: trunk/bibdesk/BDSKPubMedXMLParser.m
===================================================================
--- trunk/bibdesk/BDSKPubMedXMLParser.m 2024-07-30 16:26:54 UTC (rev 28928)
+++ trunk/bibdesk/BDSKPubMedXMLParser.m 2024-07-30 18:10:36 UTC (rev 28929)
@@ -324,6 +324,9 @@
addStringValueOfNodeForField([citation
firstNodeForXPath:@"./Article/Pagination/MedlinePgn"], BDSKPagesString,
pubFields);
addStringValueOfNodeForField([citation firstNodeForXPath:@"./PMID"],
@"Pmid", pubFields);
+ if ([pubFields objectForKey:BDSKPagesString] == nil)
+ addStringValueOfNodeForField([citation
firstNodeForXPath:@"./Article/ELocationID[@EIdType='pii']"], BDSKPagesString,
pubFields);
+
// not a BibTeX field:
http://www.mail-archive.com/[email protected]/msg04650.html
addStringValueOfNodeForField([article
firstNodeForXPath:@"./PubmedData/PublicationStatus"], @"Pst", pubFields);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit