kopia lustrzana https://github.com/Podcastindex-org/podcast-namespace
images
rodzic
d2062e3056
commit
20f01b97eb
33
README.md
33
README.md
|
@ -395,6 +395,39 @@ Example of a gateway series:
|
|||
</item>
|
||||
```
|
||||
|
||||
----
|
||||
|
||||
### **\<podcast:images>** - <small>[Discuss](https://github.com/Podcastindex-org/podcast-namespace/issues/43)</small>
|
||||
|
||||
<br>
|
||||
|
||||
<b>
|
||||
|
||||
```xml
|
||||
<podcast:images
|
||||
srcset="[image urls with sizing attached(string array)]"
|
||||
/>
|
||||
```
|
||||
|
||||
</b>
|
||||
|
||||
Channel or Item
|
||||
|
||||
(optional | single)
|
||||
|
||||
This tag, when present, allows for specifying many different images sizes in a compact way. 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.
|
||||
|
||||
Example of a single gateway:
|
||||
```xml
|
||||
<podcast:images
|
||||
srcset="https://example.com/images/ep1/pci_avatar-massive.jpg 1500w,
|
||||
https://example.com/images/ep1/pci_avatar-middle.jpg 600w,
|
||||
https://example.com/images/ep1/pci_avatar-small.jpg 300w,
|
||||
https://example.com/images/ep1/pci_avatar-tiny.jpg 150w"
|
||||
/>
|
||||
```
|
||||
|
||||
<br>
|
||||
|
||||
## Other Proposals
|
||||
|
|
Ładowanie…
Reference in New Issue