11-03-2006, 09:48 AM | #16 | |
Fanatic
Posts: 556
Karma: 1057213
Join Date: Sep 2006
Location: North Eastern U.S.
Device: Sony Reader
|
Quote:
In fact, the Sony Reader happily takes huge image-based LRFs, and has no problem displaying them. I've tried as large as 37MB, and they worked very well. Compared to the PDF viewer, the LRF viewer in the Reader has been debugged the hell out of, I guess. |
|
11-03-2006, 11:39 AM | #17 | |
Wizard
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
Quote:
Also updated lrs2lrf which sets the specific scramble key (0xFE00) checked by LRFCreator.dll. |
|
Advert | |
|
11-06-2006, 12:26 PM | #18 |
Addict
Posts: 205
Karma: 317
Join Date: Oct 2006
Location: England
Device: Sony PRS-505, iPad, Kindle 3
|
igorsk, nice work! Working well for me with the Gutenberg HTML books but some of the later ones (e.g. Etext 19694) crash HTML2LRF .
I've looked at the DesignHorizontal.lrs (decompiled with lrf2lrs) but haven't got a clue what it means. Is there anyway to force page breaks in the LRF from the HTML pages? |
11-06-2006, 05:58 PM | #19 | |
Wizard
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
Quote:
|
|
11-08-2006, 11:33 AM | #20 |
Junior Member
Posts: 8
Karma: 10
Join Date: Nov 2006
Device: PRS-500
|
igorsk - Fantastic script! It's exactly what i've been searching for since i got the ebook. I've been writing perl scripts to scrap online mags/blogs all over the place and use your script to convert them, then do a daily sync to the reader. Seems to be working great. Thanks a bunch!!!
scotty1024 - been die'n to try out your prog, but it's been a while since i've dived into java. It looks like i'm missing some libs (when i executed the program). Do i need to download those 2 libs you mentioned in order to get it to work? |
Advert | |
|
11-09-2006, 10:37 PM | #21 | |
Enthusiast
Posts: 35
Karma: 12
Join Date: Oct 2006
Device: Amazon Kindle, Sony Reader
|
Quote:
I'm curious to try your BBeBook program but I've got zero Java skills. A friend suggests you might have a batch file that compiles or starts the program. Or perhaps a readme file. Do you? Thanks! -Neil |
|
11-10-2006, 10:29 AM | #22 |
Addict
Posts: 205
Karma: 317
Join Date: Oct 2006
Location: England
Device: Sony PRS-505, iPad, Kindle 3
|
igorsk, I've written some perl wrapper scripts to feed HTML books into your HTML2LRF, mostly for Gutenberg HTML books, the thread is here
Is there anyway to stop HTML2LRF from generating the front title page? Also when running HTML2LRF you have to be in its directory for it to work otherwise it cannot find the DesignHorizontal.lrf file, noticed some code in the HTML2LRF.cpp to handle this but then later it is ignored and just looks in the current directory. |
11-10-2006, 11:28 AM | #23 |
Wizard
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
As far as I can see, addition of the title page is hardcoded in LBParser.dll. LRFCreator.dll gives more flexibility but you'd have to do a lot of manual work, like parsing the HTML...
And thanks for noticing the bug, I'll fix it. |
11-17-2006, 02:32 PM | #24 |
Gadget Force®
Posts: 705
Karma: 2733
Join Date: Jun 2006
Location: The Netherlands
Device: Sony PRS-300 + Cybook with funny screen :P
|
[QUOTE=igorsk]
Usage: HTML2LRF [-t "Book title"] [-a "Book Author"] [-o output_filename] <url|path.html> [<url|path.html>...] Defaults are "Test Book", "Unknown Author", and "test.lrf". Can somebody please tell me how to format the command exactly if I have: A book ready at: C:\Documents and Settings\Bobby\Desktop\Cell.html The program is here: C:\Documents and Settings\Bobby\Desktop\HTML2LRF\bin\ Thanks! I tried to do it but I get a runtime error: |
11-17-2006, 06:20 PM | #25 |
Wizard
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
Something like this should work:
c: cd "C:\Documents and Settings\Bobby\Desktop\HTML2LRF\bin\" HTML2LRF "C:\Documents and Settings\Bobby\Desktop\Cell.html" |
11-17-2006, 06:50 PM | #26 | |
Gadget Force®
Posts: 705
Karma: 2733
Join Date: Jun 2006
Location: The Netherlands
Device: Sony PRS-300 + Cybook with funny screen :P
|
Quote:
Thanks igorsk but I still get the runtime error. Will try it on another laptop tomorrow. |
|
11-17-2006, 07:12 PM | #27 |
Wizard
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
Then I guess it could be something to do with the HTML file... how big is it?
|
11-17-2006, 07:17 PM | #28 |
Gadget Force®
Posts: 705
Karma: 2733
Join Date: Jun 2006
Location: The Netherlands
Device: Sony PRS-300 + Cybook with funny screen :P
|
It's 0.8Mb. I tried different files all around the same file size.
|
11-18-2006, 06:44 AM | #29 | |
Addict
Posts: 205
Karma: 317
Join Date: Oct 2006
Location: England
Device: Sony PRS-505, iPad, Kindle 3
|
Quote:
|
|
11-18-2006, 06:50 AM | #30 |
Gadget Force®
Posts: 705
Karma: 2733
Join Date: Jun 2006
Location: The Netherlands
Device: Sony PRS-300 + Cybook with funny screen :P
|
Thanks FangornUK! I will give it a try.
EDIT: It works! Only thing is that I would like to adjust the margins and textsize but the DesignHorizontal.lrf/lrs doesn't make sense to me what I need to change. Man, if only Sony would enable pictures in RTF. Last edited by diabloNL; 11-19-2006 at 07:43 AM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
HTML2LRF and inline pictures | pepak | Calibre | 12 | 02-04-2009 12:12 PM |
chaining web2disk to html2lrf | beowulf573 | Calibre | 2 | 11-19-2008 04:48 PM |
Bookdesigner problem vs. html2lrf | alophind | Sony Reader | 7 | 02-04-2008 12:20 PM |
PRS-500 Need help with Html2Lrf (screen attached) | alophind | Sony Reader Dev Corner | 14 | 02-01-2008 03:56 AM |
html2lrf vs rtf2lrf | paspas | Sony Reader | 0 | 11-18-2007 02:35 PM |