![]() |
#571 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
Quote:
Also, google for pdbshred.zip and read the txt inside. It mentions a key which might work. Last edited by igorsk; 09-03-2008 at 06:48 PM. |
|
![]() |
![]() |
![]() |
#572 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 797
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
|
Quote:
But...I ran the exe. Anyway. pdbshred -a filename.prc outfilename (note, no extension) And it ran. And it gave me output. outfilename.htm outfilename001.bmp outfilename002.bmp So now I need to look through the html I guess and see if there are any changes I need to make. Anyone have any direction on that? I understand basic html. Here is the head section: <HTML><HEAD><metadata> <dc-metadata xmlns:dc="http://purl.org/metadata/dublin_core" xmlns: oebpackage="http://openebook.org/namespaces/oeb-package/1.0/"> <dc:Identifier id="uid">RUADLIKLDL</dc:Identifier> <dc:Title>Woman On the Run</dc:Title> <dc:Creator>Lisa Marie Rice</dc:Creator> <dc: Date>9/3/2004</dc: Date> <dc:Copyrights>WOMAN ON THE RUNAn Ellora's Cave Publication, September 2004 Ellora's Cave Publishing, Inc.PO Box 787Hudson, OH 44236-0787 ISBN MS Reader (LIT) ISBN # 1-4199-0020-XOther available formats (no ISBNs are assigned):Adobe (PDF), Rocketbook (RB), Mobipocket (PRC) & HTML WOMAN ON THE RUN © 2004 LISA MARIE RICE ALL RIGHTS RESERVED. This book may not be reproduced in whole or in part without permission. This book is a work of fiction and any resemblance to persons, living or dead, or places, events or locales is purely coincidental. They are productions of the authors' imagination and used fictitiously. Edited by Marty Klopfenstein.Cover art by Syneca.</dc:Copyrights> <dc:Publisher>Ellora's Cave Publishing, Inc.</dc:Publisher> <dc:Subject></dc:Subject> </dc-metadata> </metadata> <GUIDE> </GUIDE> <METADATA HREF="xyz_metadata.htm" filepos="0000827066"><hr></HEAD> After making any edits necessary, I can just use html2mobi or Mobi Creator to build a file, right? |
|
![]() |
![]() |
![]() |
#573 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 797
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
|
Quickie update. I have a total of 18 files from the same publisher. pdbshred worked on all but 1 in that I now have html and bmp files for each. On the 1 it did not work on, mobi2mobi did work. 15 of the files were purchased in 2005 or prior. 3 this year. In future I'll probably buy .lit and use ConvertLit.
|
![]() |
![]() |
![]() |
#574 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
html2mobi does not use the all the metadata. So just give appropriate arguments to html2mobi and use mobi2mobi to fix the remaining problems. Or use mobigen or Mobi Creator on the html file.
|
![]() |
![]() |
![]() |
#575 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 797
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
|
Hey guys - I'm back with something I don't understand. It's kinda related to mobi2mobi, but also kinda related to mobi reader. And maybe just M$ Windows being a pain.
I have an AZW file. I dedrm'd it fine. I can open it in MobiReader on my PC and it works fine. But, the author is displayed as "LastName, FirstName," --- it's that little comma after the firstname that I want to get rid of. Here's the command as I ran it (marked and pasted from command window): F:\ebooks\Working>mobi2mobi.exe "title.mobi" --outfile fixcomma.mob i --author "Heath, Lorraine" Then I right clicked on the file and chose "Open With" > Reader. MobiReader opened and opened the file. I clicked back to my ebook library page and the comma still showed after the firstname. I deleted the mbp file and relaunched with no change. So then, I deleted the mobi and mpb file and closed reader. Then instead of doing "Open With", I copied the file into the library myself and then launched reader. Guess what? No comma. Anyone have ANY idea why that would make a difference? I mean, I have no problem manually copying the file in instead of using "open with" but why would that make a difference? Ignore this...figured it out...number of characters including the spaces and commas...duh. Quote:
Last edited by texasnightowl; 09-10-2008 at 01:43 AM. |
|
![]() |
![]() |
![]() |
#576 |
Fanatic
![]() ![]() ![]() ![]() ![]() Posts: 527
Karma: 470
Join Date: Sep 2007
Location: The Netherlands
Device: Kindle Oasis
|
I think it is MobiReader opening the file that is still in the 'library'. It is not opening the new file, but the one it already has all the information about. Things like thumnails etc. It does not replace the old file.
Try deleting the file from within the MobiReader first and then open the 'new' file. You will see the new file is copied to My eBooks and all your changes are visible. I had some problems myself with that when I was editting books. I had a book with no TOC. I checked it by opening it with the reader. Then I created a TOC in the original HTML file, used the Creator to build a new file. From within the Creator I opened the file in the Reader, no TOC visible. It took a while before I discovered that deleting the file from within the Reader should be done first. Now when I changed the book it did show up after a rebuild. I'm not sure if it is a security thing. This way you cannot overwrite a book in your library by accident. But the nice thing to would by: Simply tell you there is a book with the same filename and do you want to replace it Last edited by Ortep; 09-10-2008 at 02:59 AM. |
![]() |
![]() |
![]() |
#577 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
MobiPerl 0.0.39
I did a release 0.0.39 which essentially just is all pdurrant's fixes integrated in the code. I think I added some country code also. The Perl code is at:
https://dev.mobileread.com/dist/tompe/mobiperl/ I have not tested all changes so let me know if something is not working. |
![]() |
![]() |
![]() |
#578 | |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,989
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
Thanks - I've downloaded 0.0.39 and replaced my hacked 0.0.38 versions. I'm a bit busy at work at present, but hopefully I'll have time to test things a bit over the next week or two.
I came across pdbshred.zip which contains some interesting info on a strange form of protected Mobipocket file. Hopefully this might explain the strange CyBook manual format. But I haven't had time to look at it properly. Thanks again for all your work on these very useful tools. Paul Quote:
|
|
![]() |
![]() |
![]() |
#579 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Sep 2008
Device: Kindle
|
Hi,
I converted a couple of html files to mobi by html2mobi and uploaded them to my Kindle. They show up on the Kinlde (with correct title/author info), but when I try to open them, the message "The selected item could not be opened" appears. What could be the problem? The source html files were scientific papers saved off the publisher's website ("web page complete" option). I used the Windows executable for html2mobi. Thanks. |
![]() |
![]() |
![]() |
#580 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
I will test html2mobi tonight and check that I can open the files on my Cybook. If html2mobi works for me I need the generated mobi file to be able to say something else. |
|
![]() |
![]() |
![]() |
#581 | |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Sep 2008
Device: Kindle
|
Quote:
It might be something specific to the Kindle though. |
|
![]() |
![]() |
![]() |
#582 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
And what was the command line? It has worked before without any problem on the Kindle. Maye the HTML file contains some strange character or some strange character set? |
|
![]() |
![]() |
![]() |
#583 | |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Sep 2008
Device: Kindle
|
Quote:
html2mobi --author AUTHOR filename.htm It could be the characters -- there are math formulas in the paper. Although I thought that in that particular paper the formulas were just rendered as images, but I may be mistaken. The mobi file was displayed properly in the Mobipocket Reader, but not on the Kindle. The second mobi file I created the same way actually caused the Mobipocket Reader to crash. |
|
![]() |
![]() |
![]() |
#584 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
I just tested the latest version of html2mobi on a test case and on my Cybook the generated files was fine. If you could give me the html file and included images that causes problem for you I will test it (email: tpe@ida.liu.se, or make it available via a web page). Maybe there is a format problem with the images? |
|
![]() |
![]() |
![]() |
#585 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,154
Karma: 3252017
Join Date: Jan 2008
Location: Germany
Device: Pocketbook Touch Lux (623)
|
Quote:
Enjoy. |
|
![]() |
![]() |
![]() |
Tags |
mobi2mobi, mobils |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mobi2Mobi Mobi2Mobi v0.13 - GUI for Mobiperl tools | Jad | Kindle Formats | 476 | 03-15-2015 05:51 PM |
Tools for Editing Kindle .mobi Files? | GJN | Kindle Formats | 33 | 12-26-2013 02:05 PM |
Handy Perl Script to convert HTML0 files to smartquotes | maggotb0y | Sony Reader | 0 | 04-12-2007 11:49 AM |
PRS-500 Perl tools to generate Reader content | TadW | Sony Reader Dev Corner | 0 | 01-08-2007 05:55 AM |
gmail copy (gmcp) - Perl script to copy files to/from Gmail | Colin Dunstan | Lounge | 0 | 09-04-2004 01:24 PM |