finalize "transcript" element - closes #16

pull/22/head
Dave Jones 2020-10-12 17:20:44 -05:00
rodzic 141962c91f
commit b8e222e2e5
2 zmienionych plików z 6 dodań i 5 usunięć

Wyświetl plik

@ -105,15 +105,16 @@ this larger namespace.
should be added to the channel, to create a paper trail of all the previous urls this feed has lived at. This way, aggregators can easily deduplicate their feed lists.
- **\<podcast:transcript language="[language code]" type="[mime type]">**[url to a file or website]**\</podcast:transcript>**
- **\<podcast:transcript type="[mime type]" rel="captions" language="[language code]">**[url to a file or website]**\</podcast:transcript>**
Item
(optional | multiple)
Links to an external file containing a transcript. The mime type of the file should be given - such as `text/plain`, `text/html`, `application/srt`, `application/json`.
The language of the transcript can be overwritten by providing the optional language attribute. All other attributes are required.
Links to an external file containing a transcript or closed captions file, which may actually be the same file. The mime type of the file should be given - such
as `text/plain`, `text/html`, `application/srt`, `application/json`. If there is no language attribute given, the linked file is assumed to be the same language that is
specified by the RSS \<language> element. If the rel="captions" attribute is present, the linked file is considered to be a closed captions file, regardless of what the
mime type is. In that scenario, time codes are assumed to be present in the file in some capacity.
- **\<podcast:alternateEnclosure type="[mime type]" length="[(int)]" bitrate="[(float)]" title="[(string)]" stream>**[uri of media asset]**\</podcast:alternateEnclosure>**

Wyświetl plik

@ -77,7 +77,7 @@
<podcast:imageMedium>https://podcastindex.org/ep0002/artMd.jpg</podcast:imageMedium>
<podcast:imageSmall>https://podcastindex.org/ep0002/artSm.jpg</podcast:imageSmall>
<itunes:explicit>no</itunes:explicit>
<podcast:transcript type="application/json">https://podcastindex.org/ep0002/transcript.json</podcast:transcript>
<podcast:transcript type="application/json" language="es" rel="captions">https://podcastindex.org/ep0002/transcript_es.json</podcast:transcript>
<podcast:transcript type="application/srt">https://podcastindex.org/ep0002/transcript.srt</podcast:transcript>
<podcast:host href="http://example.com/adamcurry" img="http://example.com/images/adamcurry.jpg">Adam Curry</podcast:host>
<podcast:guest href="http://example.com/davejones" img="http://example.com/images/davejones.jpg">Dave Jones</podcast:guest>