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