![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2015
Device: none
|
![]()
Hi,
I don't know if this is the right place to ask this, but I just want to ask if how to configure the content server to just open my e-books (PDF format) in browser instead of downloading it? Thanks in advance for the help! |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,156
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You have to configure your browser to do that, not the server.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2015
Device: none
|
![]()
Thanks for the answer, but the browser I am using, which is firefox was already configured to just preview PDF files.
Whenever I click the Get button, it downloads the PDF file and not preview. How can I just preview the PDF files from my content server? |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,156
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The content server produces a standard <a href="file.pdf"> link. It has no control over what your browser chooses to do with that link.
|
![]() |
![]() |
![]() |
#5 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
I use the following FF addon to fix those downloads which are sneakily offered as attachments: https://addons.mozilla.org/en-US/fir...nedisposition/
But as Kovid said, the content server is already offering stuff as bog-standard file links, so the browser should open the PDF. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,156
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That reminds me, while the link is a standard <a href> type link, the server does add the content-disposition header for URLs under /get/, so eschwartz's firefox extension should do the trick.
|
![]() |
![]() |
![]() |
#7 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Aha!
Well then, mystery solved. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Content Server in read-only mode? | Caleb666 | Devices | 11 | 02-25-2015 10:44 AM |
is there a tool to open (read) books from the calibre's content server? | tsolignani | Related Tools | 2 | 04-16-2013 07:14 AM |
Content Server Download Template | Maggie-Me | Calibre | 2 | 07-01-2012 01:42 PM |
Content server download doesn't complete on Blackberry | jsm555 | Devices | 0 | 03-13-2012 02:42 AM |
[Old Thread] Asus Transformer - Can't download books from content server | rayuki | Devices | 9 | 01-16-2012 11:05 PM |