3 ms·
Actually, what is supposed to be interesting and innovative in SingleFileZ is the fact that it produces self-extracting valid zip files in the form of HTML file
by gildas 7y ago
Actually, what is supposed to be interesting and innovative in SingleFileZ is the fact that it produces self-extracting valid zip files in the form of HTML files. Thus, they can be read natively by any modern browser that supports JavaScript.
- burtonator 7y agoAh. Interesting. That's a good innovation. How do you determine the domain/URL? I guess it's just the URL of the source? What would you do if your HTML extraction script had a bug in the pre-compiled form? I guess you're just stuck? I guess that's not the end of the world. The EPUB form in a future version of Polar would at least require an EPUB reader which makes it a bit heavier.
- gildas 7y agoSingleFileZ creates its own paths to reference all the resources of the page in the zip. This prevents any invalid path issues. The URL of the resource is stored as a comment for each entry in the zip though (I'm unsure I'm really answering to your question). If there is a bug in the extraction script, there are some chances you can still unzip the file.