Method and system for packing and unpacking web pages
Abstract
A method for packing the multiple files and folders of an HTML Web page into a single MHTML file. The packing process begins by determining whether the user has write privileges to the current location. If not, the user is prompted to save the MHTML file in an alternate location (e.g., the desktop). If the user has write privileges to the current location, the process opens the main HTML Web page and searches for supporting resource files. In short, the supporting resource files are identified by searching for known, common resource file references in the main HTML source file. When the resource file references have been identified, the process packages the main HTML document and all of the supporting resource files into a single file in MHTML format. The unpacking process opens the MHTML file and identifies the main HTML document portion, as well as the portions of the MHTML file containing the supporting resource files. Once all of the components have been identified, the Web page's folder structure is determined by referring to the content location field contained in each separate portion of the MHTML file. The individual MHTML components are converted into files and the mai
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for packing a page as a single file, the method comprising: receiving an indication that a user has selected through a shell or file dialog a page representation corresponding to a main markup language document of the page, and in response to receiving the indication, displaying a selectable representation associated with packaging the page into a single file; receiving an indication that the user has selected the representation associated with packaging the page into a single file; in response to receiving the selection associated with packaging the page, making a determination as to
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (2)
- "GNU Tar: an archiver tool," <http://sunsite.ualberta.ca/Documentation/Gnu/tar-1.13/html-chapter/tar-toc.html>, Dec. 12, 1999.
- J. Palme et al., "MIME Encapsulation of Aggregate Documents, Such as HTML (MHTML)," Mar. 1999, Network Working Group, RFC 2557, pp. 1-27.