Live data from Hacker News

Saving web pages as PDFs in 2019, a real challenge

humaneinterface.net

1–10 of 20 posts

Re: Saving web pages as PDFs in 2019, a real challenge

#4
Firefox (Mac) is not even able to print this article into a PDF. It gives you only one page and the page ends with a half sentence with the letters cropped in the middle. One third of the text is missing.

I cant count the number of times I had to take screenshots to save crucial information from web pages.

Re: Saving web pages as PDFs in 2019, a real challenge

#5
post #3

>Saving pages as HTML is not ideal because a) you get an HTML file plus a folder, not very practical if you want to retrieve them later MHTML exists. https://en.wikipedia.org/wiki/MHTML

I don't know about other browsers but Safari doesn't support it.

Not only that but HTML/CSS/JavaScript has been a moving target over the last couple of decades, sometimes people need something with longevity.

Re: Saving web pages as PDFs in 2019, a real challenge

#6

Isn’t this what read mode is supposed to be for?

Reader view is (to my understanding) a heuristic that gives you the biggest wall of text of the article. If it works, it is nice. But in these cases you can usually also c&p.

However, it does not work if what you want to save is not a wall of text. Some table, some receipt, etc. It does not work for the Google search box, for facebook, or Amazon, just to give an example.

Re: Saving web pages as PDFs in 2019, a real challenge

#7
I gave up on the idea of reliably saving web pages in PDF.

I use now "SingleFile", a Firefox or Chrome extension that helps to save a complete page (with CSS, images, fonts, frames, etc.) as a single HTML file.

https://addons.mozilla.org/en-US/firefox/addon/single-file/

https://chrome.google.com/webstore/detail/singlefile/mpiodij...

https://github.com/gildas-lormeau/SingleFile

Re: Saving web pages as PDFs in 2019, a real challenge

#10
I had similar problem and wrote a browser addon: https://2read.net/ It converts websites to "readable" form and if you have IPFS running, it will also "pin" content locally. In most cases it works better than just printing an article. Here is an example with mentioned article: https://ipfs.io/ipfs/QmYPkcXgKLBye3L8M1VJWsGAb2mJXkJSEncqcSC...
Post reply on HN