Revision: 28090
http://sourceforge.net/p/bibdesk/svn/28090
Author: hofman
Date: 2022-11-30 10:37:40 +0000 (Wed, 30 Nov 2022)
Log Message:
-----------
get stringvalue as the node is already an attribute
Modified Paths:
--------------
trunk/bibdesk/BDSKACMDLParser.m
Modified: trunk/bibdesk/BDSKACMDLParser.m
===================================================================
--- trunk/bibdesk/BDSKACMDLParser.m 2022-11-30 07:30:12 UTC (rev 28089)
+++ trunk/bibdesk/BDSKACMDLParser.m 2022-11-30 10:37:40 UTC (rev 28090)
@@ -46,7 +46,7 @@
+ (NSString *)citationNodeXPath { return
@"./head/meta[@name='citation_abstract_html_url']/@content"; }
+ (NSString *)citationURLStringFromNode:(DOMNode *)node {
- NSString *nodeString = [[NSURL URLWithString:[node
stringValueOfAttribute:@"content"]] query];
+ NSString *nodeString = [[NSURL URLWithString:[node stringValue]] query];
AGRegex *doiRegex = [AGRegex regexWithPattern:@"^id=([0-9]+)\\.([0-9]+)$"];
AGRegexMatch *match = [doiRegex findInString:nodeString];
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