Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-20-2016, 02:27 PM   #1
josh.p.23
Member
josh.p.23 began at the beginning.
 
josh.p.23's Avatar
 
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)?
josh.p.23 is offline   Reply With Quote
Old 05-20-2016, 03:43 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
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.
eschwartz is offline   Reply With Quote
Advert
Old 05-20-2016, 03:48 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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
theducks is offline   Reply With Quote
Old 05-20-2016, 05:38 PM   #4
josh.p.23
Member
josh.p.23 began at the beginning.
 
josh.p.23's Avatar
 
Posts: 18
Karma: 12
Join Date: Aug 2013
Device: android kindle app, FB Reader, several tablets
Quote:
Originally Posted by eschwartz View Post
I suggest you file a feature request for the new server once calibre v3 comes out.
Nifty notion. I imagine something like exposing an optional publicly shareable link on the permalink page once a user is logged in.

Any eta on V3?
josh.p.23 is offline   Reply With Quote
Old 05-20-2016, 05:42 PM   #5
josh.p.23
Member
josh.p.23 began at the beginning.
 
josh.p.23's Avatar
 
Posts: 18
Karma: 12
Join Date: Aug 2013
Device: android kindle app, FB Reader, several tablets
Quote:
Originally Posted by theducks View Post
Create a 'Catalog' (EPUB and/Or Mobi) Book then move it to a different Library

And share that via a comandline server
Can you point me to info on how to make a 'Catalog' Book? That just came off as Greek...
josh.p.23 is offline   Reply With Quote
Advert
Old 05-20-2016, 05:44 PM   #6
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
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. But I have been keeping an eye on it.
eschwartz is offline   Reply With Quote
Old 05-20-2016, 05:55 PM   #7
josh.p.23
Member
josh.p.23 began at the beginning.
 
josh.p.23's Avatar
 
Posts: 18
Karma: 12
Join Date: Aug 2013
Device: android kindle app, FB Reader, several tablets
Quote:
Originally Posted by eschwartz View Post
Nope, although I suppose you could delete the format files from a copy of the library and serve that.
Great idea. The only problem becomes... how to serve these along side of the actual book server...?
josh.p.23 is offline   Reply With Quote
Old 05-20-2016, 06:11 PM   #8
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
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
eschwartz is offline   Reply With Quote
Old 05-20-2016, 06:34 PM   #9
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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
Quote:
Originally Posted by josh.p.23 View Post
Can you point me to info on how to make a 'Catalog' Book? That just came off as Greek...
Right click Convert ICON (at the bottom)
theducks is offline   Reply With Quote
Old 05-24-2016, 01:30 PM   #10
josh.p.23
Member
josh.p.23 began at the beginning.
 
josh.p.23's Avatar
 
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?
josh.p.23 is offline   Reply With Quote
Old 05-24-2016, 02:38 PM   #11
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
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.)
eschwartz is offline   Reply With Quote
Old 05-24-2016, 07:24 PM   #12
josh.p.23
Member
josh.p.23 began at the beginning.
 
josh.p.23's Avatar
 
Posts: 18
Karma: 12
Join Date: Aug 2013
Device: android kindle app, FB Reader, several tablets
Quote:
Originally Posted by eschwartz View Post
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.)
Actually, I just copied the library, and in the new library I selected all book records, and selected "remove files of a certain type from selected books", and removed all file types. This leaves all of the book records without the actual book formats.
josh.p.23 is offline   Reply With Quote
Old 05-24-2016, 10:10 PM   #13
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
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.
eschwartz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 04:53 AM.


MobileRead.com is a privately owned, operated and funded community.