EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #09946


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Still about PDF that always get downloaded, the source code is different


Hi Agung,

It would be useful if you could share a URL for a page where when you click on a link for a PDF on this page it downloads rather than loads in browser.  Then we can test if we get the same behaviour in our web browsers.  If so, then I suspect I can probably analyse the HTTP requests and responses related to these and see how they differ from other repositories where the PDFs load in browser.

Regards

David Newman

On 24/01/2025 18:08, Agung Prasetyo W. wrote:
CAUTION: This e-mail originated outside the University of Southampton.
CAUTION: This e-mail originated outside the University of Southampton.
Continuing my previous question, when I display the source code from the summary, I see the html format is different.
For example, in my repo:

image.png

While the repo in general is like this:
image.png

Is this difference in the html rendering results that can cause the pdf to not open directly in the browser and have to be downloaded?

In what file if I want the html source code results to be the same as other eprints?

Thank you.

Regards,
Agung PW


*** Options: https://wiki.eprints.org/w/Eprints-tech_Mailing_List
*** Archive: https://www.eprints.org/tech.php/
*** EPrints community wiki: https://wiki.eprints.org/