podcast-namespace/docs/1.0.md

72 wiersze
3.9 KiB
Markdown
Czysty Zwykły widok Historia

# RSS Namespace Extension for Podcast (xmlns:podcast DTD)
A wholistic RSS namespace for podcasting that is meant to synthesize the fragmented world of podcast namespaces. As elements are canonized, they will be added to this document so developers can begin implementation. The specifications below are considered locked and the team will prioritize backward compatibility. We are operating under the [Rules for Standards-Makers](http://scripting.com/2017/05/09/rulesForStandardsmakers.html).
If your application generates RSS feeds and you implement one or more elements below, you will need to link this DTD in your XML.
`<rss version="2.0" xmlns:podcast="https://github.com/Podcastindex-org/podcast-namespace/blob/main/docs/1.0.md">`
# Podcast Tags
Each tag below exists in the podcast namespace within the specified parent. All attributes are required unless explicitly specified as optional.
2020-10-22 17:01:29 +00:00
Anywhere the url of a hyper-text based resource is specified, it must be given as `https:` and not `http:`.
2020-10-19 16:46:30 +00:00
<br><br>
## Transcript
`<podcast:transcript>`
This tag is used to link to a transcript or closed captions file. Multiple tags can be present for multiple transcript formats.
#### Parent
`<item>`
#### Attributes
2020-10-22 15:31:34 +00:00
- **url:** URL of the podcast transcript.
2020-10-22 15:31:34 +00:00
- **type:** Mime type of the file such as `text/plain`, `text/html`, `application/srt`, `application/json`
2020-10-22 15:31:34 +00:00
- **language (optional):** The language of the linked transcript. 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.
2020-10-22 15:31:34 +00:00
- **rel (optional):** 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.
#### Examples
`<podcast:transcript url="https://podcastindex.org/ep0002/transcript.html" type="text/html" />`
`<podcast:transcript url="https://podcastindex.org/ep0002/transcript.srt" type="text/srt" rel="captions" />`
`<podcast:transcript url="https://podcastindex.org/ep0002/transcript.json" type="application/json" language="es" rel="captions" />`
2020-10-22 15:28:50 +00:00
Detailed file format information and example files are [here](transcripts/transcripts.md).
2020-10-19 16:46:30 +00:00
<br><br>
## Locked
`<podcast:locked>`
2020-10-22 15:28:50 +00:00
This tag may be set to `yes` or `no`. The purpose is to tell other podcast platforms whether they are allowed to import this feed. A value of `yes` means that any attempt to import this feed into a new platform should be rejected. It is expected
that podcast hosting providers will enable a toggle in their GUI to allow their users to turn feed transfer lock on or off. When importing a feed, if the hosting provider has already verified the owner="" email address on their own system, and the
email matches what is listed in this tag, it is safe to import the feed.
#### Parent
`<channel>`
#### Attributes
2020-10-22 15:31:34 +00:00
- **owner:** The owner attribute is an email address that can be used to verify ownership of this feed during move and import operations. This could be a public email or a virtual email address at the hosting provider that redirects to the owner's true email address. This is a critical element, and it's expected that podcast hosting providers (if not providing virtual addresses) will allow setting this element's value in their GUI with an emphasis to their users of how important it is to have this be a valid, working email address.
#### Examples
`<podcast:locked owner="email@domain.com">yes</podcast:locked>`
`<podcast:locked owner="email@domain.com">no</podcast:locked>`
2020-10-19 16:46:30 +00:00
<br><br>
## Funding
`<podcast:funding>`
2020-10-22 15:28:50 +00:00
This tag lists possible donation/funding links for the podcast. The content of the tag is the recommended string to be used with the link.
#### Parent
`<channel>`
#### Attributes
2020-10-22 15:31:34 +00:00
- **url:** The URL to be followed to fund the podcast.
#### Examples
`<podcast:funding url="www.mydomain.com/support">Support the show!</podcast:funding>`