Merge pull request #283 from brianoflondon/main

Podping tag edit and new tag for Hive account name
pull/286/head
Dave Jones 2021-08-18 06:23:21 -05:00 zatwierdzone przez GitHub
commit 2e153d51cd
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
3 zmienionych plików z 46 dodań i 7 usunięć

1
.gitignore vendored
Wyświetl plik

@ -1 +1,2 @@
/.vs/
.vscode/settings.json

Wyświetl plik

@ -0,0 +1,37 @@
# The "podcast:hiveAccount" Specification
<small>Version 1.0 by Brian of London - 2021.06.08</small>
<br>
## Purpose
Allows for the easy inclusion of a definitive Hive Account to which Value for Value payments can be routed.
## Specification
For the `<podcast:hiveAccount>` tag there are no attributes, the tag just wraps the Hive account name string.
## Example
```xml
<podcast:hiveAccount>no-agenda</podcast:hiveAccount>
```
## More Information
More information about the Hive Blockchain can be found at the [Dev Portal for Hive](https://developers.hive.io/#introduction-welcome)
# Alternate idea (but not quite as good)
## It could be done with FUNDING tag!
<podcast:funding hiveAccname="brianoflondon">Support Brian of London </podcast:funding>
This could even be done via URL, but
<podcast:funding url="https://hive.blog/@brianoflondon">Support Brian of London</podcast:funding>
however that would need to be passed on in the TLV records.

Wyświetl plik

@ -20,15 +20,16 @@ This tag can also contribute to a future API endpoint for the PodcastIndex which
## Specification
For the `<podcast:podping>` tag there are no attributes.
For the optional but helpful `<podcast:podpingAuth>` tag there is one attribute, a single value with a single allowed Hive account.
For the `<podcast:podping>` tag there is only one optional attribute `usesPodping` which will usually be set to `True` though could be set to `False` to specifically opt out of using Poding and indicate a feed must be polled by legacy RSS polling methods.
## Example
```xml
<podcast:podping>
<podcast:podpingAuth account="hivehydra"/>
<podcast:podpingAuth account="hive-hydra"/>
</podcast:podping>
<podcast:podping usesPodping="true"/>
```
or
```xml
<podcast:podping></podcast:podping>
```