![]() |
#376 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
But you'd think that by now the plugins would be updated,
|
![]() |
![]() |
![]() |
#377 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Well, I checked that before making my statement and the web page for PAR looked exactly like before Christmas. It would be nice if you do not indicate that it is harder to install the Perl things than it is. Your problem was because you did not follow the instruction and not because of any problem anybody following the instructions would have. The best thing for people using MobiPerl regularly is to try to get Perl working so they do not have to use the Windows binaries.
|
![]() |
![]() |
Advert | |
|
![]() |
#378 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Before I try to uninstall what I have I wonder if it's good enough to run your code... I'll have to give it a try and see.
|
![]() |
![]() |
![]() |
#379 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
If the PAR module was the only that failed to install thing it probably is. it also seems I added a dependency on the module Encode in mobi2html so you might have to install that also. for me it was already installed so I do not know when it is missing.
|
![]() |
![]() |
![]() |
#380 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,154
Karma: 3252017
Join Date: Jan 2008
Location: Germany
Device: Pocketbook Touch Lux (623)
|
Quote:
JSWolf, here's what you do: Uninstall the 822 Perl build. Download and install the 820 build from the link above, Then follow the instructions on the MobiPerl web site for installing modules with the Perl Package Manager. In addition to the packages listed there, you also need to install the Encode package. Of the two versions of PAR-Packer available in the Perl Package Manager, be sure to install PAR-Packer-588 and not the other one. Download nmake 1.5 from Microsoft. Run nmake15.exe and copy nmake.exe and nmake.err to a directory in your path, like e.g. the bin directory of the Perl installation (C:\Perl\bin for me) You are now ready to go. Building the MobiPerl binaries should now consist of downloading the proper .tar from here, unpacking it, opening a command prompt, navigating to the directory just created by unpacking the .tar, typing "nmake all", and waiting a bit. (If you want to build the mobiperl 0.0.35 binaries yourself, you also need to use the Makefile attached to this post, as the one in the mobiperl-0.0.35.tar ignores the dependency on the Encode package and thus builds a faulty mobi2html.exe) |
|
![]() |
![]() |
Advert | |
|
![]() |
#381 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
I will include the corrected Makefile in the next release. What is the name of the ActivePerl package that contains Encode so I can add it to the documentation?
|
![]() |
![]() |
![]() |
#382 | |
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
![]() The 'nmake' was the missing piece of the puzzle for me as I use Windows. It worked like a charm for me after using PPM to get HEBCI.pm version 0.02 from Encode-HEBCI (HTML-Entity Based Codepage Inferance). I had a clean compile using your Makefile. (I even easily tweaked it to compile my mobi2imp ![]() p.s. somehow I couldn't give you any karma (told I had to spread it around before giving it to you). Anyways, thanks again for your great advice. |
|
![]() |
![]() |
![]() |
#383 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,154
Karma: 3252017
Join Date: Jan 2008
Location: Germany
Device: Pocketbook Touch Lux (623)
|
|
![]() |
![]() |
![]() |
#384 |
space cadet
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 334
Karma: 2999999
Join Date: Aug 2007
Location: Seattle area
Device: Rocket PRO, gen3, Pocketbook360
|
bug report on mobi12mobi
When I tried to use only the --author and --outfile flags, the title was reset also. I used the following command line
mobi2mobi 0671319612.prc --author "Elizabeth Moon" --outfile Against_the_Odds.prc The file ended up with correct filename and author, but the title was set to "0671319612". I re-downloaded the first year's webscriptions (I had them in Rocket format before) and most of them had no author set and the filename was set to the SKU. I want to reset them to a filename that I can identify from a file listing, and also have the correct authors listed. I'm experimenting with the correct format of a spreadsheet to use for a batch file, and discovered the title gets reset if I do not use the --title flag. When I DO use the --title flag, the new file has the correct title listed. Roger |
![]() |
![]() |
![]() |
#385 |
Enthusiast
![]() Posts: 45
Karma: 10
Join Date: May 2005
Device: Palm Zire71
|
I've never been able to get --coverimage option to work with html2mobi. Is there some special trick I don't know about? Some special file type? I'm using regular old jpgs.
|
![]() |
![]() |
![]() |
#386 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
|
|
![]() |
![]() |
![]() |
#387 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
Quote:
Code:
html2mobi --coverimage Cover.jpg p1.html Code:
html2mobi --addcoverlink --coverimage Cover.jpg p1.html |
|
![]() |
![]() |
![]() |
#388 | |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,548
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Quote:
1. In most cases, the file will be called something "meaningful" and will make a reasonable title. 2. When the file has no metadata, the Gen3 displays the filename. By using the filename as the default title, if someone adds, say, an author name to a file which previously had no metadata, the displayed title won't change. |
|
![]() |
![]() |
![]() |
#389 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
|
mobils
I did a version 0.0.36 and the only change is that I added the command mobils (triggered by a question from HarryT in another thread and i realized it was something I would find useful). It now lists author, name and filename for the files you give as an argument. Or for all files in a directory if you do not give an argument. It also takes the flag -R for recursive listing.
One obvious use for it is to check which files on my Cybook is missing author information. So what would be useful for other people to have? Which information is useful? What is the best way to display it? Since there are so many way to do things I will add features that people find useful and which I think is sensible. Let me know if there are some problem under Windows due to filepath things. But as I understood it ActivePerl should handle these kind of things so it should work... Here is an example of how it works now: Code:
invid:~/mysvn/ebook/mobileread> mobils -R Chesterton, G.K.: Father Brown Omnibus (./Father Brown Omnibus.prc) NOAUTHOR: NOTITLE (./Haggard_Anthology_Vol_1.prc) NOAUTHOR: NOTITLE (./Chesterton_Man Thursday.prc) NOAUTHOR: NOTITLE (./Down and Out in the Magic Kingdom.prc) NOAUTHOR: NOTITLE (./Sherlock Holmes Omnibus.prc) NOAUTHOR: NOTITLE (./Cabell_Jurgen.prc) NOAUTHOR: NOTITLE (./Raffles Omnibus.prc) NOAUTHOR: NOTITLE (./Puddnhead Extraordinary Twins.prc) NOAUTHOR: NOTITLE (./Putnam_Nonsenseorship.prc) NOAUTHOR: NOTITLE (./Blue Hand.prc) NOAUTHOR: NOTITLE (./The Council of Justice.prc) NOAUTHOR: NOTITLE (./Haggard Anthology Vol 2.prc) NOAUTHOR: NOTITLE (./Sayers_Whose Body.prc) NOAUTHOR: NOTITLE (./Lady Molly of Scotland Yard.prc) NOAUTHOR: NOTITLE (./The Old Man in the Corner.prc) Bierce, Ambrose: An Occurrence at Owl Creek Bridge (./Bierce, Ambrose_An Occurrence at Owl Creek Bridge.prc) Bierce, Ambrose: Can Such Things Be? (./Bierce, Ambrose_Can Such Things Be.prc) NOAUTHOR: NOTITLE (./Shelley_Frankenstein 1818.prc) NOAUTHOR: NOTITLE (./Doctorow Cory_Someone Comes to Town, Someone Leaves Town.prc) NOAUTHOR: NOTITLE (./Wittgenstein_Tractatus.prc) NOAUTHOR: NOTITLE (./The Uncommercial Traveller.prc) NOAUTHOR: NOTITLE (./Austen_LOVE AND FRIENDSHIP.prc) NOAUTHOR: NOTITLE (./Three Men in a Boat.prc) Watts, Peter: Maelstrom (./Watts - Maelstrom.mobi) Lovecraft, Howard Phillips: Lovecraft's Fiction Volume II, 1926-1928 (./Lovecrafts Fiction Volume II, 1926-1928_v1.1.prc) Lovecraft, Howard Phillips: Lovecraft's Fiction Volume III, 1928-1931 (./Lovecrafts Fiction Volume III, 1928-1931_v1.1.prc) Lovecraft, Howard Phillips: Lovecraft's Fiction Volume IV, 1932-1936 (./Lovecrafts Fiction Volume IV, 1932-1936_v1.1.prc) Lovecraft, Howard Phillips: Lovecraft's Fiction Volume I, 1905-1925 (./Lovecrafts Fiction Volume I, 1905-1925_v1.1.prc) ./ThorneSmith: NOAUTHOR: NOTITLE (./ThorneSmith/Smith_Topper.prc) NOAUTHOR: NOTITLE (./ThorneSmith/Smith_The Night Life of the.prc) ./MarkTwain: NOAUTHOR: NOTITLE (./MarkTwain/Twain_The Innocents Abroad.prc) ./MurrayLeinster: Leinster, Murray: Long Ago Far Away (./MurrayLeinster/Long Ago Far Away.prc) ./AustinFreeman: Freeman, R. Austin: Dr. Thorndyke Omnibus Vol 1 (./AustinFreeman/Dr Thorndyke Omnibus Vol 1.prc) Freeman, R. Austin: Dr. Thorndyke Omnibus Vol 2 (./AustinFreeman/Dr Thorndyke Om: . . . |
![]() |
![]() |
![]() |
#390 | |
space cadet
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 334
Karma: 2999999
Join Date: Aug 2007
Location: Seattle area
Device: Rocket PRO, gen3, Pocketbook360
|
Quote:
I think I'd pipe the output to a text file and use it to build a spreadsheet. Other than LibraryThing, does anyone have other thoughts to how they keep track of large numbers of books, possibly of vastly different genre, in a way that would allow you to quickly narrow down what you're interested in reading out of your collection? To date, I've had all my ebooks in Rocket format, and just used the Rocket Librarian (which allowed my to move things around into different folders and subfolders). I'm looking for similar features. Roger |
|
![]() |
![]() |
![]() |
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 |