Hacker News new | ask | show | jobs
by psion 3276 days ago
I find PDF to be way more portable than most other document formats in terms of saving a document or for printing a document. Saving an HTML page has it's own set of problems, and if I share it I have to make sure to get all the images gathered as well. Word processor documents depend on system fonts, etc., and I cannot be sure that what my document depends on is installed on the other computer. With a PDF, I can be sure to get the necessary elements, be them font, images, etc.
1 comments

That's where EPUB / MOBI comes for.
EPUB is essentially an entire self-contained HTML web site in a ZIP file container.

Whatever you can do on a website, you can theoretically do in an EPUB. It might not display as expected when rendered by an e-reader or printed, however, which is why most EPUB files stay rather safe and unambitious in their CSS and JS.

I'm a bit disappointed that web browsers don't generally function as EPUB readers or include a "Save As... EPUB" option, but I can't seem to muster the motivation to write a Firefox add-on to do that. It wouldn't even be that difficult, as I have created EPUBs from filesystem directories using nothing more than 7Zip and a shell script.

There is a possibility that law firms would pay for a premium version that included a crawler and some form of cryptographic validation that could prove that the EPUB file was created at a certain time, from a certain IP address, and hasn't been altered since then. The idea being that trademark owner's lawyer takes a snapshot of a website selling knockoffs when sending the C&D letter, then another when filing the lawsuit, and the evidence for the complaint is preserved without having to rely on static snapshot images of the rendered website or third-party archive sites.