Phase 5 - block tag

pull/349/head
Dave Jones 2022-03-08 09:30:36 -06:00
rodzic 7973888f3e
commit 8f88976fb0
2 zmienionych plików z 79 dodań i 68 usunięć

Wyświetl plik

@ -169,42 +169,46 @@ full implementation details.
The following tags are being actively considered for adoption into the namespace as part of phase 4. They are a work in progress and feedback on them is desired. The following tags are being actively considered for adoption into the namespace as part of phase 4. They are a work in progress and feedback on them is desired.
### **\<podcast:recommendations>** - <small>[Discuss](https://github.com/Podcastindex-org/podcast-namespace/issues/205)</small> ### **\<podcast:block>** - <small>[Discuss](https://github.com/Podcastindex-org/podcast-namespace/issues/179)</small>
<br> <br>
<b> <b>
```xml ```xml
<podcast:recommendations <podcast:block
url="[url to json file(string)]" exclude="[comma delimited list(string)]"
type="application/json"
language="[language code(string)]"
> >
[optional comments(string)] [yes|no(bool)]
</podcast:recommendations> </podcast:block>
``` ```
</b> </b>
Channel or Item Channel
(optional | multiple) (optional | single)
This element allows a podcaster (or third party, with podcater permission) to specify a list of recommended content for a podcast or an episode. The recommended content can be a 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
web page, a podcast, a podcast episode or a soundbite, so that listeners can eventually subscribe to a podcast, add an episode to playlist, add a soundbite to playlist, etc. 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.
This is a complex tag. The full documentation is [here](https://github.com/Podcastindex-org/podcast-namespace/blob/main/proposal-docs/recommendations/recommendations.md). Please #### Attributes
read that document to understand and comment on this proposal. - **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).
Example: Examples:
```xml ```xml
<podcast:recommendations url="https://domain.tld/recommendation?guid=1234" type="application/json" /> <!-- This means "block everything" -->
``` <podcast:block>yes</podcast:block>
Example: <!-- This means "block nothing" -->
```xml <podcast:block>no</podcast:block>
<podcast:recommendations url="https://domain.tld/recommendation?guid=1234" type="application/json" language="en">Some other cool podcasts</podcast:recommendations>
<!-- 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>

Wyświetl plik

@ -1,51 +1,58 @@
acast.com acast
amazon.com amazon
anchor.fm anchor
apple.com apple
audioboom.com audible
backtracks.fm audioboom
backtracks
bitcoin bitcoin
blubrry.com blubrry
buzzsprout.com buzzsprout
captivate.com captivate
castos.com castos
fireside.fm castopod
fyyd.de facebook
google.com fireside
hypercatcher.com fyyd
libsyn.com google
gpodder
hypercatcher
kasts
libsyn
mastodon mastodon
megafono.host megafono
megaphone.fm megaphone
omnystudio.com omnystudio
overcast.fm overcast
paypal.com paypal
pinecast.com pinecast
podbean.com podbean
podcastaddict.com podcastaddict
podcastguru.io podcastguru
podcastindex.org podcastindex
podcasts.com podcasts
podchaser.com podchaser
podcloud.fr podcloud
podfriend.com podfriend
podiant.co podiant
podigee.com podigee
podnews.com podnews
podomatic.com podomatic
podserve.fm podserve
podverse.fm podverse
redcircle.com redcircle
relay.fm relay
resonaterecordings.com resonaterecordings
rss.com rss
shoutengine.com shoutengine
simplecast.com simplecast
slack.com slack
soundcloud.com soundcloud
spotify.com spotify
spreaker.fm spreaker
transistor.fm tiktok
twitter.com transistor
whooshkaa.com twitter
zencast.com whooshkaa
youtube
zencast