10-17-2007, 11:13 PM | #1 |
Connoisseur
Posts: 54
Karma: 210
Join Date: Sep 2007
Device: iPad
|
contentLister displays mobipocket file names after opening
configuration: er0140 /002 2.11
I've gotten some mobipocket ebooks and am finding that when the books are initially copied onto the CF card the titles (and sometimes other information) is displayed in the contentLister - a reasonably friendly behavior. However, once I have opened a book then the contentLister displays the filename like "xxxxxx.prc" - generally unfriendly behavior. Also the contentLister sorts the mobipocket books by filename rather than by title. I am not placing the mobipocket books in any particular directory just where they need to be according to subject and so on in relation to other ebooks that I have on the CF card. Has anyone seen this behavior or does anyone have a suggestion about how to inhibit the contentLister behavior? Thanks |
10-17-2007, 11:56 PM | #2 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
I noticed that when MobiPocket Reader first opens a file (e.g. file.prc) that isn't in the special "MobiPocket" directory it makes a subdirectory named file.prc and copies the original file.prc into it with a manifest.xml and a file.mbp. The manifest.xml contains "file.prc" as the Title, and this is why contentLister displays this (I think). You may be able to edit the manifest.xml to show something else - but I don't know much about how manifest files work. The .mbp file is something particular to MobiPocket Reader, and it isn't plain text, but it may well contain the kind of information that the contentLister "should" be displaying.
For files not yet opened by the MobiPocket Reader (e.g. opened by FBReader, or by nothing at all), most list the filename in the contentLister but a few list the ebook's formal title (presumably taken from inside the file). The pattern I think I see is that these are the .mobi files, rather than .prc files. But they might be uncompressed files (or some other special case - all are without encryption). I don't know if there is any difference between .mobi and .prc MobiPocket e-books, except the extension itself. I would like the contentlister to list both the filename and the book title. Without the filename it can be hard to line up the contentLister with the directory listing when connected via usb to a desktop. Last edited by wallcraft; 10-17-2007 at 11:59 PM. |
Advert | |
|
10-18-2007, 12:22 AM | #3 | |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Quote:
So, my current theory is that BOOKMOBI ebooks initially have their formal title listed by the contentLister but TEXtREAd ebooks list the filename. |
|
10-18-2007, 02:44 AM | #4 |
Connoisseur
Posts: 56
Karma: 11
Join Date: Aug 2007
Device: iLiad / Palm Vx / Nokia E65
|
You can always go in via the USB to edit the manifest.xml file to set the Title that is displayed. You can also set the Description to set what gets displayed below the title.
The default formatting of the manifest.xml file is dreadful though, it has no line breaks. I generally run: Code:
for F in `find . -name manifest.xml`; do tidy -i -xml -wrap 999 $F > $F.new && rm $F && mv $F.new $F; done Once I have finished with it, a typical manifest file looks like this: Code:
<?xml version="1.0" encoding="utf-8"?> <package> <metadata> <dc-metadata> <Title>Dark Lover</Title> <Description>J R Ward</Description> <Date>2007-09-13T21:17:30</Date> <Format /> <Identifier /> <Language /> <Type>book</Type> </dc-metadata> <y-metadata> <startpage>darklover4.prc</startpage> <version>000</version> <ItemSize>335872</ItemSize> <image>DLover.jpg</image> </y-metadata> </metadata> </package> |
10-18-2007, 08:11 AM | #5 |
Connoisseur
Posts: 54
Karma: 210
Join Date: Sep 2007
Device: iPad
|
Wonderful!! Thanks to all for the helpful information.
It would seem to me that a future version of the contentLister should reflect the manifest.xml (if present) for any directory which has a name of the form xxx.prc regardless of the parent directory. |
Advert | |
|
10-18-2007, 10:57 AM | #6 | |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
Quote:
A screenshot of the contentLister displaying book covers would be worth a thousand words. These are now very easy to make: fbshot via the contentlister. |
|
10-18-2007, 12:36 PM | #7 | |
Connoisseur
Posts: 56
Karma: 11
Join Date: Aug 2007
Device: iLiad / Palm Vx / Nokia E65
|
Quote:
Also, errors in the XML file break the icon, title and description, but running tidy over the file again after editing (with the options as above) will warn if there are any errors in the file. I would take a screenshot, but the iLiad is my wife's, and I haven't got the developer package installed. |
|
10-18-2007, 10:32 PM | #8 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
The 3 attached screenshots illustrate the issue.
The 1st shows files that have been copied to the CF card, but not opened. In some cases the contentLister lists the book's title but in other cases it lists the books filename. The 2nd shows what happens after the files have been opened by the MobiPocket Reader. They are now in individual subdirectories, and in all cases the contentLister lists the books filename (which is also now the subdirectory name). This is because that is how the MobiPocket Reader has configured the manifest.xml files. The 3rd illustrates what manually editing the manifest.xml files and adding a cover image can do. I left the filename as the title, and added the book name and author in the description field. There are obviously other possible layouts. It is a shame that there isn't room for a 3-line description. The thumbnails look better in the screenshot on a large desktop display than they do on the iLiad. This is one case where color would help a lot (much more than with larger images). Still, I think they are an improvement over the current default. Note that all this information, including the cover image (in most cases) is in the .prc or .mobi file. There is no reason why the MobiPocket Reader could not produce a layout like the 3rd screenshot instead of the 2nd screenshot. As usual, depending on your browser defaults, you may need to click on the expanded image again to get the full sized screenshot. |
10-19-2007, 03:35 AM | #9 | |
Connoisseur
Posts: 56
Karma: 11
Join Date: Aug 2007
Device: iLiad / Palm Vx / Nokia E65
|
Quote:
|
|
10-19-2007, 09:00 AM | #10 |
fruminous edugeek
Posts: 6,745
Karma: 551260
Join Date: Oct 2006
Location: Northeast US
Device: iPad, eBw 1150
|
The covers are cool. They almost make the "only 6 per page" limitation bearable, but I agree it would be nicer to have a 4x4 grid of covers available as a display option in Content Lister.
I wish iRex would open up the Content Lister source. There's so much that could be done with it. |
10-19-2007, 09:12 AM | #11 |
Pac-Man caught my iLiad.
Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
|
Just a reminder that we have Bert's Manifest Creator.
|
10-21-2007, 05:30 AM | #12 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Why not just rename the file to reflect the book title (before copying it to the iLiad? That's what I do, and it works fine. The iLiad certainly doesn't object to files with spaces in the title.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Configuration of File Names | Desertway | Calibre | 4 | 03-07-2010 07:16 PM |
Cool-er file names | Kooper35 | Interead COOL-ER | 5 | 02-02-2010 02:47 PM |
File Names | Vulcan | Sony Reader | 4 | 01-02-2009 04:03 PM |
Opening azw files in mobipocket reader! | PsychoticSid | Amazon Kindle | 8 | 12-06-2007 12:50 PM |
iLiad What file Extensions should FBReader support from the contentlister? | Adam B. | iRex Developer's Corner | 6 | 09-12-2007 04:53 PM |