Thread: web2lrf
View Single Post
Old 07-13-2007, 07:44 PM   #1
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,416
Karma: 4961459
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
web2lrf

Building on my work with web2disk, here's web2lrf (part of libprs500 v0.3.70).

It directly converts websites into LRF files. More than that it has support for profiles that allow it to preprocess websites to generate better looking LRF files. Right now it knows about the New York Times, The BBC, The Economist and Newsweek (see attached demos).

To use it with a profile:
Code:
web2lrf profilename
For e.g. for newsweek
Code:
web2lrf newsweek
For The New York Times
Code:
web2lrf --username myusername --password mypassword nytimes
To create your own profile and use it with web2lrf visit
https://libprs500.kovidgoyal.net/wiki/UserProfiles for instructions and examples.

To use it with an arbitrary website (it wont do any preprocessing)
Code:
web2lrf --url http://mywebsite.com default
Enjoy!
Attached Files
File Type: lrf Newsweek [14 Jul 2007].lrf (2.42 MB, 1101 views)
File Type: lrf The New York Times [Thu, 16 Aug, 2007].lrf (1.21 MB, 1121 views)
File Type: lrf The BBC [Sun, 19 Aug, 2007].lrf (463.4 KB, 939 views)
File Type: lrf The Economist [27 Nov 2007].lrf (3.45 MB, 877 views)

Last edited by kovidgoyal; 11-28-2007 at 01:23 AM.
kovidgoyal is offline   Reply With Quote