Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Sony Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 05-17-2007, 10:01 AM   #31
FangornUK
Addict
FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.
 
FangornUK's Avatar
 
Posts: 205
Karma: 317
Join Date: Oct 2006
Location: England
Device: Sony PRS-505, iPad, Kindle 3
Update:
  • You can now just specify the etext number to download, it first tries to download the HTML version and then the text version. (text versions require Gutenmark to be installed)
  • Better title and author detection on text files.
  • Better error detection on ZIP download.
FangornUK is offline   Reply With Quote
Old 05-18-2007, 06:46 AM   #32
FangornUK
Addict
FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.
 
FangornUK's Avatar
 
Posts: 205
Karma: 317
Join Date: Oct 2006
Location: England
Device: Sony PRS-505, iPad, Kindle 3
Update:
  • Better handling of incorrectly formatted <PRE> sections
  • Fix to TITLE and AUTHOR detection for incorrectly formatted HTML etexts
FangornUK is offline   Reply With Quote
Advert
Old 05-21-2007, 06:02 PM   #33
FangornUK
Addict
FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.
 
FangornUK's Avatar
 
Posts: 205
Karma: 317
Join Date: Oct 2006
Location: England
Device: Sony PRS-505, iPad, Kindle 3
Update: Fix LRF output filename for HTML2LRF. Shows filesize it is downloading. Made filepaths more Operating System independent. Forces no-rotation for HTML2LRF
FangornUK is offline   Reply With Quote
Old 05-29-2007, 11:40 AM   #34
FangornUK
Addict
FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.
 
FangornUK's Avatar
 
Posts: 205
Karma: 317
Join Date: Oct 2006
Location: England
Device: Sony PRS-505, iPad, Kindle 3
Update: Fix for latest HTML2LRF page breaks behaviour
FangornUK is offline   Reply With Quote
Old 01-08-2008, 11:46 AM   #35
FangornUK
Addict
FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.
 
FangornUK's Avatar
 
Posts: 205
Karma: 317
Join Date: Oct 2006
Location: England
Device: Sony PRS-505, iPad, Kindle 3
Update - fix for latest libprs500 command line option changes
FangornUK is offline   Reply With Quote
Advert
Old 02-10-2008, 04:05 PM   #36
JohnB
Enthusiast
JohnB began at the beginning.
 
Posts: 30
Karma: 18
Join Date: Nov 2006
Device: Sony PRS500, iPAQ 4700, Rocket Ebook, BlackBerry
Any idea what this error indicates?

C:\Users\John\EBooks\gutlrf>gutlrf.pl http://www.gutenberg.org/dirs/etext00/notra10h.zip

Extracting files...
Archive missing directory, correcting...
Cleaning HTML...
Wrote cleaned HTML "C:\Users\John\AppData\Local\Temp\notra10h\new.htm "
Converting to BBeB...
Processing new.htm
Parsing HTML...
Converting to BBeB...
Traceback (most recent call last):
File "convert_from.py", line 1844, in <module>
File "convert_from.py", line 1838, in main
File "convert_from.py", line 1744, in process_file
File "convert_from.py", line 259, in __init__
File "convert_from.py", line 367, in add_file
File "convert_from.py", line 489, in parse_file
libprs500.ebooks.ConversionError: new.htm does not seem to have any content
Bad file descriptor at C:\Users\John\EBooks\gutlrf\gutlrf.pl line 260.


I tried tidy on all the files also, which elicited a few warnings, but that didn't change things.

Thanks, JohnB
JohnB is offline   Reply With Quote
Old 02-10-2008, 05:12 PM   #37
FangornUK
Addict
FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.
 
FangornUK's Avatar
 
Posts: 205
Karma: 317
Join Date: Oct 2006
Location: England
Device: Sony PRS-505, iPad, Kindle 3
It's one of those old badly formatted Gutenberg files that hasn't been converted to the new standard file layout. You'll need to use the text file or convert the HTML manually.
FangornUK is offline   Reply With Quote
Old 02-15-2008, 10:09 AM   #38
JohnB
Enthusiast
JohnB began at the beginning.
 
Posts: 30
Karma: 18
Join Date: Nov 2006
Device: Sony PRS500, iPAQ 4700, Rocket Ebook, BlackBerry
Quote:
Originally Posted by FangornUK View Post
It's one of those old badly formatted Gutenberg files that hasn't been converted to the new standard file layout. You'll need to use the text file or convert the HTML manually.
Ah, that's too bad. By convert the HTML manually, do you mean to a form that gutlrf can work with? If so, what would I need to do?
I'm trying to preserve the illustrations that exist in the HTML version (that aren't in the text version, of course).
Thanks
JohnB is offline   Reply With Quote
Old 02-15-2008, 10:40 AM   #39
FangornUK
Addict
FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.
 
FangornUK's Avatar
 
Posts: 205
Karma: 317
Join Date: Oct 2006
Location: England
Device: Sony PRS-505, iPad, Kindle 3
Looking at the ZIP file, it uses separate chapter files (very non-standard for Gutenberg) so it won't work with gutlrf. You could manually convert it using libprs500's html2lrf, I think that can handle separate html files into one LRF.
FangornUK is offline   Reply With Quote
Old 02-15-2008, 02:18 PM   #40
waden34
Junior Member
waden34 began at the beginning.
 
waden34's Avatar
 
Posts: 7
Karma: 10
Join Date: Jan 2008
Device: PRS-505
I can't believe I didn't see this utility sooner. I was very disheartened when I saw all of my Gutenberg downloads had the crazy naming scheme so they've just been sitting in an archive. Thanks for doing all the hard work!!!
waden34 is offline   Reply With Quote
Old 02-27-2008, 11:46 AM   #41
Candyjet
Junior Member
Candyjet began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2008
Device: Sony prs 505
Not Recognised

When I try to convert a Gutenberg book, either from the site direct or from a zip file saved on my hard disk I get;

"Converting text book...
'gutenmark' is not recognised as an internal or external command, operable program or batch file.

No such file or directory at M:\mydownloads\gutlrf\gutlrf.pl line 167."

(obviously m: mydownloads etc is where I have the gutlrf file)

Any ideas what is going wrong?

Thanks very much,

CJ
Candyjet is offline   Reply With Quote
Old 02-27-2008, 12:01 PM   #42
Candyjet
Junior Member
Candyjet began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2008
Device: Sony prs 505
Bit dopey here

Have messed around some more and suspect I have been trying to convert straight txt files rather than html ones. Am I right?

If so, is there a way of converting Gutenberg txt files which are not available as html?

Just new to the sony reader, so be gentle.

Thanks

CJ
Candyjet is offline   Reply With Quote
Old 02-27-2008, 12:17 PM   #43
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 56,990
Karma: 52002826
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
if you are converting straight text, Book Designer is a good tool to help you convert to LRF. You'll need to get the Book Designer installer, the update, and the Book Cleaner files.

Book Designer and update: https://www.mobileread.com/forums/showthread.php?t=11786

Book Cleaner files: https://www.mobileread.com/forums/showthread.php?t=11786
JSWolf is offline   Reply With Quote
Old 02-27-2008, 01:58 PM   #44
FangornUK
Addict
FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.FangornUK has a complete set of Star Wars action figures.
 
FangornUK's Avatar
 
Posts: 205
Karma: 317
Join Date: Oct 2006
Location: England
Device: Sony PRS-505, iPad, Kindle 3
Quote:
Originally Posted by Candyjet View Post
If so, is there a way of converting Gutenberg txt files which are not available as html?
CJ
Always go for the HTML ones if you can. It looks like that book only has a text version so gutlrf tries to use Gutenmark to convert it. All you need to do is download Gutenmark.exe and make sure it is in your PATH (i.e. "set PATH"), you could stick it in c:\windows\ if your not sure what I'm on about.

Hey, we're all gentle-(wo)men on these forums.
FangornUK is offline   Reply With Quote
Old 02-29-2008, 10:08 AM   #45
JohnB
Enthusiast
JohnB began at the beginning.
 
Posts: 30
Karma: 18
Join Date: Nov 2006
Device: Sony PRS500, iPAQ 4700, Rocket Ebook, BlackBerry
Found the problem

Quote:
Originally Posted by JohnB View Post
C:\Users\John\EBooks\gutlrf>gutlrf.pl http://www.gutenberg.org/dirs/etext00/notra10h.zip

Extracting files...
Archive missing directory, correcting...
Cleaning HTML...
Wrote cleaned HTML "C:\Users\John\AppData\Local\Temp\notra10h\new.htm "
Converting to BBeB...
Processing new.htm
Parsing HTML...
Converting to BBeB...
Traceback (most recent call last):
File "convert_from.py", line 1844, in <module>
File "convert_from.py", line 1838, in main
File "convert_from.py", line 1744, in process_file
File "convert_from.py", line 259, in __init__
File "convert_from.py", line 367, in add_file
File "convert_from.py", line 489, in parse_file
libprs500.ebooks.ConversionError: new.htm does not seem to have any content
Bad file descriptor at C:\Users\John\EBooks\gutlrf\gutlrf.pl line 260.


I tried tidy on all the files also, which elicited a few warnings, but that didn't change things.

Thanks, JohnB
I found the problem with the book in the link above - the contents.html page has an error in that a comment (<!-- -->) wasn't formatted properly. Hooray - it now converts! I guess I should learn how to submit corrections to Gutenberg...

I'm liking gutlrf.
JohnB is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML from Project Gutenberg? Rcartes Sony Reader 10 04-21-2009 07:26 PM
html to bbeb converter ? bugsbunny14 Sony Reader 10 11-07-2008 10:50 PM
Book Processor - Anything to LRF and HTML converter LittleDragon Sony Reader 11 05-13-2008 04:31 PM
JafSoft AscToRTF - A GREAT Gutenberg Book/Ascii/RTF converter Prince Bertram Sony Reader 11 11-25-2006 06:29 AM
Mazarin - Gutenberg in HTML Alexander Turcic Deals and Resources (No Self-Promotion or Affiliate Links) 0 05-25-2004 03:11 AM


All times are GMT -4. The time now is 02:27 AM.


MobileRead.com is a privately owned, operated and funded community.