crunk
1 year ago
5 changed files with 22 additions and 17 deletions
@ -1,2 +1,2 @@ |
|||||
<?xml version='1.0' encoding='UTF-8'?> |
<?xml version='1.0' encoding='UTF-8'?> |
||||
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><id>http://crunk.website</id><title>Crunk website</title><updated>2023-10-02T19:08:59.272412+00:00</updated><author><name>John Doe</name><email>john@example.de</email></author><link href="http://crunk.website" rel="alternate"/><link href="http://crunk.website/test.atom" rel="self"/><generator uri="https://lkiesow.github.io/python-feedgen" version="0.9.0">python-feedgen</generator><subtitle>Some things crunk is doing!</subtitle></feed> |
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><id>http://crunk.website</id><title>Crunk website</title><updated>2023-10-03T18:20:53.506614+00:00</updated><link href="http://crunk.website" rel="alternate"/><link href="http://crunk.website/test.atom" rel="self"/><generator uri="https://lkiesow.github.io/python-feedgen" version="0.9.0">python-feedgen</generator><subtitle>Some things crunk is doing!</subtitle></feed> |
@ -1,2 +1,2 @@ |
|||||
<?xml version='1.0' encoding='UTF-8'?> |
<?xml version='1.0' encoding='UTF-8'?> |
||||
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0"><channel><title>Crunk website</title><link>http://crunk.website/test.atom</link><description>Some things crunk is doing!</description><atom:link href="http://crunk.website/test.atom" rel="self"/><docs>http://www.rssboard.org/rss-specification</docs><generator>python-feedgen</generator><language>en</language><lastBuildDate>Mon, 02 Oct 2023 19:08:59 +0000</lastBuildDate></channel></rss> |
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0"><channel><title>Crunk website</title><link>http://crunk.website/test.atom</link><description>Some things crunk is doing!</description><atom:link href="http://crunk.website/test.atom" rel="self"/><docs>http://www.rssboard.org/rss-specification</docs><generator>python-feedgen</generator><language>en</language><lastBuildDate>Tue, 03 Oct 2023 18:20:53 +0000</lastBuildDate></channel></rss> |
@ -0,0 +1,7 @@ |
|||||
|
from models.postmodel import Post |
||||
|
|
||||
|
|
||||
|
def update_rss_feed(): |
||||
|
posts = Post.query.all() |
||||
|
for post in posts: |
||||
|
print(post.content) |
Loading…
Reference in new issue