When is IEEE Xplore being fixed?
From looking at the "known translator issues" (http://www.zotero.org/support/known_translator_issues) it's been a known issue since April and will be available "shortly". Since it's been a few months, I'm guessing that this issue has either been forgotten about or is very difficult to fix for some reason. Does anyone know what happened to this bug? And more importantly, does anyone know when it's actually going to be fixed?
Thanks!
Thanks!
This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Is there a target date for completing this translator?
It's one of the databases I use most frequently.
This is the place that breaks the translator. A quick fix (I bypass these items):
Find the IEEE Xplore.js file under your profile, open it and find the following lines:
var xPathRows = '//form[@id="search_results_form"]/ul[@class="Results"]/li[@class="noAbstract"]/div[@class="header"]';
var tableRows = doc.evaluate(xPathRows, doc, nsResolver, XPathResult.ANY_TYPE, null);
var tableRow;
while(tableRow = tableRows.iterateNext()) {
var link = doc.evaluate('.//div[@class="detail"]/h3/a', tableRow, nsResolver, XPathResult.ANY_TYPE, null).iterateNext().href;
var title = "";
var strongs = tableRow.getElementsByTagName("h3");
for each(var strong in strongs) {
if(strong.textContent) {
title += strong.textContent+" ";
}
}
items[link] = Zotero.Utilities.cleanString(title);
}
Replace them with:
var xPathRows = '//form[@id="search_results_form"]/ul[@class="Results"]/li[@class="noAbstract"]/div[@class="header"]/div[@class="detail"]/h3/a';
var tableRows = doc.evaluate(xPathRows, doc, nsResolver, XPathResult.ANY_TYPE, null);
var tableRow;
while(tableRow = tableRows.iterateNext()) {
var link = doc.evaluate('.', tableRow, nsResolver, XPathResult.ANY_TYPE, null).iterateNext().href;
var title = "";
var strong = tableRow;
if(strong.textContent) {
title += strong.textContent+" ";
}
items[link] = Zotero.Utilities.cleanString(title);
}