OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Problem with PDF Article Download and Reading Tools

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
This forum is meant for general questions about the usability of OJS from an everyday user's perspective: journal managers, authors, and editors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OJS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OJS:

1. Read the documentation. We've written documentation to cover from OJS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OJS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OJS Technical Support subforum; if you have a development question, try the OJS Development subforum.

Problem with PDF Article Download and Reading Tools

Postby dcwyant » Thu Jun 24, 2010 4:54 pm

We have one article that has gone rogue and opens in an independent window.

Two articles in our first issue are behaving well. The abstract opens in a window with the reading tools pane on the right side (although you have to scroll to the right to find the tools -- How do we modify the pane size?). When a reader clicks on the PDF link at the bottom of the abstract, the PDF opens within the page frame with reading tools on the right. (Intermediate page says "Portable Document File will download automatically. If not, click here to begin manual download.")

The third article's abstract opens in the frame with reading tools on right. However, when reader clicks on link for PDF file, the PDF opens in a new window --no reading tools. The intermediate page for this article says "Article Download" rather than "Portable Document File..."

All PDFs were created on the same computer and final drafts were uploaded as Layout Galleys. I've tried creating and uploading a new PDF for the third article, but the problem persists.

This switcheroo has me mystified. We've disabled all the reading tools, but that did not affect the different opening styles. We're ready to launch as soon as this bug is worked out.
Diane
dcwyant
 
Posts: 19
Joined: Fri Jun 11, 2010 9:03 am

Re: Problem with PDF Article Download and Reading Tools

Postby jmacgreg » Mon Jun 28, 2010 10:55 am

Hi Diane,

Try checking the galley/galley type on the submission's Editing page, in the Layout section. If the galley format reads as anything else besides "PDF" exactly (eg. "PDF ()") you may be dealing with an incorrectly uploaded/completed galley file, and will have to delete and reupload the galley. If it's not that, please let me know and I can investigate further.

Cheers,
James
jmacgreg
 
Posts: 4186
Joined: Tue Feb 14, 2006 10:50 am

Re: Problem with PDF Article Download and Reading Tools

Postby dcwyant » Tue Jun 29, 2010 10:17 am

Thanks James. I'm posting an update for others that might encounter this problem. Although the OJS system recognized the file as a PDF and labeled it as such, the PDF was not loading correctly because (I think) of "hidden customized XML data." I went back to the Word document and ran the Document Inspector protocol to remove hidden data. Hidden Customized XML repeatedly showed up and it took several rounds of the Document Inspector to finally remove it (that was a first, once usually does the job). Using the scrubbed Word document, I created a new PDF, which uploaded correctly and displayed within the page frame.
Anyone needing more information on using the Document Inspector to remove hidden data can find the instructions on the last page of our journal's directions for Ensuring a Blind Review http://ssw.unc.edu/jif/jsswr-docs/BlindReview.pdf
dcwyant
 
Posts: 19
Joined: Fri Jun 11, 2010 9:03 am

Re: Problem with PDF Article Download and Reading Tools

Postby jmacgreg » Mon Jul 05, 2010 9:41 am

Hi Diane,

Thanks for sharing that with us. I haven't heard of that kind of problem before; I'm sure that the steps you have laid out will be of help to others.

Cheers,
James
jmacgreg
 
Posts: 4186
Joined: Tue Feb 14, 2006 10:50 am

Re: Problem with PDF Article Download and Reading Tools

Postby mgscano » Mon Jul 05, 2010 10:39 am

Hi all,
just to add my usual 2c .. I'm running into the same visualization problem, but I have screened another cause: the PDF galleys do are correctly identified as PDFs, but the server states its file type as "binary/octet-stream" instead of "application/PDF".

I'm trying to understand how to work around this, as I'm not 100% certain it is an Apache problem. If I have news I'll update this page as quick as I can.

bye,
mgscano
 
Posts: 72
Joined: Tue Jan 27, 2009 3:22 am
Location: Brescia, Italy

Re: Problem with PDF Article Download and Reading Tools

Postby asmecher » Tue Jul 06, 2010 11:45 am

Hi Marco,

Have you checked the article_files table to see whether or not the MIME type is correctly identified there?

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 8470
Joined: Wed Aug 10, 2005 12:56 pm

Re: Problem with PDF Article Download and Reading Tools

Postby mgscano » Tue Jul 13, 2010 2:23 am

Hi Alec,
that's turning out to be the problem, indeed.

When I look into the database, many files have uneven and inconsistent file type identification, and this is not only with PDFs. Also ms Word documents are sometimes identified as application/octet-stream or sometimes even as application/force-download (this sounds quite new ...).

I'm trying to understand what goes wrong with the production site, because as usual, in my local development VMs everything works smoothly.

Will update this thread as I make some progress, stay tuned.

bye
mgscano
 
Posts: 72
Joined: Tue Jan 27, 2009 3:22 am
Location: Brescia, Italy


Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: No registered users and 2 guests