bugGNU Wget - Bugs: bug #52705, HTML assets embedding with...

 
 

bug #52705: HTML assets embedding with --page-requisites

Submitter:  None
Submitted:  Wed 20 Dec 2017 10:16:35 AM UTC
   
 
Category:  Feature Request Severity:  3 - Normal
Priority:  5 - Normal Status:  Wont Fix
Privacy:  Public Assigned to:  None
Originator Name:  Artur Shayhutvinov Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  None
Operating System:  None Reproducibility:  None
Fixed Release:  None Planned Release:  None
Regression:  None Work Required:  None
Patch Included:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 21 Dec 2017 12:59:46 PM UTC, comment #2: 

While MHTML was a convenient way to create snapshots of pages, sadly it was never properly standardized and most popular browsers no longer support it.

WARC has been almost standardized and is considered the de-facto way of archiving a web page / web site.

Wget supports saving into the WARC format. So you may want to look into using that.

Else, implementing MHTML should not be too hard. Just some postprocessing code in all the places where WARC data is stored. However, none of the developers currently have time to work on a new feature. So, if you could write a patch, we might review  and accept it.

Implementing this as a plugin for Wget would however be easier and cleaner.

Darshit Shah <darnir>
Group administrator
Thu 21 Dec 2017 12:15:39 PM UTC, comment #1: 

I believe that wget can save a page and all its assets into a directory structure, which can be archived in a single file in many ways.

Are there good, compatible ways to save all page assets embedded into one HTML file?

Dale Worley <worley>
Wed 20 Dec 2017 10:16:35 AM UTC, original submission:  

It would be great to have an option that enforces wget to save all page assets (images, styles, scripts) embedded in one html file.

Old proprietary MHTML format was very useful to save/share copies of articles from internet, but now it isn't supported by most browsers anymore. I was replacing this need with printing pages to PDF documents but it's not perfect way because some sites looks broken in print mode and others may loose important parts of content. Since HTML standard supports inline images the problem can be solved just through pretty simple postprocessing.

Sorry for bad English. Thanks.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by darnir (Posted a comment)
  • -email is unavailable- added by worley (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-11-13 darnir StatusNone Wont Fix
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code