![]() |
#1 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 168
Karma: 1000036
Join Date: Oct 2008
Location: Citizen of the World
Device: iPod Touch, Nook Colour, Kobo Touch, Kobo Glo, Nexus 7, Nexus 5, Pixel
|
Feature Request For Exporting DB Info
Hi Kovid,
Great software you've got here! I'm just setting up my ipod Touch with the Stanza ePub reader and am using Calibre to convert my books to epub format. Stanza has a feature whereby you can access your library online right from the program by simply serving an xml file and your epub books from a webserver and then telling stanza the URL of your online catalog. The syntax of the XML file is pretty straight forward. I was going to whip up a script that would use the info in the Calibre database to generate this XML file and simply mount the Calibre ebook storage folder along with the XML file on my web server so we could access our library from anywhere. After searching this forum I came across the calibredb command along with its --list feature. The only thing its missing for me to generate this XML file is for it to be able to dump the relative path and filename within the Calibre ebook folder of each books book and image files. Is this info accessible by calibredb and if so could these 2 extra fields be added to the --list command? I love it when I stumble across gems of the internet like this. Thanks again for a wonderful piece of software! Cheers, CrazyIvan |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,162
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Sure open a ticket, and I'll add the functionality for the next release.
|
![]() |
![]() |
![]() |
#3 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 168
Karma: 1000036
Join Date: Oct 2008
Location: Citizen of the World
Device: iPod Touch, Nook Colour, Kobo Touch, Kobo Glo, Nexus 7, Nexus 5, Pixel
|
Done. Thanks!
|
![]() |
![]() |
![]() |
#4 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 168
Karma: 1000036
Join Date: Oct 2008
Location: Citizen of the World
Device: iPod Touch, Nook Colour, Kobo Touch, Kobo Glo, Nexus 7, Nexus 5, Pixel
|
Hi Kovid,
I just tried the new version of calibredb and see the new field for the books file path ( ![]() I've also added another ticket, ![]() ![]() Cheers, Crazy |
![]() |
![]() |
![]() |
#5 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 168
Karma: 1000036
Join Date: Oct 2008
Location: Citizen of the World
Device: iPod Touch, Nook Colour, Kobo Touch, Kobo Glo, Nexus 7, Nexus 5, Pixel
|
Something just dawned on me. Is the cover image file _always_ "cover.jpg"?
![]() Cheers, Crazy |
![]() |
![]() |
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,162
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
yeah cover is always named the same.
|
![]() |
![]() |
![]() |
#7 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 168
Karma: 1000036
Join Date: Oct 2008
Location: Citizen of the World
Device: iPod Touch, Nook Colour, Kobo Touch, Kobo Glo, Nexus 7, Nexus 5, Pixel
|
As I wait for the CSV option update to calibredb I had a thought
![]() PHP Code:
It ends up looking like the attached ipod Touch screenshot. ![]() Crazy ![]() |
![]() |
![]() |
![]() |
#8 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 168
Karma: 1000036
Join Date: Oct 2008
Location: Citizen of the World
Device: iPod Touch, Nook Colour, Kobo Touch, Kobo Glo, Nexus 7, Nexus 5, Pixel
|
Sorry, I'm new to this forum and have a newbie question. I made a post yesterday that said it needed moderator approval. I'm assuming that was because it had a link to a screenshot of Stanza running on my touch and/or some xml code inline (using the PHP tag). How long do posts generally take to be approved in this forum? I'm wondering if something went wrong and the post is lost in the ether and would like to know whether to repost or not.
Thanks, Crazy |
![]() |
![]() |
![]() |
#9 |
Sir Penguin of Edinburgh
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
I just now saw the post.
|
![]() |
![]() |
![]() |
#10 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,162
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Are you saying you want calibre to run a webserver?
|
![]() |
![]() |
![]() |
#11 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 168
Karma: 1000036
Join Date: Oct 2008
Location: Citizen of the World
Device: iPod Touch, Nook Colour, Kobo Touch, Kobo Glo, Nexus 7, Nexus 5, Pixel
|
Thanks Nate.
Not personally Kovid, I use a Linux box with Apache to run my home automation stuff so I planned to simply samba mount my Windows Calibre library on my Linux webserver so I can access all of my books in Stanza on my ipod Touch. All that's missing to do this is the XML file describing the location of the epubs and their cover images. Now, that being said, if there's a nice tight web server module that could be slapped into Calibre it might prove useful to some that have wirelessly enabled reading devices. There seems to be quite a few apps out there these days that include their own web front end in order to increase the apps accessibility. For starters though, since there are so manY free web servers available to folks on all the major platforms, just having help generating this atom feed xml file would be a great help. ![]() Crazy |
![]() |
![]() |
![]() |
#12 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,162
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Generating an XML file from calibredb is pretty trivial, open a ticket for it, but I have a lot of other things in my queue at the moment, and I don't have a iPhone, so if you want this done quickly you're better off doing it externally.
|
![]() |
![]() |
![]() |
#13 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 168
Karma: 1000036
Join Date: Oct 2008
Location: Citizen of the World
Device: iPod Touch, Nook Colour, Kobo Touch, Kobo Glo, Nexus 7, Nexus 5, Pixel
|
Sounds good. I'll post the script once I have it working to help out anyone else in the meantime. Thanks again for your help!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Luzme.com: News, Comments and Requests for Help | rwillmer | Deals and Resources (No Self-Promotion or Affiliate Links) | 28 | 01-17-2012 11:55 AM |
Feature request | AprilHare | EPUBReader | 2 | 11-22-2009 05:15 AM |
Feature request | mrmikel | EPUBReader | 4 | 11-20-2009 11:49 AM |
Feature request | AprilHare | Calibre | 4 | 04-22-2009 04:23 AM |
Feature request | AprilHare | Calibre | 0 | 11-22-2008 05:42 AM |