kopia lustrzana https://github.com/Podcastindex-org/podcast-namespace
layout
rodzic
9007d4f67b
commit
f33b898f61
24
docs/1.0.md
24
docs/1.0.md
|
@ -529,7 +529,7 @@ When scanned on a QR code reader inside a podcast app, like [CurioCaster](https:
|
|||
|
||||
|
||||
## Value
|
||||
`<podcast:value>`
|
||||
`<podcast:value>`<br>
|
||||
This element designates the cryptocurrency or payment layer that will be used, the transport method for transacting the payments, and a suggested amount denominated in the given cryptocurrency.
|
||||
|
||||
This element can exist at either the `<channel>` or `<item>` level. When it exists at the `<item>` level, it should be treated as an "override" of whatever is defined at the `<channel>` level.
|
||||
|
@ -537,21 +537,21 @@ This element can exist at either the `<channel>` or `<item>` level. When it exi
|
|||
This is a complex tag, so implementors are HIGHLY encouraged to read the companion [document](https://github.com/Podcastindex-org/podcast-namespace/blob/main/value/value.md) for a complete understanding of how
|
||||
this tag works and what it is capable of.
|
||||
|
||||
#### Parent
|
||||
### Parent
|
||||
`<channel>` or `<item>`
|
||||
|
||||
#### Count
|
||||
### Count
|
||||
Single
|
||||
|
||||
#### Node Value
|
||||
### Node Value
|
||||
The node value must be one or more `<podcast:valueRecipient>` elements.
|
||||
|
||||
#### Attributes
|
||||
### Attributes
|
||||
- **type:** (required) This is the service slug of the cryptocurrency or protocol layer.
|
||||
- **method:** (required) This is the transport mechanism that will be used.
|
||||
- **suggested:** (optional) This is an optional suggestion on how much cryptocurrency to send with each payment.
|
||||
|
||||
#### Examples
|
||||
### Examples
|
||||
```xml
|
||||
<podcast:value
|
||||
type="lightning"
|
||||
|
@ -564,7 +564,7 @@ The node value must be one or more `<podcast:valueRecipient>` elements.
|
|||
|
||||
|
||||
## Value Recipient
|
||||
`<podcast:valueRecipient>`
|
||||
`<podcast:valueRecipient>`<br>
|
||||
The `valueRecipient` tag designates various destinations for payments to be sent to during consumption of the enclosed media. Each recipient is considered to receive a "split" of the total payment according to the number of shares given
|
||||
in the `split` attribute.
|
||||
|
||||
|
@ -575,16 +575,16 @@ There is no limit on how many `valueRecipient` elements can be present in a give
|
|||
This is a complex tag, so implementors are HIGHLY encouraged to read the companion [document](https://github.com/Podcastindex-org/podcast-namespace/blob/main/value/value.md) for a complete understanding of how
|
||||
this tag works and what it is capable of.
|
||||
|
||||
#### Parent
|
||||
### Parent
|
||||
`<podcast:value>`
|
||||
|
||||
#### Count
|
||||
### Count
|
||||
Multiple
|
||||
|
||||
#### Node Value
|
||||
### Node Value
|
||||
This element has no node value.
|
||||
|
||||
#### Attributes
|
||||
### Attributes
|
||||
- **name** (recommended) A free-form string that designates who or what this recipient is.
|
||||
- **customKey** (optional) The name of a custom record key to send along with the payment.
|
||||
- **customValue** (optional) A custom value to pass along with the payment. This is considered the value that belongs to the `customKey`.
|
||||
|
@ -593,7 +593,7 @@ This element has no node value.
|
|||
- **split** (required) The number of shares of the payment this recipient will receive.
|
||||
- **fee** (optional) If this attribute is not specified, it is assumed to be false.
|
||||
|
||||
#### Examples
|
||||
### Examples
|
||||
```xml
|
||||
<podcast:value type="lightning" method="keysend" suggested="0.00000015000">
|
||||
<podcast:valueRecipient
|
||||
|
|
Ładowanie…
Reference in New Issue