kopia lustrzana https://github.com/Podcastindex-org/podcast-namespace
Clarify podcast:images srcset url requirements
Specify that absolute urls for the `srcset` attribute are required for `<podcast:images>`, even though the HTML5 `srcset` attribute allows relative urls.pull/319/head
rodzic
0026e787f5
commit
60c96bcaa2
|
@ -728,7 +728,7 @@ Example use for "music":
|
|||
`<podcast:images>`<br><br>
|
||||
This tag, when present, allows for specifying many different image sizes in a compact way at either the episode or channel level. The syntax is borrowed from
|
||||
the HTML5 [srcset](https://html.spec.whatwg.org/multipage/images.html#srcset-attributes) syntax. It allows for describing multiple image sources with width and
|
||||
pixel hints directly in the attribute.
|
||||
pixel hints directly in the attribute. Although the HTML5 `srcset` attribute allows relative urls, absolute urls are required in this tag - since the feed url may not represent an appropriate base url for relativization.
|
||||
|
||||
### Parent
|
||||
`<channel>` or `<item>`
|
||||
|
@ -749,4 +749,4 @@ Example of specifying four different image sizes:
|
|||
https://example.com/images/ep1/pci_avatar-small.jpg 300w,
|
||||
https://example.com/images/ep1/pci_avatar-tiny.jpg 150w"
|
||||
/>
|
||||
```
|
||||
```
|
||||
|
|
Ładowanie…
Reference in New Issue