IEEE Xplore
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Please go to http://github.com/ajlyon/zotero-bits/raw/master/IEEE Xplore.js and save the file to the translators directory of your Zotero data directory (http://www.zotero.org/support/zotero_data).
Id : 201553240
D746691549
Get the same error as Dan "TypeError: title is undefined" when trying to save a IEEEXplore document. Hope it can be solved.
Thanks for the hardwork!
I'm also getting
[JavaScript Error: "TypeError: title is undefined" {file: "file:///C:/Users/Holly/AppData/Roaming/Mozilla/Firefox/Profiles/1cl8or6n.default/zotero/translators/IEEE%20Xplore.js" line: 0}]
I'm running up to date Firefox (4.0) and Zotero (just downloaded both onto this computer). I'm also logged in via a university portal.
Note: It seems to be related to Firefox versions, as I just tested the same article in Firefox 3.6.16 and up to date Zotero it translated just fine.
We've made contact with IEEE on this, because the metadata could easily be included for all users, which would make this work for everyone.
Thanks to the people at the Madison translator workshop for helping me pin this down and making contact.
TypeError: win.ZoteroPane.document is undefined
The article that I'm trying to translate is: http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=5485129
And the report ID is: 940257229
I'm logged in with the university account and I'm using Firefox 4. But it think I nailed the problem (it was quite easy given the error, actually): I was using Zotero in "separate tab" mode, when I switch to "browser pane" it works...
Hope this helps.
Leo.
http://iopscience.iop.org/0031-9155/54/11/015
And then I enabled debug output and tried it again... and it worked. So perhaps the error is not related to the translator itself, but to Zotero?
Anyway, the quest continues.
I found that the translator wouldn't work when I was at university but would work at home. The difference was that IEEE Xplore recognised the IP address at university but at home I was logging in to IEEE Xplore using shibbolith.
At university, when I try to view abstracts IEEE Xplore takes me to this page:
http://ieeexplore.ieee.org/search/srchabstract.jsp?tp=&arnumber=1397982
This doesn't have any metadata. However the following URL does give metadata:
http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=1397982
It seems that the login method and the route taken while searching can influence which URL is given. One contains metadata the other doesn't.
I hope this is useful.
Please go to http://github.com/ajlyon/zotero-bits/raw/master/IEEE Xplore.js and save the file to the translators directory of your Zotero data directory (http://www.zotero.org/support/zotero_data).
It should start working again. If this works for you, please post here so that I can submit this change to be pushed to all users.
It now saves data and grabs the pdf for both the URLs I gave (I tried 5 papers).
Thanks for your help.
The problem I'm now having is if I'm viewing an actual PDF document from the IEEE Xplore site and try to save it to Zotero the translator fails. This used to work under the old translator, so hopefully you could grab the appropriate code from the old translator.
For example for the following link:
http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=80767&tag=1
Debug ID is D1866578660
I've included the first few lines from the Log file:
(4)(+0000000): Translate: Parsing code for IEEE Xplore
(3)(+0000002): Translate: Beginning translation with IEEE Xplore
(2)(+0000001): Translate: Translation using IEEE Xplore failed:
message => title is undefined
fileName => chrome://zotero/content/xpcom/translation/translate.js
lineNumber => 341
Also I noted the following message later on -
(3)(+0000011): Translate: WARNING: new Zotero.Translate() is deprecated; please don't use this if you don't have to
Cheers,
David
It should start working again. If this works for you, please post here so that I can submit this change to be pushed to all users.
The Debug ID is: D2057651341
Thanks,
David
Please go to http://github.com/ajlyon/zotero-bits/raw/master/IEEE Xplore.js and save the file to the translators directory of your Zotero data directory (http://www.zotero.org/support/zotero_data).
It should start working again. If this works for you, please post here so that I can submit this change to be pushed to all users.
1 - Search return page
2 - Individual paper page
3 - Paper PDF page
All of them worked.
Note: I haven't tried it from a place where I don't have a subscription. The only difference being you can't grab the PDF. Perhaps someone could try that. I can try that when I get home.
Thank you for all your effort.
Dave
On many search pages there are items that are not linked to any item page, e.g., table of contents, frequently asked questions, etc, so that the xpath breaks, leading to doWeb on multiple items to mulfunction. An example is this page:
http://ieeexplore.ieee.org/search/searchresult.jsp?queryText=(ISSN:1063-6382)&openedRefinements=*&ranges=2011_2011_Publication_Year&matchBoolean=true&pageNumber=2&searchField=Search All&rowsPerPage=200&pageNumber=1&resultAction=ROWS_PER_PAGE
I previously fixed it with details here:
http://forums.zotero.org/discussion/13534/when-is-ieee-xplore-being-fixed/
but didn't take time to figure out your code. Wonder if you could figure this out?
Many thanks!
Cheers,
David
I'm using the translator published by ajlyon but into a paper PDF page an error occurs.
Best regards,
Fernando
Please go to http://github.com/ajlyon/zotero-bits/raw/master/IEEE Xplore.js and save the file to the translators directory of your Zotero data directory (http://www.zotero.org/support/zotero_data).
It should start working again. If this works for you, please post here so that I can submit this change to be pushed to all users.
If there are still issues, please provide URLs to reproduce.
http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=1202329
It failed. I looked at the log and it showed the following error message-
(2)(+0000000): Translate: Translation using IEEE Xplore failed:
message => newItem.publicationTitle is undefined
fileName => chrome://zotero/content/xpcom/translation/browser_firefox.js
lineNumber => 321
stack => scrape([object Proxy])@chrome://zotero/content/xpcom/translation/browser_firefox.js:321
@:0
name => TypeError
url => http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=1202329
downloadAssociatedFiles => true
automaticSnapshots => true