[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

RENDERING HTML

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 14
Thread images: 4

File: convert.png (2MB, 1784x1104px) Image search: [Google]
convert.png
2MB, 1784x1104px
Hey /g/. What's the best tool for rendering a html page into a NICE READABLE EPUB OR PDF?

I'm specifically something like Readability:
https://github.com/luin/readability

Or the same presentation offered by Firefox Reader.


Ideally this would be done in one click; I CLICK -- newly rendered article gets fetched.


HALP
>>
File: Gandalf und Sarumann.jpg (52KB, 572x429px) Image search: [Google]
Gandalf und Sarumann.jpg
52KB, 572x429px
Up
>>
>>58449255
Just use print screen nigga
>>
some sort of plaintext add-on for firefox?

href only would be good, i dislike those autoplay videos on news pages
>>
File: s.jpg (80KB, 1239x802px) Image search: [Google]
s.jpg
80KB, 1239x802px
up
>>
> burning my internet on some click-roll revenue stream
> 1000:1 cost:profit ratio
> complains about losing money
>>
mfw you could probably do this with an iframe and a getinnerhtml()
>>
>>58449255
Safari has this feature on iOS and macOS, then you can print/share etc and save the page however you want.
>>
Vivaldi browser does this, click the little sybol in the bottom right and select the reader mode from the list.
>>
>>58449448
coincidentally this usually works with paywalls also LOL
>>
>>58449255
I don't have exactly what you're looking for but have two bookmarklets that you can just click on to make an article more readable:
Readable
javascript:(function()%7B_readableOptions=%7B'text_font':'quote(Palatino Linotype), Palatino, quote(Book Antigua), Georgia, serif','text_font_monospace':'quote(Courier New), Courier, monospace','text_font_header':'quote(Times New Roman), Times, serif','text_size':'18px','text_line_height':'1.5','box_width':'30em','color_text':'#282828','color_background':'#F5F5F5','color_links':'#0000FF','text_align':'normal','base':'blueprint','custom_css':''%7D;if(document.getElementsByTagName('body').length%3E0);else%7Breturn;%7Dif(window.$readable)%7Bif(window.$readable.bookmarkletTimer)%7Breturn;%7D%7Delse%7Bwindow.$readable=%7B%7D;%7Dwindow.$readable.bookmarkletTimer=true;window.$readable.options=_readableOptions;if(window.$readable.bookmarkletClicked)%7Bwindow.$readable.bookmarkletClicked();return;%7D_readableScript=document.createElement('script');_readableScript.setAttribute('src','http://readable-static.tastefulwords.com/target.js?rand='+encodeURIComponent(Math.random()));document.getElementsByTagName('body')[0].appendChild(_readableScript);%7D)()

Readability2
javascript:(function()%7Bx=document.createElement('SCRIPT');x.type='text/javascript';x.src='http://brettterpstra.com/share/readability.js?x='+(Math.random());document.getElementsByTagName('head')[0].appendChild(x);y=document.createElement('LINK');y.rel='stylesheet';y.href='http://brettterpstra.com/share/readability.css?x='+(Math.random());y.type='text/css';y.media='screen';document.getElementsByTagName('head')[0].appendChild(y);%7D)();
>>
Why doesn't firefox Reader work anymore? What happened?
>>
File: dicks.png (623KB, 2560x1440px) Image search: [Google]
dicks.png
623KB, 2560x1440px
Firefucks has a neat built-in reader view, though I never use it.
>>
>>58450363
Doesn't render images here.
Wuts wrong?
Thread posts: 14
Thread images: 4


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.