![]() |
#1 |
Member
![]() Posts: 18
Karma: 12
Join Date: Aug 2013
Device: android kindle app, FB Reader, several tablets
|
Content-Server: Preview/Public link
I was wondering if there is a way to provide preview/public links for non-authenticated users with the server. Perhaps a way to serve up only the metadata without the download links?
I'm trying to devise a way to create a "recently read" block that reads an rss feed from my shaarli installation which is populated with calibre-server links. I would like to use the nice pages that calibre-server serves up, but don't want the download links involved. Any suggestions (other than just using another reference site for my books)? |
![]() |
![]() |
![]() |
#2 |
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)
|
Nope, although I suppose you could delete the format files from a copy of the library and serve that.
I suggest you file a feature request for the new server once calibre v3 comes out. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,936
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Create a 'Catalog' (EPUB and/Or Mobi) Book then move it to a different Library
And share that via a comandline server |
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 18
Karma: 12
Join Date: Aug 2013
Device: android kindle app, FB Reader, several tablets
|
|
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 18
Karma: 12
Join Date: Aug 2013
Device: android kindle app, FB Reader, several tablets
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
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)
|
Well, you can run it and see how it looks if you have a source checkout, using `calibre-debug --new-server`.
Currently it is more or less feature-comparable to the current server, except that the authentication UI hasn't been exposed. Currently, Kovid has been working on the in-browser viewer, which is still pretty rough around the edges but is still pretty cool. No ETA on when that will be done, and he isn't committing on a date to us. ![]() |
![]() |
![]() |
![]() |
#7 |
Member
![]() Posts: 18
Karma: 12
Join Date: Aug 2013
Device: android kindle app, FB Reader, several tablets
|
|
![]() |
![]() |
![]() |
#8 |
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)
|
You run two servers, via the command line. One for each library (the metadata-only library and the full library).
https://manual.calibre-ebook.com/gen...re-server.html |
![]() |
![]() |
![]() |
#9 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,936
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#10 |
Member
![]() Posts: 18
Karma: 12
Join Date: Aug 2013
Device: android kindle app, FB Reader, several tablets
|
thanks for the great answers, folks
![]() crating an "empty" library seems like the right way to go. any ideas on how to automate a sync-up between an empty and non-empty library? |
![]() |
![]() |
![]() |
#11 |
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 suppose you could just copy the metadata.db and cover.jpg files into a new folder, and treat that as a library. It would still record the formats as existing, but they would be "missing" formats, so anyone trying to download them would get an error.
Also keep in mind, the library is scriptable via the commandline `calibredb` backend. cf. the subcommands "restore_database" or "remove_format". (The "check_library" subcommand does not appear to have an option to fix the things it reports on.) |
![]() |
![]() |
![]() |
#12 | |
Member
![]() Posts: 18
Karma: 12
Join Date: Aug 2013
Device: android kindle app, FB Reader, several tablets
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#13 |
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)
|
Yes, that goes without saying as I first recommended in post #2 (although maybe I wasn't entirely clear, that happens sometimes -- I spend later posts explaining what I implied in earlier posts
![]() But you did ask for "any ideas on how to automate a sync-up between an empty and non-empty library?" -- emphasis on the automate. Automation suggests things like include/exclude patterns for your sync software (ideally has a command-line method of invocation), followed by scripted callibredb commands to "heal" the database. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Content server on ubuntu 12.04 headless server ImageMagick: libltdl.so.7 | Cool Javelin | Calibre | 5 | 04-08-2015 02:20 AM |
Calibre Content Server and Windows Home Server 2011 | HughMcC | Calibre | 8 | 10-01-2014 07:26 AM |
500 Internal Server Error accessing content server Calibre 0.8.8 | DaddyO57 | Calibre | 1 | 07-20-2012 06:08 PM |
Link to 85 free non-public domain book at Amazon | rcuadro | Deals and Resources (No Self-Promotion or Affiliate Links) | 6 | 11-24-2009 11:46 AM |
Re: Thread content preview | Prash | Feedback | 1 | 08-05-2008 03:30 AM |