Revision: 23893
          http://sourceforge.net/p/bibdesk/svn/23893
Author:   hofman
Date:     2019-06-23 21:51:28 +0000 (Sun, 23 Jun 2019)
Log Message:
-----------
fix arxiv parser for search page

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

Modified: trunk/bibdesk/BDSKArxivParser.m
===================================================================
--- trunk/bibdesk/BDSKArxivParser.m     2019-06-23 06:30:28 UTC (rev 23892)
+++ trunk/bibdesk/BDSKArxivParser.m     2019-06-23 21:51:28 UTC (rev 23893)
@@ -115,11 +115,11 @@
         journalNodePath = [[self domDocument] 
createExpression:@"./div[@class='metatable']/table//td[@class='tablecell 
jref']" resolver:nil];
         abstractNodePath = [[self domDocument] 
createExpression:@"./blockquote[contains(concat(' ',normalize-space(@class),' 
'),' abstract ')]" resolver:nil];
     } else if (isSearch) {
-        arxivLinkNodePath = [[self domDocument] 
createExpression:@"./div[contains(concat(' ',normalize-space(@class),' '),' 
level ')]/p[contains(concat(' ',normalize-space(@class),' '),' list-title ')]" 
resolver:nil];
+        arxivLinkNodePath = [[self domDocument] 
createExpression:@"./div[@class='is-marginless']/p[contains(concat(' 
',normalize-space(@class),' '),' list-title ')]" resolver:nil];
         arxivIDNodePath = [[self domDocument] 
createExpression:@"./a[contains(text(),'arXiv:')]" resolver:nil];
         
         pdfURLNodePath = [[self domDocument] 
createExpression:@"./span/a[contains(text(),'pdf')]" resolver:nil];
-        doiNodePath = [[self domDocument] 
createExpression:@"../div/div/div/span[contains(text(),'doi')]/following-sibling::span/a"
 resolver:nil];
+        doiNodePath = [[self domDocument] 
createExpression:@"../div/div/span[contains(text(),'doi')]/following-sibling::span/a"
 resolver:nil];
         
         titleNodePath = [[self domDocument] 
createExpression:@"./p[contains(concat(' ',normalize-space(@class),' '),' title 
')]" resolver:nil];
         authorsNodePath = [[self domDocument] 
createExpression:@"./p[@class='authors']/a" resolver:nil];

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

Reply via email to