No David,

I deployed the same PDF file streight to Tomcat and then it opens in
the plugin of the browser.
I suspect that what makes a difference is that
- when it comes from DSpace - the header says "disposition - attachment"
- when it comes streight from Tomcat - there is nothing about "attachment".

Regards
Evgeni

On Wed, Jan 22, 2014 at 4:26 PM, Schuster, David <[email protected]> wrote:
> They were probably using the Atmire document streaming feature that is a
> paid for add on.
>
>
>
> Message: 2
>
> Date: Tue, 21 Jan 2014 22:37:19 +0200
>
> From: Evgeni Dimitrov <[email protected]>
>
> Subject: [Dspace-tech] showing a PDF in the browser
>
> To: dspace-tech <[email protected]>
>
> Message-ID:
>
>
> <CAJc2bOwqU_mgjAeQk5p=oyzxr95c+gqn-mm1x8fksukj8te...@mail.gmail.com>
>
> Content-Type: text/plain; charset=ISO-8859-1
>
>
>
> I found on some site a PDF file, which gets displayed in my Firefox 26
> browser in the Acrobat 11 plug-in.
>
> I downloaded this file and ingested to DSpace:
>
>
>
> dspace/bin/dspace import --add --eperson=. . . --source=. . .
>
>
>
> Now - from DSpace - this same file does not get authomatically displayed in
> Firefox in the Acrobat plug-in.
>
> Firefox asks - to open or to save. When I select "open with Adobe Reader",
> it opens in Adobe Reader, but outside Firefox.
>
>
>
> I can not figure out why the same PDF file is shown differently when served
> from different servers...
>
> I only tried to add to the DC metadata
>
> <dcvalue element="format" qualifier="mimetype"
>
> language="en">application/pdf</dcvalue>
>
>
>
> But this did not change anything.
>
> Any ideas?
>
>
>
>
>
> David Schuster
>
> Texas Woman's University
>
> Director of Library Information Technology & Technical Support
>
> PO Box 425528
>
> Denton TX 76204-5528
>
>
>
> Phone: 940-898-3909
>
> Fax: 940-898-3764
>
>
>
> [email protected]
>
>
>
>
> ------------------------------------------------------------------------------
> CenturyLink Cloud: The Leader in Enterprise Cloud Services.
> Learn Why More Businesses Are Choosing CenturyLink Cloud For
> Critical Workloads, Development Environments & Everything In Between.
> Get a Quote or Start a Free Trial Today.
> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to