Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 10-22-2010, 12:07 PM   #271
dpierron
calibre2opds guru
dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.
 
dpierron's Avatar
 
Posts: 533
Karma: 8792
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, iPad, PRS-650
Well, either you're going mad or you just found a bug : the book comments should be in the book detail pages, and there is no option because it's always been there...
dpierron is offline   Reply With Quote
Old 10-22-2010, 12:32 PM   #272
ChristopherTD
Addict
ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.
 
ChristopherTD's Avatar
 
Posts: 343
Karma: 1010002
Join Date: Apr 2008
Location: London. UK
Device: Marvin Reader on iPad Air (via Calibre)
Ahh - the details are there on the detail page. I think they also used to be on the list page as well. Panic over...
ChristopherTD is offline   Reply With Quote
Advert
Old 10-28-2010, 02:36 PM   #273
hmf
Enthusiast
hmf doesn't litterhmf doesn't litter
 
Posts: 29
Karma: 108
Join Date: Oct 2010
Device: Kindle
I've run into 2 problems both of which are probably basic, but for the life of me I can't figure out. The first is how do you set up the catalog view to display a Cover View? I only get a single column and a lot of blank real estate to the right. I see no options to change this view. My second is that simply opening the catalog.html I get the bookcover thumbnails but when I log in over my Apache server no thumbnails are available. Can anyone help me figure these things out?
hmf is offline   Reply With Quote
Old 10-28-2010, 02:41 PM   #274
dpierron
calibre2opds guru
dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.
 
dpierron's Avatar
 
Posts: 533
Karma: 8792
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, iPad, PRS-650
Sure, we'll try and help you !
First, there is an option called "browse by cover" which should do the trick...
If you still have problems, try and contact me in private with your server's URL, so I can have a look.
Good luck !
David.
dpierron is offline   Reply With Quote
Old 11-02-2010, 09:04 AM   #275
Bobbatt
Junior Member
Bobbatt began at the beginning.
 
Bobbatt's Avatar
 
Posts: 9
Karma: 10
Join Date: Oct 2010
Device: none
Last Author missing

Hello David,
I have been browsing a catalog generated November 1st .
under Author. The Author list is sorted in alphabetic order. It looks like the last name of each letter is missing. The october 27 generated catalog did not have this problem.
I tried to contact the Team who has created the catalog, but could not reach them yet, I post here, because they refer to you as the main creator.
Fantastic Application David; Sincere admiration.
Robert

Last edited by Bobbatt; 11-02-2010 at 11:12 AM.
Bobbatt is offline   Reply With Quote
Advert
Old 11-02-2010, 09:12 AM   #276
dpierron
calibre2opds guru
dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.
 
dpierron's Avatar
 
Posts: 533
Karma: 8792
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, iPad, PRS-650
Hi Bobbatt,
I'm not sure I understand what you mean with "the last name of each letter is missing" ; did the catalog generator forget some authors ? I checked but couldn't find an example...
Also, please edit your post and remove/obscure the references to the A. Team - not talking about Hannibal Smith here - or I'm afraid we'll soon have problems with the moderators here...
Thanks for the praise !
dpierron is offline   Reply With Quote
Old 11-02-2010, 11:33 AM   #277
Bobbatt
Junior Member
Bobbatt began at the beginning.
 
Bobbatt's Avatar
 
Posts: 9
Karma: 10
Join Date: Oct 2010
Device: none
Last Author missing

Hello David,
I edited my previous post.
Yes, I mean that the bottom Author's name in the alphabetic order has been forgotten by the generator, the last of each letter. If I look by the titles, the missing authors have their books well listed.
The library has only 400 and so books which is not big, and it is not mine; I am going searching books there regularily.
I dont know if I may post their web address, so that you can see the exemple.
All the best
Robert
Bobbatt is offline   Reply With Quote
Old 11-02-2010, 11:45 AM   #278
dpierron
calibre2opds guru
dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.
 
dpierron's Avatar
 
Posts: 533
Karma: 8792
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, iPad, PRS-650
Bobbatt,
Thanks for editing your post !
Please send me an email : dpierron at gmail dot com
PS : the email can be in French
dpierron is offline   Reply With Quote
Old 11-04-2010, 07:41 PM   #279
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Hi, finally got around to trying Calibre2OPDS, very cool so far, but still learning all the ins and outs.

One thing I've discovered that is a borderline bug is that Calibre2OPDS uses Calibre's database to build it's URLs rather than the actual filesystem. On non-case sensitive file systems Calibre doesn't reliably match the case of directories/filenames to the actual book title/Author (Kovid has stated this is intentional). My server is a virtual host on Apache, so it is on a case sensitive filesystem. Since OPDS is using database case and not filesystem I'm getting 404's when the two don't match.

Not really a big deal, and I'm cleaning up the case of all the directories and filenames that don't match, but thought I'd mention it.
ldolse is offline   Reply With Quote
Old 11-05-2010, 01:05 AM   #280
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by ldolse View Post
Hi, finally got around to trying Calibre2OPDS, very cool so far, but still learning all the ins and outs.

One thing I've discovered that is a borderline bug is that Calibre2OPDS uses Calibre's database to build it's URLs rather than the actual filesystem. On non-case sensitive file systems Calibre doesn't reliably match the case of directories/filenames to the actual book title/Author (Kovid has stated this is intentional). My server is a virtual host on Apache, so it is on a case sensitive filesystem. Since OPDS is using database case and not filesystem I'm getting 404's when the two don't match.

Not really a big deal, and I'm cleaning up the case of all the directories and filenames that don't match, but thought I'd mention it.
You are correct!

It is surprisingly hard to reliably detect the case where the database and the file-system do not match as checking for file-existence works if Calibre2opds is run on a case-independent system. If someone could suggest a way (that can be used from Java) to program such a check in a robust way tha runs on all supported platforms it would probably be incorporated. I am sure if it wax easy Calibre itself would also make sure they matched.
itimpi is offline   Reply With Quote
Old 11-05-2010, 08:11 AM   #281
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,461
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by itimpi View Post
You are correct!

It is surprisingly hard to reliably detect the case where the database and the file-system do not match as checking for file-existence works if Calibre2opds is run on a case-independent system. If someone could suggest a way (that can be used from Java) to program such a check in a robust way tha runs on all supported platforms it would probably be incorporated. I am sure if it wax easy Calibre itself would also make sure they matched.
The problem you face is indeed difficult to begin with, made even more difficult because the catalog can be generated on a system with different rules.

My suggestion is that you assume that calibre2opds is being run on the system where calibre is run. In this case you can use filesystem paths when you generate a URL. For example, you could use the database path to open an item (read-only, perhaps open isn't needed), ask the OS for the real path, then use that. Such a scheme would generate paths that work on either case-sensitive or -insensitive systems, because you would be using the exact string found in the file system.

I haven't yet decided how to do this in my PHP server. My problem is that the server is not running on the system where the paths were created, so I don't get the chance to do case conversion using the open/path trick. Segment by segment searches (open a directory, get the list of files, lcase them, and compare by hand) might work, but such searches would be expensive.
chaley is offline   Reply With Quote
Old 11-11-2010, 03:52 AM   #282
ChristopherTD
Addict
ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.
 
ChristopherTD's Avatar
 
Posts: 343
Karma: 1010002
Join Date: Apr 2008
Location: London. UK
Device: Marvin Reader on iPad Air (via Calibre)
Hi there again

I wonder if it is possible to generate links to support BlueFire reader in the generated HTML? It needs something like this I believe:

bluefirereader://download/http://www.mywebsite.com/epub/mybook.epub
ChristopherTD is offline   Reply With Quote
Old 11-11-2010, 04:29 AM   #283
dpierron
calibre2opds guru
dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.dpierron shines like a glazed doughnut.
 
dpierron's Avatar
 
Posts: 533
Karma: 8792
Join Date: Aug 2005
Location: Metz, France
Device: iPhone, iPad, PRS-650
Well, sure, it's possible.
I'll have to find proper documentation about the bluefirereader links syntax (or are you sure of your example ?) and it'll be in the next release, currently in beta-testing - although my partner-in-crime is so busy with his private life that testing takes more time than before ;-)
dpierron is offline   Reply With Quote
Old 11-11-2010, 07:31 AM   #284
ChristopherTD
Addict
ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.ChristopherTD ought to be getting tired of karma fortunes by now.
 
ChristopherTD's Avatar
 
Posts: 343
Karma: 1010002
Join Date: Apr 2008
Location: London. UK
Device: Marvin Reader on iPad Air (via Calibre)
Excellent! Many thanks.

That syntax came straight from the Bluefire dev team so it should be the correct form!
ChristopherTD is offline   Reply With Quote
Old 11-24-2010, 12:02 AM   #285
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Couple questions/requests:
  • Calibre now retrieves html comments from Amazon, but Calibre2OPDS converts the html tags to entities. Would rather see the tags stripped or not changed to entities.
  • I've been trying to wrap my head around the best way to synchronize changes to the catalog. I'm using Transmit on OS X to sync the catalog. Transmit can sync changes based on file size change or timestamp. Neither one seems to work very well during a sync - filesize doesn't seem accurate, and timestamp always updates all files. Ideally I'd only like the timestamps modified for files that have actually been changed. I noticed the 'Do not save bandwidth' option says that it will stop modifying the timestamp - will this actually do what I want?
ldolse is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre->Calibre2Opds->Fbreader Network Library - No Download Icon boredsysadmin Calibre 2 01-16-2011 08:00 PM
Your personal online OPDS-library wdonne Self-Promotions by Authors and Publishers 9 01-04-2011 03:34 AM
Calibre, calibre2opds,and NOOK - best way to keep catalog up to date? rubyv Calibre 8 09-01-2010 12:16 AM
Call for comments: OPDS Catalogs 0.9 draft (open catalog standard ebooks) zelda_pinwheel News 4 05-14-2010 01:02 PM


All times are GMT -4. The time now is 08:11 AM.


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