add xml feed
parent
53d8718ee9
commit
dbceefe37c
|
@ -22,7 +22,7 @@ It will allow you to do stuff like:
|
|||
## RSS feed
|
||||
|
||||
An RSS feed has been kindly provided by [the Rsszard of Syndication](https://tilde.town/~lucidiot)
|
||||
and is available at https://AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.
|
||||
and is available at https://git.tilde.town/dozens/books/raw/branch/main/feed.xml
|
||||
|
||||
Generating the feed requires you to have Python 3.7 or later installed, as well
|
||||
as the [xmltodict](https://pypi.org/project/xmltodict) package:
|
||||
|
|
|
@ -64,8 +64,7 @@ def main():
|
|||
"atom:link": {
|
||||
"@rel": "self",
|
||||
"@type": "application/rss+xml",
|
||||
# TODO: set the correct public URL of your feed!
|
||||
"@href": "http://fuck",
|
||||
"@href": "https://git.tilde.town/dozens/books/raw/branch/main/feed.xml",
|
||||
},
|
||||
"language": "en-US",
|
||||
"pubDate": datetime.now(timezone.utc)
|
||||
|
|
Loading…
Reference in New Issue