going-flying.com gemini git repository
7aa3b0771a72e116f8227596b59c6b2b25d1d9c3 - Matthew Ernisse - 1598545465
need an id...
diff --git a/files/thoughts-to-gemini.py b/files/thoughts-to-gemini.py index 49c3c91..1864b6f 100755 --- a/files/thoughts-to-gemini.py +++ b/files/thoughts-to-gemini.py @@ -246,13 +246,14 @@ class Thoughts(object): e = feed.add_entry() e.content(content=entry['message'], type='text') - e.updated(pubdate) + e.id(entry['id']) e.title('A brief thought from mernisse') e.link( href=f'{ WEBBASE }{ entry["id"] }.html', rel='alternate', type='text/html' ) + e.updated(pubdate) outFile = os.path.join(thoughtdir, 'atom.xml') feed.atom_file(outFile)