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
John Spurlock 2021-12-19 13:50:20 -06:00 zatwierdzone przez GitHub
rodzic 0026e787f5
commit 60c96bcaa2
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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
&nbsp; `<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"
/>
```
```