kopia lustrzana https://github.com/Podcastindex-org/podcast-namespace
alternateEnclosure examples - closes issue #6
rodzic
c0b731558c
commit
e34328653f
10
README.md
10
README.md
|
@ -66,11 +66,13 @@ this larger namespace.
|
|||
|
||||
- **\<podcast:transcript>**[url to a file]**\</podcast:transcript>** - This is an item-level element. Links to a text file containing a transcript.
|
||||
- **\<podcast:closedCaptions>**[url to a file]**\</podcast:closedCaptions>** - This is an item-level element. Links to an industry standard closed-caption/subtitle file format.
|
||||
- **\<podcast:alternateEnclosure type="[mime type]" length="[(int)]" bitrate="[(float)]" title="[(string)]" [live]>**[uri of media asset]**\</podcast:alternateEnclosure>** - This is a channel or item-level element that is meant to provide alternate versions of an enclosure, such as low or
|
||||
high bitrate, or alternate formats or alternate uri schemes, like IPFS or live streaming. The title attribute is optional. The "live" attribute is unary. Its presence indicates
|
||||
the url refers to a live stream. There may be multiple alternateEnclosure elements in an item, but there must be no more than one in a channel. The presence of this element at the
|
||||
- **\<podcast:alternateEnclosure type="[mime type]" length="[(int)]" bitrate="[(float)]" title="[(string)]" [live]>**[uri of media asset]**\</podcast:alternateEnclosure>** - This is a channel or item-level
|
||||
element that is meant to provide alternate versions of an enclosure, such as low or
|
||||
high bitrate, or alternate formats or alternate uri schemes, like IPFS or live streaming. The title attribute is optional. The "live" attribute is unary - its presence indicates that
|
||||
the uri refers to a live stream. There may be multiple alternateEnclosure elements in an item, but there must be no more than one in a channel. The presence of this element at the
|
||||
channel level would be useful for adding a video/audio trailer or intro media that introduces the listener to the podcast. For instance, in a podcast of an audiobook, this could be the book's
|
||||
introduction or preface.
|
||||
introduction or preface. The alternateEnclosure element always refers to an "alternate" media version. The standard RSS enclosure element is always the default media to be
|
||||
played.
|
||||
|
||||
|
||||
## Categories
|
||||
|
|
|
@ -56,6 +56,8 @@
|
|||
<podcast:host>Adam Curry</podcast:host>
|
||||
<podcast:guest>Dave Jones</podcast:guest>
|
||||
<enclosure url="https://mp3s.nashownotes.com/PC20-03-2020-09-18-Final.mp3" length="62407829" type="audio/mpeg"/>
|
||||
<podcast:alternateEnclosure type="audio/x-m4a" length="1540076" bitrate="80" title="Audio - low bitrate">https://podcastindex.org/ep0003/audio/podnews201009.m4a</podcast:alternateEnclosure>
|
||||
<podcast:alternateEnclosure type="audio/mpeg" length="2534548" bitrate="160" title="Audio - high bitrate">https://podcastindex.org/ep0003/audio/podnews201009.mp3</podcast:alternateEnclosure>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
@ -74,6 +76,9 @@
|
|||
<podcast:host>Adam Curry</podcast:host>
|
||||
<podcast:guest>Dave Jones</podcast:guest>
|
||||
<enclosure url="https://mp3s.nashownotes.com/PC20-02-2020-09-11-Final.mp3" length="59902895" type="audio/mpeg"/>
|
||||
<podcast:alternateEnclosure type="audio/x-m4a" length="1540076" bitrate="80" title="Audio - low bitrate">https://podcastindex.org/ep0002/audio/podnews201009.m4a</podcast:alternateEnclosure>
|
||||
<podcast:alternateEnclosure type="audio/mpeg" length="2534548" bitrate="160" title="Audio - high bitrate">https://podcastindex.org/ep0002/audio/podnews201009.mp3</podcast:alternateEnclosure>
|
||||
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
@ -92,6 +97,9 @@
|
|||
<podcast:host>Adam Curry</podcast:host>
|
||||
<podcast:guest>Dave Jones</podcast:guest>
|
||||
<enclosure url="https://mp3s.nashownotes.com/PC20-01-2020-08-28-Final.mp3" length="61222288" type="audio/mpeg"/>
|
||||
<podcast:alternateEnclosure type="audio/x-m4a" length="1540076" bitrate="80" title="Audio - low bitrate">https://podcastindex.org/ep0001/audio/podnews201009.m4a</podcast:alternateEnclosure>
|
||||
<podcast:alternateEnclosure type="audio/mpeg" length="2534548" bitrate="160" title="Audio - high bitrate">https://podcastindex.org/ep0001/audio/podnews201009.mp3</podcast:alternateEnclosure>
|
||||
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
|
|
Ładowanie…
Reference in New Issue