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 06-02-2008, 05:54 PM   #61
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,352
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Because of the technical limitations of the LRF format html2lrf doesn't support the conversion of images inside links (<img> tags inside <a> tags)
kovidgoyal is offline   Reply With Quote
Old 06-02-2008, 06:19 PM   #62
jotheman
Sleeper.
jotheman began at the beginning.
 
jotheman's Avatar
 
Posts: 108
Karma: 10
Join Date: Dec 2007
Device: Hanlin V3 (BeBook) + PRS 500
Unhappy Oh.

So html won't do it, neither will lrf. And pdfs are a bit cumbersome, I give you that.

So what to do? Will there ever be a html2epub converter? Maybe there already is one that I missed...

Why is it that one question always leads to more questions?


jo.
jotheman is offline   Reply With Quote
 
Enthusiast
Old 06-02-2008, 06:21 PM   #63
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,352
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Well I can always code a workaround that will extract and display the images outside <a> tags, but looking at your link, that's not the reason the images don't download, it's some funny URL redirection tricks the server plays that are causing wed2disk to not download the actual images.

EDIT: To be precise it's the use of the <base> tag that web2disk doesn't currently support

Last edited by kovidgoyal; 06-02-2008 at 06:24 PM.
kovidgoyal is offline   Reply With Quote
Old 06-02-2008, 06:31 PM   #64
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,352
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
And I'm happy to say the next release of calibre will support the <base> tag
kovidgoyal is offline   Reply With Quote
Old 06-02-2008, 10:00 PM   #65
beowulf573
Addict
beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.
 
beowulf573's Avatar
 
Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
I just put up a quick update to fix a few issues under NT. If you tried under Firefox 3.0 to update and it failed, please try again, I didn't sign the rdf file properly and 3.0 is very picky about such things.

I'll probably not be able to work on this any until the weekend, feel free to post messages about any problems and I'll catch up when I can.
beowulf573 is offline   Reply With Quote
Old 06-03-2008, 12:01 PM   #66
astrodad
Guru
astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.astrodad ought to be getting tired of karma fortunes by now.
 
astrodad's Avatar
 
Posts: 942
Karma: 567366
Join Date: Dec 2007
Device: Kindle Paperwhite 1, iPad, iPhone 5
Quote:
Originally Posted by kovidgoyal View Post
--override-css "img {display:none}"
Sweet.
astrodad is offline   Reply With Quote
Old 06-03-2008, 05:21 PM   #67
beowulf573
Addict
beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.
 
beowulf573's Avatar
 
Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
Just FYI, I played around during lunch trying to fix an annoying bug without success. Certain characters in the metadata is not being passed correctly to web2lrf. The most common seems to be right single quote characters like U+2019, but I've also seen it while trying to load international news sites.

If you experience this, usually you'll see an exception thrown while adding the file to calibre, recreate the file again but use the create method and manually set the title. I'll keep poking on this as time permits and see if I can come up with a reliable solution.
beowulf573 is offline   Reply With Quote
Old 06-03-2008, 09:33 PM   #68
beowulf573
Addict
beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.
 
beowulf573's Avatar
 
Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
OK, I couldn't let it go and my wife met a friend for dinner, so I was able to fix the issue regarding unicode characters in the title and author. I haven't yet fixed it in other fields but will with next release. This release is 0.3.3.

Now I'm off for a beer.
beowulf573 is offline   Reply With Quote
Old 06-05-2008, 07:14 AM   #69
jotheman
Sleeper.
jotheman began at the beginning.
 
jotheman's Avatar
 
Posts: 108
Karma: 10
Join Date: Dec 2007
Device: Hanlin V3 (BeBook) + PRS 500
Feature request

Dear beowulf573,

how about a "convert selected text" feature?

In FF 3 (RC 2) it is possible to select parts of a website and have FF show the html source of just that selection. Maybe it would be possible to add a context menu for converting just that part into an eBook?

Cheers,


jo.

Last edited by jotheman; 06-05-2008 at 05:23 PM. Reason: spelling
jotheman is offline   Reply With Quote
Old 06-05-2008, 08:16 AM   #70
dsuden
Connoisseur
dsuden doesn't litterdsuden doesn't litter
 
Posts: 73
Karma: 120
Join Date: Apr 2008
Device: Sony Reader
Convert Selected Text

Quote:
Originally Posted by jotheman View Post
Dear beowulf573,

how about a "convert selected text" feature?

In FF 3 (RC 2) it ist possible to select parts of a website and have FF show the html source of just that selection. Maybe it would be possible to add a context menu for converting just that part into an eBook?

Cheers,


jo.
I agree, this would be a terrific feature!

Dane
dsuden is offline   Reply With Quote
Old 06-05-2008, 04:11 PM   #71
beowulf573
Addict
beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.
 
beowulf573's Avatar
 
Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
That's certainly something I can look at, but it won't be as quick as the initial version. I have some personal issues to attend to that will keep me busy through the weekend. After that I can see what can be done. Right now I'm not dealing with the contents of the site at all, I'm simply passing the URL and other parameters to web2lrf and letting it do it's magic.

To do the selection conversion, I'd have to save the selection to a temp file, add missing tags to create well formed html, and then run html2lrf on it. Not impossibly, but a bit more work than the initial version. I'll try to find a few hours this weekend to throw something together, but it may not be for a bit.
beowulf573 is offline   Reply With Quote
Old 06-05-2008, 04:26 PM   #72
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,352
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
html2lrf is pretty tolerant of malformed HTML so you shouldn't have to work too hard to create a good HTML file
kovidgoyal is offline   Reply With Quote
Old 06-05-2008, 06:22 PM   #73
jotheman
Sleeper.
jotheman began at the beginning.
 
jotheman's Avatar
 
Posts: 108
Karma: 10
Join Date: Dec 2007
Device: Hanlin V3 (BeBook) + PRS 500
Exclamation filename problems

Hi,

I just noticed that files BookIt creates from chinese websites have broken filenames (see attatched pics). Metadata is OK, calibre displays the right names (screenshots taken from the finder and from calibres list of files in the library after importing them). Not the greatest images, but you'll get the idea.

Probably an encoding problem.


Thanks for giving some thought to my earlier suggestion! "convert selection" would really be a great feature.

Cheers,


jo.
Attached Thumbnails
Click image for larger version

Name:	Screen  2.jpg
Views:	181
Size:	13.7 KB
ID:	13275   Click image for larger version

Name:	Screen  3.jpg
Views:	171
Size:	20.7 KB
ID:	13276  
jotheman is offline   Reply With Quote
Old 06-06-2008, 08:59 AM   #74
beowulf573
Addict
beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.beowulf573 once ate a cherry pie in a record 7 seconds.
 
beowulf573's Avatar
 
Posts: 208
Karma: 1523
Join Date: Jul 2007
Location: Houston,TX
Device: PRS-T1
The filename issue is because I wasn't sure at first what are valid characters to use in filenames. I wanted to be conservative at first. Now that the big stuff is out of the way I'll revisit it this weekend.
beowulf573 is offline   Reply With Quote
Old 06-06-2008, 12:07 PM   #75
=X=
Wizard
=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.
 
=X='s Avatar
 
Posts: 3,672
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
Awsome Plugin!!

Hi Beowulf,

The tool is great and works excellent!

I have a request. Right now you have a dialog box that opens to ask the user if he wishes to create an eBook. Can you change that dialog box to open up something similar to the "Meta-Data" page where the user can enter the data temporarily for that web site. Also if you could add the recursion level to that page.


BUGS NOTICED
-The & is saved as &amp;
-Complains about Calibe being open. ( I belive you fixed this issue on an update)
- I noticed the PROXY for FireFox is not used. It uses IE. I belive this is an issue with web2lrf but it would be nice of you could use FireFox's Proxy instead.
=X= 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
New Plugin Type Idea: Library Plugin cgranade Plugins 3 09-15-2010 12:11 PM
BookIt and 64 bit jlbfoot LRF 0 03-09-2009 03:24 PM
Idea for a "Bookit" Plugin -- Maybe Kovid? dsuden Sony Reader 55 01-03-2009 11:22 AM
Great new Idea! Bookit button =X= Feedback 0 10-27-2008 01:49 PM
Making MobiRead Threads BookIt Friendly =X= Feedback 3 08-11-2008 11:24 PM


All times are GMT -4. The time now is 07:38 PM.


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