Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror

Comment Reader mode is the main reason I use Firefox (Score 1) 35

Invoking it is the first step in converting web pages to eReader format.

From the Reader Mode view, do a Save Page complete. At the top level, you'll get an html page and a folder. You'll, wind up with a folder and an html page.

Now go into a terminal, cd lnto the folder that was just created. and move the html page page from 1 level up into it. Now the directory has the html file and maybe some pictures. Anything else is junk

Examine the html file in your favorite editor. Towards the beginning, you'll see a URL linking to the file aboutReader.css. Use wget to fetch a copy into this directory.

Now you'll want to tweak that css. Remove any @media print { lines and their matching }. (I use Geany as the editor. It makes this easy since Geany does bracket matching.) Save the tweaked css somewhere for reuse.

The last step is to modify the saved html. Replace the URL link to the abouttReader.css with an a href link to the tweaked aboutReader.css. Replace any src references in IMG links to point to the local images. (if you don't have any images in this directory, you'll have to go back to the original web page rendition and use Save Image to make local copies into this directory.) You may have to insert IMG tags in the html to place images correctly, and/or tweak existing IMG tabs to get rid of lazyloader options. Use Firefox to examine the local html file until it looks right.

If the website has multiple pages, edit them together appropriately. Usually there'll be some sore of delimiting html separating boilerplate from content.

Last, use Calibre's ebook-convert to generate an eBook from the html.

It's a lot harder to explain than it is to do.

Slashdot Top Deals

Adapt. Enjoy. Survive.

Working...