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:  None
Privacy:  Public Assigned to:  None
Originator Name:  Hugh Guiney Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  1.19.5
Operating System:  Mac OS 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)
   

Comment Type & Canned Response:
       

 

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>
Project 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)
  •  

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.9