liveItem simple example

pull/324/head
Dave Jones 2022-01-09 20:33:50 -06:00
rodzic c78c82d171
commit ad7d37fcfa
1 zmienionych plików z 11 dodań i 1 usunięć

Wyświetl plik

@ -782,6 +782,17 @@ in a myriad of ways and is encouraged over `<enclosure>` where possible.
- **end** (required) A string representing an ISO8601 timestamp that denotes the time when the stream is intended to end.
### Examples
A very simple example:
```xml
<podcast:liveItem status="live" start="2021-09-26T07:30:00.000-0600" end="2021-09-26T09:30:00.000-0600">
<title>Podcasting 2.0 Live Show</title>
<guid>e32b4890-983b-4ce5-8b46-f2d6bc1d8819</guid>
<author>John Doe (john@example.com)</author>
<enclosure url="https://example.com/pc20/livestream" type="audio/mpeg" length="312" />
</podcast:liveItem>
```
A more complex example:
```xml
<podcast:liveItem
status="live"
@ -804,6 +815,5 @@ in a myriad of ways and is encouraged over `<enclosure>` where possible.
<podcast:alternateEnclosure type="audio/mpeg" length="312" default="true">
<podcast:source uri="https://example.com/pc20/livestream" />
</podcast:alternateEnclosure>
<enclosure url="https://example.com/pc20/livestream" type="audio/mpeg" length="312">
</podcast:liveItem>
```