Open Bug 487658 Opened 12 years ago Updated 7 years ago

When saving page, add timestamp in comment


(Firefox :: File Handling, enhancement, P5)






(Reporter: angel_blue_co2004, Unassigned)


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/2009022800 SUSE/3.0.7-1.1.6 Firefox/3.0.7 Ubiquity/0.1.3
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/2009022800 SUSE/3.0.7-1.1.6 Firefox/3.0.7 Ubiquity/0.1.3

It would be useful if, when saving a page as "complete", Firefox saved the date/time saved in a comment in the code in ISO 8601 format.

This would help the user determine when exactly the file was created if it gets modified. It also would set a definite youngest possible date for the contents of the file, most pages don't include a date in their <META> tags, and many have no other dates on them, so including the date would be a way to date the content to no later than when the page was saved.

Reproducible: Always
Confirming. All/all. Trunk. We should do this for both Save as Web Page, complete, and Save as HTML only. The timestamp should look something like this:

This file saved at (ISO 8601 format with time zone designator).
Ever confirmed: true
OS: Linux → All
Hardware: x86 → All
Version: unspecified → Trunk
Priority: -- → P5
Target Milestone: --- → Future
Mozilla Archive Format, or MAF, is a Firefox extension that enables your browser to save, load and manage web archives.

Web Archive, MAFF zipped

    This option allows you to save one or more pages inside a single Mozilla Archive Format File, or MAFF archive. This type of archive is compressed using the universal, cross-platform ZIP specification.

    You can open MAFF archives again in the browser (and you get some commodities like the ability to view the original location the page was saved from), or you can inspect and extract the archive's contents, including all the embedded media files, without the browser using any ordinary ZIP utility.

    The Mozilla Archive Format extension generates MAFF archives using the fast, native ZIP implementation embedded in the Mozilla browser. The resulting files are usually smaller than the equivalent MHTML archives, and opening this kind of files is faster.

Web Archive, MHTML

    This option allows you to save a single page inside a MIME HTML file, or MHTML archive. This format is also known as MHT, and is the web archive format used by Internet Explorer.

    MHTML files are encoded, not compressed. The encoding usually increases the size of the saved media files, compared to the original. At present, the contents of an MHTML archive can be decoded only by a limited number of web browsers, or using specific utilities. However, this archive format can be exchanged more easily with Internet Explorer.

Additional information saved in web archives

When you save a page as a web archive, the following additional information about the save operation is stored in the archive:

    * The original location the page was saved from. This normally matches what is displayed in the address bar of the browser.
    * The date and time of the save operation.
    * The title of the page, if present.
    * The character set in effect at the time the page was saved. If the character set was changed manually using the View » Character Encoding menu item of Firefox, the custom choice is remembered. This allows the document to be displayed correctly when it is reopened from the archive, even if it contains internationalized characters.

If you resave an already archived page to a different file, the save time and location from the original archive are preserved.
You need to log in before you can comment on or make changes to this bug.