kopia lustrzana https://github.com/Podcastindex-org/podcast-namespace
liveItem simple example
rodzic
c78c82d171
commit
ad7d37fcfa
12
docs/1.0.md
12
docs/1.0.md
|
@ -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.
|
- **end** (required) A string representing an ISO8601 timestamp that denotes the time when the stream is intended to end.
|
||||||
|
|
||||||
### Examples
|
### 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
|
```xml
|
||||||
<podcast:liveItem
|
<podcast:liveItem
|
||||||
status="live"
|
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:alternateEnclosure type="audio/mpeg" length="312" default="true">
|
||||||
<podcast:source uri="https://example.com/pc20/livestream" />
|
<podcast:source uri="https://example.com/pc20/livestream" />
|
||||||
</podcast:alternateEnclosure>
|
</podcast:alternateEnclosure>
|
||||||
<enclosure url="https://example.com/pc20/livestream" type="audio/mpeg" length="312">
|
|
||||||
</podcast:liveItem>
|
</podcast:liveItem>
|
||||||
```
|
```
|
Ładowanie…
Reference in New Issue