add xml feed

main
Dozens B. McCuzzins 2021-04-17 11:01:19 -06:00
parent 53d8718ee9
commit dbceefe37c
3 changed files with 10137 additions and 3 deletions

View File

@ -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:

10135
feed.xml 100644

File diff suppressed because one or more lines are too long

View File

@ -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)