Discussion:
[Bug-wget] [bug #55087] Please add parsing of picture element sources to `wget -r`
anonymous
2018-11-24 17:47:14 UTC
Permalink
URL:
<https://savannah.gnu.org/bugs/?55087>

Summary: Please add parsing of picture element sources to
`wget -r`
Project: GNU Wget
Submitted by: None
Submitted on: 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: ***@gmail.com
Open/Closed: Open
Discussion Lock: Any
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

_______________________________________________________

Details:

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, ***@2x.png 2x, ***@3x.png
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.




_______________________________________________________

Reply to this item at:

<https://savannah.gnu.org/bugs/?55087>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
Tim Ruehsen
2018-11-25 10:22:52 UTC
Permalink
Follow-up Comment #1, bug #55087 (project wget):

Wget2 already supports it.

Eventually we backport it to Wget1.x.


_______________________________________________________

Reply to this item at:

<https://savannah.gnu.org/bugs/?55087>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Loading...