Revision: 15289
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=15289&view=rev
Author: jefferis
Date: 2009-05-08 17:15:52 +0000 (Fri, 08 May 2009)
Log Message:
-----------
Use MedlineTA as the default journal title in PubMedXMLParser
- this is consistent with 'old' PubMed parser
- two examples:
Full: Applied and environmental microbiology
MedlineTA: Appl Environ Microbiol
Full: The Journal of Neuroscience : The Official Journal of The Society For
Neuroscience
MedlineTA: J Neurosci
Modified Paths:
--------------
trunk/bibdesk/BDSKPubMedXMLParser.m
Modified: trunk/bibdesk/BDSKPubMedXMLParser.m
===================================================================
--- trunk/bibdesk/BDSKPubMedXMLParser.m 2009-05-08 17:05:08 UTC (rev 15288)
+++ trunk/bibdesk/BDSKPubMedXMLParser.m 2009-05-08 17:15:52 UTC (rev 15289)
@@ -317,6 +317,11 @@
NSMutableDictionary *pubFields = [NSMutableDictionary new];
[self _addJournalNode:[citation
firstNodeForXPath:@"./Article/Journal"] toDictionary:pubFields];
+
+ // Replace Journal Title by MedlineTA if available
+ NSString* MedlineTA = [[citation
firstNodeForXPath:@"./MedlineJournalInfo/MedlineTA"] stringValue];
+ addStringToDictionaryIfNotNil(_useTitlecase ? [MedlineTA
titlecaseString] : MedlineTA, BDSKJournalString, pubFields);
+
[self _addAuthorListNode:[citation
firstNodeForXPath:@"./Article/AuthorList"] toDictionary:pubFields];
// ex. PMID 16187791
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit