kopia lustrzana https://github.com/Podcastindex-org/podcast-namespace
enclosure allowed
rodzic
ffa0f095be
commit
32f1f96104
|
@ -757,7 +757,8 @@ Example of specifying four different image sizes:
|
|||
## Live Item
|
||||
`<podcast:liveItem>`<br><br>
|
||||
The `liveItem` tag is used for a feed to deliver a live stream to podcast apps. It takes the same format as a standard `<item>` episode tag, and all tags that are allowed inside of
|
||||
a normal `<item>` tag are also allowed as children of `<podcast:liveItem>` except for `<enclosure>` which is supplanted in this context with `<podcast:alternateEnclosure>`.
|
||||
a normal `<item>` tag are also allowed as children of `<podcast:liveItem>`. Podcast apps should support both `<enclosure>` and `<podcast:alternateEnclosure>` for greatest compatibility.
|
||||
|
||||
The `start` and `end` attributes denote when the live stream "should" start and end. But, real life dictates that those times might not be adhered to. Apps are therefore encouraged
|
||||
not to rely solely on those times as anything more than an approximation. The canonical way to know if a stream has started is with the `status` attribute. If `status` is "live" then
|
||||
the stream has started.
|
||||
|
@ -772,8 +773,8 @@ apps know.
|
|||
Multiple
|
||||
|
||||
### Node Value
|
||||
All tags that are valid inside of a standard `<item>` tag are also valid here, except for `<enclosure>`. Instead of a normal `<enclosure>` which doesn't make sense in a live context,
|
||||
the `<podcast:alternateEnclosure>` tag MUST be used instead. The [`alternateEnclosure`](#alternate-enclosure) tag has robust support for specifying streaming content.
|
||||
All tags that are valid inside of a standard `<item>` tag are also valid here. The [`alternateEnclosure`](#alternate-enclosure) tag has robust support for specifying streaming content
|
||||
in a myriad of ways and is encouraged over `<enclosure>` where possible.
|
||||
|
||||
### Attributes
|
||||
- **status** (required) A string that must be one of `pending`, `live` or `ended`.
|
||||
|
@ -803,5 +804,6 @@ the `<podcast:alternateEnclosure>` tag MUST be used instead. The [`alternateEnc
|
|||
<podcast:alternateEnclosure type="audio/mpeg" length="312">
|
||||
<podcast:source uri="https://example.com/pc20/livestream" />
|
||||
</podcast:alternateEnclosure>
|
||||
<enclosure url="https://example.com/pc20/livestream" type="audio/mpeg" length="312">
|
||||
</podcast:liveItem>
|
||||
```
|
Ładowanie…
Reference in New Issue