bugGNU Wget - Bugs: bug #55087, Please add parsing of picture...

 
 

bug #55087: Please add parsing of picture element sources to `wget -r`

Submitter:  None
Submitted:  Sat 24 Nov 2018 05:47:13 PM UTC
   
 
Category:  Feature Request Severity:  3 - Normal
Priority:  5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  rockdaboot
Originator Name:  Hugh Guiney Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  trunk
Operating System:  None Reproducibility:  Every Time
Fixed Release:  None Planned Release:  None
Regression:  None Work Required:  None
Patch Included:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 27 Jan 2024 06:55:40 PM UTC, comment #2: 

Thank you for the report.

This is fixed by commit 4100339a2ba8b0c0fdf36558222f05c27aa7808a.
It will be included in the next release.

Tim Ruehsen <rockdaboot>
Group administrator
Sun 25 Nov 2018 10:22:52 AM UTC, comment #1: 

Wget2 already supports it.

Eventually we backport it to Wget1.x.

Tim Ruehsen <rockdaboot>
Group administrator
Sat 24 Nov 2018 05:47:13 PM UTC, original submission:  

The HTML picture element provides a way to specify multiple image source candidates. This can be used to e.g. show SVGs on browsers that support it, and PNG fallbacks everywhere else:

<picture>
  <source type="image/svg+xml" srcset="logo.svg" />
  <img isrc="/img/logo.png" srcset="logo.png 1x, -email is unavailable- 2x, -email is unavailable- 3x" alt="logo" />
</picture>

If I invoke `wget -r` on a site with this markup however, wget only fetches the src and srcset, not the picture source candidates.

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 rockdaboot (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-01-27 rockdaboot StatusNone Fixed
        Assigned toNone rockdaboot
        Open/ClosedOpen Closed
        Release1.19.5 trunk
        Operating SystemMac OS None

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code