Importing PDF with "Create Web Page Item from Current Page" not possible anymore?

Hi,

In the past I've used the "Create Web Page Item from Current Page" button to import PDFs. This worked very well. I then renamed them in Zotero (and saved them externally afterwards).

This does not seem to work any more. At least, I get an error message when I try to open these "not properly imported PDFs".

The link below is to the two files that I tried to import as described above.

http://www.tandfonline.com/doi/pdf/10.1080/03085149000000001

https://www.jstor.org/stable/pdf/591464.pdf?acceptTC=true

The error message that I get from the PDF Xchange Viewer is that the file is apparently in HTML instead of PDF.

Have any recent changes been made to the "Create Web Page Item from Current Page" function so that importing PDF files does not word anymore that way? Could that be reverted?
  • Following your steps I can open both files with Acrobat Reader. However, I can confirm that the files downloaded by the save as webpage are slightly different than the ones downloaded manually, e.g. line 188
    <</DescendantFonts[9 0 R]/BaseFont/LPZIWC+Code2000/Type/Font/Encoding/Identity-H/Subtype/Type0/ToUnicode 12 0 R>>
    instead of
    <</DescendantFonts[9 0 R]/BaseFont/OVNCVG+Code2000/Type/Font/Encoding/Identity-H/Subtype/Type0/ToUnicode 12 0 R>>

    I am not aware of any recent changes in the save as webpage functionality.
  • Dear zuphilipp,

    The problem on my side persists with PDF imports from at least the following large publishers/repositories: Taylor & Francis and JStor.

    Latest item I have trouble with:

    http://www.tandfonline.com/doi/pdf/10.1080/13603124.2014.958199

    The size of these apparently "HTML in disguide of PDF files" is about 4 KB which I take as a strong indicator that something went wrong during the import process.

    I was able to successfully import other PDFs from the web though.

    Using Adobe Acrobat does not make a difference on my side. I get a similar error message.

    Do you have any ideas of what might be causing the problem here? I wish you could replicate the problem to assist me with this.
  • I've created a Report ID: 304544170

    I hope this helps in investigating the problem.

    Many thanks!
  • I tried your new pdf as well, and everything works fine for me (pdf has 159KB).

    @Dan: Anything in that error report? Do you have any ideas what might be broken in zurpher's installation?
  • Okay, I think I've found a solution.

    => I had to whitelist the cookies from the URLs in Firefox.

    http://www.tandfonline.com/

    http://www.jstor.org/

    This is insofar strange as I allowed first-party cookies already. I only do NOT allow third-party cookies. I wonder what whitelisting cookies in Firefox actually does. Perhaps this also automatically whitelists third-party (tracking) cookies that T&F and JSTOR now enforce. I still do not understand why this created a problem with the Zotero import functionality in the first place. But hey, problem solved.


    This was the error message from PDF Xchange Viewer
    I have experienced the following problem(s) with the PDF-XChange Viewer:

    Opening the attached document causes an error as detailed below:

    ===== Open Error Info =====
    Code: 0x82140002
    Description: Error [PDF Structure 40]: Invalid file format
    This is what I find in the PDF/HTML file when I manually change it to HTML and then open it in Firefox:
    An Error Occurred Setting Your User Cookie

    This site uses cookies to improve performance. If your browser does not accept cookies, you cannot view this site.
    Setting Your Browser to Accept Cookies

    There are many reasons why a cookie could not be set correctly. Below are the most common reasons:

    You have cookies disabled in your browser. You need to reset your browser to accept cookies or to ask you if you want to accept cookies.
    Your browser asks you whether you want to accept cookies and you declined. To accept cookies from this site, use the Back button and accept the cookie.
    Your browser does not support cookies. Try a different browser if you suspect this.
    The date on your computer is in the past. If your computer's clock shows a date before 1 Jan 1970, the browser will automatically forget the cookie. To fix this, set the correct time and date on your computer.
    You have installed an application that monitors or blocks cookies from being set. You must disable the application while logging in or check with your system administrator.

    Why Does this Site Require Cookies?

    This site uses cookies to improve performance by remembering that you are logged in when you go from page to page. To provide access without cookies would require the site to create a new session for every page you visit, which slows the system down to an unacceptable level.
    What Gets Stored in a Cookie?

    This site stores nothing other than an automatically generated session ID in the cookie; no other information is captured.

    In general, only the information that you provide, or the choices you make while visiting a web site, can be stored in a cookie. For example, the site cannot determine your email name unless you choose to type it. Allowing a website to create a cookie does not give that or any other site access to the rest of your computer, and only the site that created the cookie can read it.
    Same issue with JSTOR:
    An Error Occurred Setting Your User Cookie

    The JSTOR site requires that your browser allows JSTOR (http://www.jstor.org) to set and modify cookies.

    JSTOR uses cookies to maintain information that will enable access to the archive and improve the response time and performance of the system. Any personal information, other than what is voluntarily submitted, is not extracted in this process, and we do not use cookies to identify what other websites or pages you have visited.
  • create webpage form item button has DISAPPEARED from my zotero. can anyone explain why? this functionality is no longer available at all. the icon is GONE. ??
Sign In or Register to comment.