Fixed stuff

This commit is contained in:
Thomas Baruchel 2022-11-05 15:46:35 +01:00
parent fa5ae1d917
commit c957c25307
2 changed files with 2 additions and 4 deletions

View File

@ -8,14 +8,13 @@
<email>baruchel@sdf.org</email>
</author>
<rights>CC BY-SA 4.0</rights>
<updated>2022-11-05T14:42:25.792793+00:00Z</updated>
<updated>2022-11-05T14:46:26.151657Z</updated>
<link href="https://git.sdf.org/baruchel/feeds/raw/branch/master/src/blog.rst" />
<link href="https://git.sdf.org/baruchel/feeds/raw/branch/master/atom/blog.xml" rel="self" />
<generator uri="https://git.sdf.org/baruchel/feeds/src/branch/master/rst2atom.py">rst2atom</generator>
<entry>
<title>Initial entry</title>
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
<updated>2022-11-05T00:00:00Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml"><div class="section" id="initial-entry">

View File

@ -78,7 +78,6 @@ def build_entry(d):
pass
print(""" <entry>
<title>%s</title>
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
<updated>%s</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">%s</div>
@ -118,7 +117,7 @@ print("""<?xml version="1.0" encoding="utf-8"?>
docinfos["Author:"],
docinfos["Contact:"],
meta["copyright"],
datetime.datetime.now(datetime.timezone.utc).isoformat() + "Z",
datetime.datetime.utcnow().isoformat() + "Z",
meta["original-source"],
meta["syndication-source"],
generator_uri, generator_name