Fixed stuff
This commit is contained in:
parent
fa5ae1d917
commit
c957c25307
|
@ -8,14 +8,13 @@
|
||||||
<email>baruchel@sdf.org</email>
|
<email>baruchel@sdf.org</email>
|
||||||
</author>
|
</author>
|
||||||
<rights>CC BY-SA 4.0</rights>
|
<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/src/blog.rst" />
|
||||||
<link href="https://git.sdf.org/baruchel/feeds/raw/branch/master/atom/blog.xml" rel="self" />
|
<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>
|
<generator uri="https://git.sdf.org/baruchel/feeds/src/branch/master/rst2atom.py">rst2atom</generator>
|
||||||
|
|
||||||
<entry>
|
<entry>
|
||||||
<title>Initial entry</title>
|
<title>Initial entry</title>
|
||||||
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
|
|
||||||
<updated>2022-11-05T00:00:00Z</updated>
|
<updated>2022-11-05T00:00:00Z</updated>
|
||||||
<content type="xhtml">
|
<content type="xhtml">
|
||||||
<div xmlns="http://www.w3.org/1999/xhtml"><div class="section" id="initial-entry">
|
<div xmlns="http://www.w3.org/1999/xhtml"><div class="section" id="initial-entry">
|
||||||
|
|
|
@ -78,7 +78,6 @@ def build_entry(d):
|
||||||
pass
|
pass
|
||||||
print(""" <entry>
|
print(""" <entry>
|
||||||
<title>%s</title>
|
<title>%s</title>
|
||||||
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
|
|
||||||
<updated>%s</updated>
|
<updated>%s</updated>
|
||||||
<content type="xhtml">
|
<content type="xhtml">
|
||||||
<div xmlns="http://www.w3.org/1999/xhtml">%s</div>
|
<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["Author:"],
|
||||||
docinfos["Contact:"],
|
docinfos["Contact:"],
|
||||||
meta["copyright"],
|
meta["copyright"],
|
||||||
datetime.datetime.now(datetime.timezone.utc).isoformat() + "Z",
|
datetime.datetime.utcnow().isoformat() + "Z",
|
||||||
meta["original-source"],
|
meta["original-source"],
|
||||||
meta["syndication-source"],
|
meta["syndication-source"],
|
||||||
generator_uri, generator_name
|
generator_uri, generator_name
|
||||||
|
|
Loading…
Reference in New Issue