From 9fe17d20b88204e73210473e22f0060b3caf933d Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Thu, 24 Mar 2022 17:38:59 -0500 Subject: [PATCH] socialInteract tag (Phase 5) - #327 --- README.md | 57 +++++++++++++++++++++++++++++++++++++++++++-- socialprotocols.txt | 4 ++++ 2 files changed, 59 insertions(+), 2 deletions(-) create mode 100644 socialprotocols.txt diff --git a/README.md b/README.md index b7efaee..38891af 100644 --- a/README.md +++ b/README.md @@ -170,8 +170,62 @@ The following tags are being actively considered for adoption into the namespace

-### **\** - [Discuss](https://github.com/Podcastindex-org/podcast-namespace/issues/179) +### **\** - [Discuss](https://github.com/Podcastindex-org/podcast-namespace/issues/327) + +```xml + +[url of root post/comment(string)] + +``` + + + +#### Item + +#### (optional | multiple) + +This element allows a podcaster to attach a "root post" 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 `` tags are given for an ``, 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 +https://podcastindex.social/web/@dave/108013847520053258 +``` + +Example (complex): +```xml +https://podcastindex.social/web/@dave/108013847520053258 +https://twitter.com/PodcastindexOrg/status/1507120226361647115 +``` + +Example (disabled): +```xml + +``` + + + +

+### **\** - [Discuss](https://github.com/Podcastindex-org/podcast-namespace/issues/179) ```xml @@ -214,7 +268,6 @@ Examples:

### **\** - [Discuss](https://github.com/Podcastindex-org/podcast-namespace/issues/351) - ```xml diff --git a/socialprotocols.txt b/socialprotocols.txt new file mode 100644 index 0000000..10b35e2 --- /dev/null +++ b/socialprotocols.txt @@ -0,0 +1,4 @@ +disabled +activitypub +twitter +lightning \ No newline at end of file