Revision: 18628
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18628&view=rev
Author:   amaxwell
Date:     2012-05-17 16:55:41 +0000 (Thu, 17 May 2012)
Log Message:
-----------
get abbreviated journal name from WoS

Modified Paths:
--------------
    trunk/bibdesk/BDSKISIGroupServer.m

Modified: trunk/bibdesk/BDSKISIGroupServer.m
===================================================================
--- trunk/bibdesk/BDSKISIGroupServer.m  2012-05-16 06:35:25 UTC (rev 18627)
+++ trunk/bibdesk/BDSKISIGroupServer.m  2012-05-17 16:55:41 UTC (rev 18628)
@@ -273,7 +273,7 @@
         NSDictionary *resultInfo = nil;
         NSString *resultString = nil;
         
-        NSString *fields = @"doctype authors bib_vol pub_url source_title 
item_title bib_issue bib_pages keywords abstract source_series article_nos 
bib_date publisher pub_address issue_ed times_cited get_parent ut refs ";
+        NSString *fields = @"doctype authors bib_vol pub_url source_title 
source_abbrev item_title bib_issue bib_pages keywords abstract source_series 
article_nos bib_date publisher pub_address issue_ed times_cited get_parent ut 
refs ";
         if (sourceXMLTagPriority)
             fields = [fields stringByAppendingString:[sourceXMLTagPriority 
componentsJoinedByString:@" "]];
         
@@ -527,6 +527,8 @@
             addStringValueOfNodeForField(child, BDSKTitleString, pubFields);
         else if ([name isEqualToString:@"source_title"])
             addStringToDictionaryIfNotNil((useTitlecase ? [[child stringValue] 
titlecaseString] : [child stringValue]), sourceField, pubFields);
+        else if ([name isEqualToString:@"source_abbrev"])
+            addStringToDictionaryIfNotNil((useTitlecase ? [[child stringValue] 
titlecaseString] : [child stringValue]), @"Iso-Source-Abbreviation", pubFields);
         else if ([name isEqualToString:@"authors"])
             addAuthorsFromXMLNode(child, pubFields);
         else if ([name isEqualToString:@"abstract"])

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to