kopia lustrzana https://github.com/Podcastindex-org/podcast-namespace
342 wiersze
14 KiB
Markdown
342 wiersze
14 KiB
Markdown
# The "podcast" Namespace
|
|
|
|
A wholistic rss namespace for podcasting that is meant to synthesize the fragmented world of podcast namespaces. The broad goal is to create a single, compact, efficient
|
|
namespace that is easily extensible, community controlled/authored and addresses the needs of the independent podcast industry now and in the future.
|
|
Our hope is that this namespace
|
|
will become the framework that the independent podcast community needs to deliver new functionality to apps and aggregators.
|
|
|
|
|
|
Our guiding principles for development of this namespace are the "[Rules for Standards Makers](http://scripting.com/2017/05/09/rulesForStandardsmakers.html)" by Dave Winer.
|
|
Please read it before contributing if you aren't familiar with it.
|
|
|
|
The podcast namespace is part of the larger "Podcasting 2.0" project which exists to bring control of podcasting's protocols back into the hands of the open podcasting community. A good overview can be found here: [Podcasting 2.0](podcasting2.0.md)
|
|
|
|
* [Official XMLNS Definition](docs/1.0.md) the official definition of all formalized tags.
|
|
* List of platforms and apps that currently implement some or all of these tags: [Supporting Platforms and Apps](docs/element-support.md).
|
|
* Example Feed: There is an example feed [example.xml](example.xml) in this repository showing the podcastindex namespace side by side with the Apple itunes namespace.
|
|
* [Other recommendations](docs/other-recommendations.md) when creating RSS podcast feeds.
|
|
|
|
<br><br>
|
|
|
|
|
|
## Current Roadmap
|
|
|
|
**Phase 1** - [Closed] Comment period closed on `11/15/2020` and [5 tags](https://github.com/Podcastindex-org/podcast-namespace#phase-1-closed-on-111520) were **formalized**.
|
|
|
|
**Phase 2** - [Closed] Comment period closed on `1/31/2021` and [4 tags](https://github.com/Podcastindex-org/podcast-namespace#phase-2-closed-on-13121) were **formalized**.
|
|
|
|
**Phase 3** - [Closed] Comment period closed on `6/1/2021` and [5 tags](https://github.com/Podcastindex-org/podcast-namespace#phase-3-closed-on-6121) were **formalized**.
|
|
|
|
**Phase 4** - [Closed] Comment period closed on `12/1/2021` and [3 tags](https://github.com/Podcastindex-org/podcast-namespace#phase-4-closed-on-1212021) were **formalized**.
|
|
|
|
**Phase 5** - [Open] Comment period is open as of `3/2/2022`. Tag submissions and comments are welcome at this time. Tags [here](https://github.com/Podcastindex-org/podcast-namespace#phase-5-open-as-of-322022)
|
|
are under active consideration. New proposals are also [here](https://github.com/Podcastindex-org/podcast-namespace/issues?q=is%3Aissue+is%3Aopen+label%3Aproposal).
|
|
|
|
<br><br>
|
|
|
|
|
|
## Legend
|
|
|
|
**Formalized** - This tag is frozen and listed in the XMLNS document. Any future changes to it's definition must maintain backwards compatibility.
|
|
|
|
**Finalized** - The tag is structurally stable and implementation testing should be considered safe. Any breaking changes will be widely communicated.
|
|
|
|
**Open** - The tag/phase is open for discussion and collaboration.
|
|
|
|
**Required** - This tag or attribute must be present.
|
|
|
|
**Optional** - This tag or attribute may be left out.
|
|
|
|
**Recommended** - This tag or attribute is technically optional, but is strongly recommended to be present for the tag to function as fully intended.
|
|
|
|
|
|
<br><br>
|
|
|
|
|
|
## Tag Adoption Process
|
|
|
|
To be adopted as an official part of the namespace, there must be consensus around a tag's usefulness and either commitment to adoption by at least 1 host and 1 app, or a recognition
|
|
that the tag is already being used in the wild.
|
|
|
|
It is ALWAYS ok to delay a tag to a future Phase if there is any concern about it. That is to be expected and encouraged.
|
|
|
|
When a Phase comes to a close, there will be a full review of any tags currently open for comment and questions will be asked to gather consensus before final adoption. No tags
|
|
will be adopted by fiat, or if there are unresolved questions. They will just be moved to the next Phase for further comment and refinement.
|
|
|
|
Tags that are proposals or rough ideas should be expected to have syntax problems or typos. Those should be refined away as they are worked on. If they are not, that is a good idea
|
|
that the tag in question isn't being seen as useful and should be considered for dropping.
|
|
|
|
We are not a "standards body". It is a community driven project where all stake holders are encouraged to participate, so that many voices are heard. This is an open-source
|
|
project to be built fully in the open. Discussions also take place on [podcastindex.social](https://podcastindex.social) where anyone is free to register and participate.
|
|
|
|
|
|
<br><br>
|
|
|
|
|
|
### Goal #1 - Eliminate Redundancy
|
|
|
|
There is significant overlap amongst the many existing podcast namespaces. Each platform and publisher has created their own namespace to give their respective
|
|
system and audience the metadata they need in the way they want it delivered.
|
|
|
|
|
|
### Goal #2 - Keep "required" tags and attributes minimal
|
|
|
|
The only required tags should be those that solve an overwhelming need in the industry. Requiring tags is a roadblock to adoption and should be avoided. Attributes
|
|
should also only be required when they are key to the functionality of the tag.
|
|
|
|
|
|
### Goal #3 - Keep Exisiting Conventions
|
|
|
|
Reinventing the wheel helps nobody. When at all possible, existing conventions should be maintained. For example, it would make sense to turn **\<podcast:explicit>** into
|
|
a unary element, where it's existence is taken as a "yes" and it's absence as a "no". But, that has never been the standard. And, given as how this namespace will probably
|
|
sit alongside at least one other namespace, it makes sense to keep existing conventions in place.
|
|
|
|
|
|
### Goal #4 - Be General... to a point
|
|
|
|
There is no way to address every possible metadata point that each platform would want. That is not the aim. Instead we focus on defining the elements that would be useful
|
|
to the broadest set of apps, publishers, platforms and aggregators. Individual parties can keep their respective supplemental namespaces small and targeted as an adjunct to
|
|
this larger namespace. But, we don't want to be so general that the spec becomes overly complicated. A beautiful, "perfect" spec is not important. Solving real problems is.
|
|
|
|
|
|
<br><br>
|
|
|
|
## Element List
|
|
|
|
### <u>Phase 1 (Closed on 11/15/20)</u>
|
|
|
|
<br>
|
|
|
|
The following tags have been formally adopted into the namespace. They are fully documented in the XMLNS document located [here](docs/1.0.md). Please see that file for
|
|
full implementation details.
|
|
|
|
- **\<podcast:locked>** <br>
|
|
- **\<podcast:transcript>** <br>
|
|
- **\<podcast:funding>** <br>
|
|
- **\<podcast:chapters>** <br>
|
|
- **\<podcast:soundbite>** <br>
|
|
|
|
<br>
|
|
|
|
### <u>Phase 2 (Closed on 1/31/21)</u>
|
|
|
|
<br>
|
|
|
|
The following tags have been formally adopted into the namespace. They are fully documented in the XMLNS document located [here](docs/1.0.md). Please see that file for
|
|
full implementation details.
|
|
|
|
- **\<podcast:person>** <br>
|
|
- **\<podcast:location>** <br>
|
|
- **\<podcast:season>** <br>
|
|
- **\<podcast:episode>** <br>
|
|
|
|
<br>
|
|
|
|
|
|
### <u>Phase 3 (Closed on 6/1/21)</u>
|
|
|
|
<br>
|
|
|
|
The following tags have been formally adopted into the namespace. They are fully documented in the XMLNS document located [here](docs/1.0.md). Please see that file for
|
|
full implementation details.
|
|
|
|
- **\<podcast:trailer>** <br>
|
|
- **\<podcast:license>** <br>
|
|
- **\<podcast:alternateEnclosure>** <br>
|
|
- **\<podcast:source>** <br>
|
|
- **\<podcast:integrity>** <br>
|
|
- **\<podcast:guid>** <br>
|
|
|
|
<br>
|
|
|
|
|
|
## <u>Phase 4 (Closed on 12/1/2021)</u>
|
|
|
|
<br>
|
|
|
|
The following tags have been formally adopted into the namespace. They are fully documented in the XMLNS document located [here](docs/1.0.md). Please see that file for
|
|
full implementation details.
|
|
|
|
- **\<podcast:medium>** <br>
|
|
- **\<podcast:images>** <br>
|
|
- **\<podcast:liveItem>** <br>
|
|
|
|
<br>
|
|
|
|
|
|
## <u>Phase 5 (Open as of 3/2/2022)</u>
|
|
|
|
The following tags are being actively considered for adoption into the namespace as part of this phase. They are a work in progress and feedback on them is desired.
|
|
|
|
|
|
<br><br><!-- Tag block -->
|
|
### **\<podcast:socialInteract>** - <small>[Discuss](https://github.com/Podcastindex-org/podcast-namespace/issues/327)</small>
|
|
<b>
|
|
|
|
```xml
|
|
<podcast:socialInteract
|
|
protocol="[slug of social protocol being used([slug](socialprotocols.txt)]"
|
|
priority="[the order of rendering(int)]"
|
|
accountId="[account id of posting party(string)]"
|
|
accountUrl="[url to posting party's platform profile(string)]"
|
|
>
|
|
[url of root post/comment(string)]
|
|
</podcast:socialInteract>
|
|
```
|
|
|
|
</b>
|
|
|
|
#### Item
|
|
|
|
#### (optional | multiple)
|
|
|
|
This element allows a podcaster to attach the "root post" of a comment thread to an episode. This "root post" is treated as the canonical location of where the comments and discussion around this
|
|
episode will take place. This can be thought of as the "official" social media comment space for this episode. If a protocol such as "activitypub" is used, or some other
|
|
protocol that allows programmatic API access, these comments can be directly pulled into the app, and replies can be posted back to it from the app itself.
|
|
|
|
If multiple `<podcast:socialInteract>` tags are given for an `<item>`, the `priority` attribute is strongly recommended to give the app an indication as to which comments to
|
|
display first.
|
|
|
|
This tag can also be used as a signal to platforms and apps that the podcaster does not want public comments shown alongside this episode. For this purpose a `protocol` value
|
|
of "disabled" can be specified, with no other attributes or node value present.
|
|
|
|
#### Attributes
|
|
- **protocol** (required) The [protocol](socialprotocols.txt) in use for interacting with the comment root post.
|
|
- **accountId** (recommended) The account id of the account that posted this root post.
|
|
- **accountUrl** (optional) The public url of the account.
|
|
- **priority** (optional) When multiple socialInteract tags are present, this integer gives order or priority in ascending order of importance.
|
|
|
|
Example (simple):
|
|
```xml
|
|
<podcast:socialInteract protocol="activitypub" accountId="@dave">https://podcastindex.social/web/@dave/108013847520053258</podcast:socialInteract>
|
|
```
|
|
|
|
Example (complex):
|
|
```xml
|
|
<podcast:socialInteract priority="1" protocol="activitypub" accountId="@dave" accountUrl="https://podcastindex.social/web/@dave">https://podcastindex.social/web/@dave/108013847520053258</podcast:socialInteract>
|
|
<podcast:socialInteract priority="2" protocol="twitter" accountId="@podcastindexorg" accountUrl="https://twitter.com/PodcastindexOrg">https://twitter.com/PodcastindexOrg/status/1507120226361647115</podcast:socialInteract>
|
|
```
|
|
|
|
Example (disabled):
|
|
```xml
|
|
<podcast:socialInteract protocol="disabled"></podcast:socialInteract>
|
|
```
|
|
|
|
|
|
|
|
<br><br><!-- Tag block -->
|
|
### **\<podcast:block>** - <small>[Discuss](https://github.com/Podcastindex-org/podcast-namespace/issues/179)</small>
|
|
<b>
|
|
|
|
```xml
|
|
<podcast:block
|
|
exclude="[comma delimited list(string)]"
|
|
>
|
|
[yes|no(bool)]
|
|
</podcast:block>
|
|
```
|
|
|
|
</b>
|
|
|
|
#### Channel
|
|
|
|
#### (optional | single)
|
|
|
|
This element allows a podcaster to express which platforms are allowed to publicly display this feed and it's contents. In it's basic form, it is a direct drop-in
|
|
replacement for `<itunes:block>` and functions identically. The addition of the `exclude` attribute allows for a comma separated list of platforms from the [slug list](serviceslugs.txt)
|
|
to be given which operates as an inversion of the intent expressed by the node value.
|
|
|
|
#### Attributes
|
|
- **exclude** (optional) A comma separated list of platforms that will be interpreted as a block list or an allow list based on the inversion of the node value (yes or no).
|
|
|
|
Examples:
|
|
```xml
|
|
<!-- This means "block everything" -->
|
|
<podcast:block>yes</podcast:block>
|
|
|
|
<!-- This means "block nothing" -->
|
|
<podcast:block>no</podcast:block>
|
|
|
|
<!-- This means "block everything except spotify and google" -->
|
|
<podcast:block exclude="spotify,google">yes</podcast:block>
|
|
|
|
<!-- This means "block nothing other than apple and podcast index" -->
|
|
<podcast:block exclude="apple,podcastindex">no</podcast:block>
|
|
```
|
|
|
|
|
|
|
|
<br><br><!-- Tag block -->
|
|
### **\<podcast:complete>** - <small>[Discuss](https://github.com/Podcastindex-org/podcast-namespace/issues/351)</small>
|
|
<b>
|
|
|
|
```xml
|
|
<podcast:complete
|
|
archive="[feed url(string)]"
|
|
>
|
|
[yes|no(bool)]
|
|
</podcast:complete>
|
|
```
|
|
|
|
</b>
|
|
|
|
#### Channel
|
|
|
|
#### (optional | single)
|
|
|
|
This element allows a podcaster to signal to the world that this podcast will never publish another episode to this feed. In it's basic form, it is a direct drop-in
|
|
replacement for `<itunes:complete>` and functions identically. The addition of the `archive` attribute allows for specifying the url of a complete archival feed of the
|
|
podcast that contains every episode in case this feed does not.
|
|
|
|
Specifying a value of `no` is the same as this tag not being present.
|
|
|
|
#### Attributes
|
|
- **archive** (optional) A url of a feed that contains every episode of this podcast.
|
|
|
|
Examples:
|
|
```xml
|
|
<!-- This podcast will never publish again -->
|
|
<podcast:complete>yes</podcast:complete>
|
|
|
|
<!-- Redundant usage and not recommended -->
|
|
<podcast:complete>no</podcast:complete>
|
|
|
|
<!-- This podcast is over, and a complete episode archive feed is "here" -->
|
|
<podcast:complete archive="https://example.org/rss/myarchive.xml">yes</podcast:complete>
|
|
```
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
----
|
|
|
|
<br>
|
|
|
|
## Other Proposals
|
|
|
|
A list of the current proposed tags can be found in the issues section [here](https://github.com/Podcastindex-org/podcast-namespace/labels/proposal).
|
|
|
|
<br><br>
|
|
|
|
|
|
## Verification for Importing and Transferring
|
|
|
|
If the "locked" element is present and set to "yes", podcasting hosts should not allow importing of this feed until the email listed in the element's owner="" attribute is
|
|
contacted and subsequently changes the value of the element to "no".
|
|
|
|
|
|
<br><br>
|
|
|
|
|
|
## IDs
|
|
|
|
There can be multiple **\<podcast:id>** elements to indicate a listing on multiple platforms, directories, hosts, apps and services. The "platform" attribute shall be a slug
|
|
representing the platform, directory, host, app or service. The full list is [here](serviceslugs.txt). More should be added by the community as needed.
|
|
|
|
|
|
## Badges and Media
|
|
|
|
![Podcast Namespace](images/podcastindex-namespace-final.svg)
|