3 ms·
For the longest time (5 or 6 years, way longer than Electron) I have been puzzled as to why there didn't exist a document format for offline websites/apps, that
by wodenokoto 10y ago
For the longest time (5 or 6 years, way longer than Electron) I have been puzzled as to why there didn't exist a document format for offline websites/apps, that are basically a zip file of HTML+CSS+images+javascript.
That way you could build simple, easily distributable multimedia documents and web apps.
- akeck 10y agoThe pandoc help section on "--self-contained" indicates that it can mostly handle your use case (minus the compression step).
- ktta 10y agoThis is close, but I'm thinking cut out the web tools part. Do we really have to depend on HTML and CSS (or other XML based format which needs a web browser to view) to make and edit a simple word document? I cringe thinking of the bloat that is introduced when using CSS and javascript to view text+pictures.
- zo1 10y agoI haven't used it in a while, but most browsers allow you to go File->Save, and it'll save everything in a contained folder structure that should be easily zippable. Including all linked images/CSS/JS, with their references fixed for local-consumption. That is, until requireJS/AMD/angular/react/backbone/etc and those sorts of things started polluting the web. Thanks you JS developers.
- TuringTest 10y agoIIRC Mozilla created such file format, and MS Explorer has its own proprietary version. They didn't caught on, though.
- TuringTest 10y agoIIRC Mozilla created such file format, and MS Explorer has its own proprietary version. They didn't caught on, though.
- criddell 10y agoIsn't that basically Microsoft's compiled html (chm) files?
- Bjartr 10y agoMHTML is an archive file of a webpage and its external resources.