Revision: 18579
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18579&view=rev
Author: hofman
Date: 2012-04-07 18:06:22 +0000 (Sat, 07 Apr 2012)
Log Message:
-----------
Allow WoK string format, which is the same as WoS but with a different first
line
Modified Paths:
--------------
trunk/bibdesk/BDSKWebOfScienceParser.m
Modified: trunk/bibdesk/BDSKWebOfScienceParser.m
===================================================================
--- trunk/bibdesk/BDSKWebOfScienceParser.m 2012-04-07 06:34:14 UTC (rev
18578)
+++ trunk/bibdesk/BDSKWebOfScienceParser.m 2012-04-07 18:06:22 UTC (rev
18579)
@@ -144,7 +144,8 @@
+ (BOOL)canParseString:(NSString *)string{
// remove leading newlines in case this originates from copy/paste
- return [[string stringByTrimmingCharactersInSet:[NSCharacterSet
newlineCharacterSet]] hasPrefix:@"FN ISI Export Format"];
+ string = [string stringByTrimmingCharactersInSet:[NSCharacterSet
newlineCharacterSet]];
+ return [string hasPrefix:@"FN ISI Export Format"] || [string
hasPrefix:@"FN Thomson Reuters Web of Knowledge"];
}
+ (NSArray *)itemsFromString:(NSString *)itemString error:(NSError **)outError{
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit