Is there a PhilPapers translator?
Hi,
Does anyone know if there should be / is / was a translator for PhilPapers? I've found discussions about it (http://forums.zotero.org/discussion/17645/%3FFocus%3D90096), but when I visit PhilPapers I get no icon. I've searched in my translators folder, and can't find any .js file.
PhilPapers can export a citation to Zotero, but it does this by presenting a .zot file for downloading, when you then have to manually import, and which then loads the citation in the "item" collection, which is a bit annoying.
Regards
Simon
Does anyone know if there should be / is / was a translator for PhilPapers? I've found discussions about it (http://forums.zotero.org/discussion/17645/%3FFocus%3D90096), but when I visit PhilPapers I get no icon. I've searched in my translators folder, and can't find any .js file.
PhilPapers can export a citation to Zotero, but it does this by presenting a .zot file for downloading, when you then have to manually import, and which then loads the citation in the "item" collection, which is a bit annoying.
Regards
Simon
Which Zotero version are you using? In Firefox, the export to Zotero link will import directly and into the selected collection.
I'm using Chrome and Zotero Standalone, so the .zot files don't just import straight in for me.
You will likely need to restart your browser for the translator to start working.
There is a small bug in this new translator: when clicking the folder icon on a multiple items page, items which are books were not included. But they were processed when it came to saving items, which meant that attempting to import any item which appeared after a book entry (although the book wouldn't appear in the list you saw) resulted in importing the item immediately above it in the list.
The problem is with the XPath expression on line 49. It needs an extra '/' before the A tag because books have an extra SPAN around their title.
Line 49 should thus be:
var titles = ZU.xpath(doc, '//li/span[@class="citation"]//a[@class="articleTitle"]');
That worked for me anyway, on Zotero Standalone.
http://philpapers.org/browse/action-sentences
For example when I grabbed the data for this book (https://philpapers.org/rec/MARFTM) using the Chrome plugin, I got neither Abstract nor ISBN. Same deal for this one (https://philpapers.org/rec/BHADTP) and several others. I'm running Zotero 4.0.29.15 on Sierra 10.12.3.
Granted this is pernicketty and PhilPapers is hardly the best database to be working with in the first place, but given that it does (try to) track citations, and often already has those data fields filled out anyway, it would be cool if it could be fine-tuned...? Sadly I don't possess the requisite knowledge to do it myself. Anyway thanks again.
We use the BibTeX data from Philpapers, which doesn't contain ISBNs. Could you ask them if they'd consider adding that information? While we _could_ scrape it from the page, it's much more elegant & stable to get it as part of the metadata. That's particularly true for ISBNs -- the abstract is in the HTML metatags on the page, so that's at least a bit more robust to scrape.
They are aware of Zotero and have been pretty supportive in the past, so I think this is worth a try.