IEEEXplore.ieee.org doesn't work w/ Zotero

Hi the community,
Thanks for the great addon first.
However, recently, the PDF from ieeexplore.ieee.org cannot be saved to Zotero. I did it before.

Here is an example pdf: http://ieeexplore.ieee.org/iel5/34/4433968/04359335.pdf?isnumber=4433968&arnumber=4359335.
Do you need more information to investigate?

Thanks,
  • Hi All,

    I have the same problem. Up to last September everything worked fine, i could save all the info and the PDF automatically and in a clean way. Starting from the last days I can save the info from IEEE but I cannot save the file (it opens a window which gives me the way to save the PDF but without a link to the info, same problem of byzhang). I have the last version ofZotero and FX 3.0. But I have them froma while and the prblem is recent.

    Thank you in advance.

    SimonE
  • edited October 7, 2008
    Hi All,

    I just encountered the same issue too. IEEE updated the webpage and removed the direct link to the pdf, but dynamically generate a pdf file with access time, etc. instead.

    I believe this happen to all IEEE articles. One example is:
    http://ieeexplore.ieee.org/xpls/abs_all.jsp?isnumber=4623786&arnumber=4623788&count=24&index=1

    It will be greatly appreciated if the corresponding component can be updated accordingly ASAP.

    Thank you very much in advance!
  • Looks like the IEEE folks are rolling out some changes. From the comments in the source code, I'm guessing there will be more to follow.

    A fix for the desperate:

    1. Install Scaffold from http://dev.zotero.org/scaffold.
    2. Open Scaffold (under the tools menu in Firefox) and load the "IEEE Xplore" item from the translator database (the button in the top left corner).
    3. Select the code tab and scroll down to the bottom.
    4. Find the following code


    if (pdfurlElmt) {
    item.attachments = [{url:pdfurlElmt.href, title:"IEEE Xplore Full Text PDF", mimeType:"application/pdf"}];
    }


    and add a line so it becomes


    if (pdfurlElmt) {
    pdfurlElmt.href = pdfurlElmt.href.substr(0,32) + 'PDF/getPDF' + pdfurlElmt.href.substr(38);
    item.attachments = [{url:pdfurlElmt.href, title:"IEEE Xplore Full Text PDF", mimeType:"application/pdf"}];
    }


    5. Save the translator to the database (second button from left).

    It should work now.

    Note that this is a hack and should probably be cleaned up before becoming an official translator.
  • I modified the code and it worked well. thanks
  • Thanks dan_m, it works fine!
  • The scaffold code posted by dan_m does not work for me. I am running Zotero 1.0.7 and Firefox 2.0.0.18 in WinXP. I think that the problem may have to do with the fact that IEEE Xplore used to link pdf files directly and now the files are linked indirectly.

    For example, a link on the site would have "PDF/getPDF" in its url to the pdf file. Now, the link contains "stamp/stamp.jsp" which links to a second page with a frame containing the pdf. The frame on the second page contains "stampPDF/getPDF.jsp" in the url for the pdf file.

    Here is the exact example from dwang on my system (I obfuscated the name of my university, change the urls to work on your system).

    (1) The AbstractPlus page
    http://ieeexplore.ieee.org.www.university.edu:2048/xpls/abs_all.jsp?isnumber=4623786&arnumber=4623788&count=24&index=1
    (2) The PDF link on that page
    http://ieeexplore.ieee.org.www.university.edu:2048/stamp/stamp.jsp?arnumber=4623788&isnumber=4623786
    (2a) The top frame of the page from (2), the banner with "IEEE Xplore Brought to you by..."
    http://ieeexplore.ieee.org.www.university.edu:2048/stamp/banner.jsp
    (2b) The bottom frame of the page from (2), the one with the pdf of the paper
    http://ieeexplore.ieee.org.www.university.edu:2048/stampPDF/getPDF.jsp?arnumber=4623788&isnumber=4623786

    Thank you for your help.
  • edited May 12, 2009
    The Translator seems to have been updated, it says now:

    if (pdfurlElmt) {
    pdfurlElmt.href = pdfurlElmt.href.replace("/stamp.jsp", "PDF/getPDF.jsp");
    item.attachments = [{url:pdfurlElmt.href, title:"IEEE Xplore Full Text PDF", mimeType:"application/pdf"}];
    }

    but it still doesn't work for me. When i test the translator in Scaffold it tells me that the translator returns an item containing one attachment with the correct URL (the one with "stampPDF/getPDF.jsp" in it), but when i try to save an item from ieeexplore into my library i don't get any attachments. All the other information seems to be extracted correctly, but there's no pdf.

    any suggestions? And - where can i find an API for writing Translators?

    edit: just in case this is not a general problem but a problem with the documents i try to save - this is one of those that didn't work (i tested a total of 4 documents, none worked)
    http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=910448
  • argh.
    seems i'm so busy trying to find an error in the code that i don't go through all the settings.. Checked the right box and it works like a charm. sorry ;-)
  • ieee xplore importer is broken again.
    http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=4982704&tag=1&tag=1
Sign In or Register to comment.