Add 'g' tag for geohash in XX.md to enhance geographical precision in stream object specifications and discovery requirements.
This commit is contained in:
parent
3ec79b5baf
commit
f5ce18a686
4
XX.md
4
XX.md
|
@ -23,6 +23,7 @@ Radio stations are published as addressable events of `kind:31237`. These events
|
||||||
["l", "<ISO-639-1-code>"],
|
["l", "<ISO-639-1-code>"],
|
||||||
["countryCode", "<ISO-3166-2-code>"],
|
["countryCode", "<ISO-3166-2-code>"],
|
||||||
["location", "<human-readable-location>"],
|
["location", "<human-readable-location>"],
|
||||||
|
["g", "<geohash>"],
|
||||||
["thumbnail", "<image-url>"],
|
["thumbnail", "<image-url>"],
|
||||||
["website", "<station-website>"]
|
["website", "<station-website>"]
|
||||||
]
|
]
|
||||||
|
@ -81,6 +82,7 @@ Each stream object MUST include:
|
||||||
- `l`: ISO 639-1 language codes (multiple allowed)
|
- `l`: ISO 639-1 language codes (multiple allowed)
|
||||||
- `countryCode`: ISO 3166-2 country code
|
- `countryCode`: ISO 3166-2 country code
|
||||||
- `location`: Human-readable location string
|
- `location`: Human-readable location string
|
||||||
|
- `g`: Geohash for precise geographical coordinates
|
||||||
- `thumbnail`: Station logo/image URL
|
- `thumbnail`: Station logo/image URL
|
||||||
- `website`: Station's official website
|
- `website`: Station's official website
|
||||||
|
|
||||||
|
@ -101,6 +103,7 @@ Each stream object MUST include:
|
||||||
["l", "fr"],
|
["l", "fr"],
|
||||||
["countryCode", "FR"],
|
["countryCode", "FR"],
|
||||||
["location", "Paris, France"],
|
["location", "Paris, France"],
|
||||||
|
["g", "u09tvw0"],
|
||||||
["thumbnail", "https://example.com/fip-logo.png"],
|
["thumbnail", "https://example.com/fip-logo.png"],
|
||||||
["website", "https://www.radiofrance.fr/fip"]
|
["website", "https://www.radiofrance.fr/fip"]
|
||||||
]
|
]
|
||||||
|
@ -137,6 +140,7 @@ Persistent discussion threads use existing comment protocols such as [NIP-22](22
|
||||||
|
|
||||||
- Use `t` tags for genre/category filtering
|
- Use `t` tags for genre/category filtering
|
||||||
- Include `l` tags for internationalization
|
- Include `l` tags for internationalization
|
||||||
|
- Add `g` tags with geohash for precise geographical discovery
|
||||||
|
|
||||||
## Reference Implementation
|
## Reference Implementation
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue