Use the value
and valueRecipient
tags to enable web monetization for podcasts.
This value
tag would have the following proposed values:
<podcast:value
type="webmonetization"
method="ILP"
></podcast:value>
podcast:value.type
defines the cryptocurrency or protocol layer, which in this case is used to define Web Monetization payment information, using the value of webmonetization
.
The method
of ILP
specifies the use of Interledger Protocol (ILP) which is the protocol for payment providers in WM.
Within the podcast:value
tag we also need to designate recipients. In Web Monetization, payment info is discovered using the Simple Payment Setup Protocol with which the Open Payments protocol is designed to be backwards compatible.
Both SPSP and Open Payments use a recipient address in the form of a Payment Pointer which will be provided in the address
attribute, with the type
of paymentpointer
.
<podcast:value
type="webmonetization"
method="ILP"
>
<podcast:valueRecipient
name="Alice"
type="paymentpointer"
address="$example.now/~alice"
split="100"
/>
</podcast:value>
While payments in WM are streamed to a single payment pointer at a time, the WM authors suggest splits can be implemented using Probabilistic Revenue Sharing or perhaps for WM should be implemented at the payment pointer rather than expecting the client to be responsible.
- https://github.com/Podcastindex-org/podcast-namespace/blob/main/value/value.md
- https://github.com/Podcastindex-org/podcast-namespace/blob/main/value/valueslugs.txt
- https://podlibre.social/@Castopod/105278541687633547
- https://blog.castopod.org/castopod-supports-web-monetization/
- https://github.com/ad-aures/castopod/blob/v1.0.0-beta.14/app/Helpers/rss_helper.php#L85-L95