diff options
author | Ben Sturmfels <ben@sturm.com.au> | 2021-03-15 23:24:44 +1100 |
---|---|---|
committer | Ben Sturmfels <ben@sturm.com.au> | 2021-03-16 12:17:57 +1100 |
commit | 2d941d21e131a4cd228b436706ded084d537b9c8 (patch) | |
tree | 2f0a9ea4dd33727ce4f9cc889baafe14ef3c0a34 /docs/source | |
parent | 6d3d8667aec55fa18e6c2c92224ec02a42f3521d (diff) | |
download | mediagoblin-2d941d21e131a4cd228b436706ded084d537b9c8.tar.lz mediagoblin-2d941d21e131a4cd228b436706ded084d537b9c8.tar.xz mediagoblin-2d941d21e131a4cd228b436706ded084d537b9c8.zip |
Convert atom feeds to use feedgenerator library.
Issue is that Werkzeug > 1.0.0 has removed werkzeug.contrib.atom.AtomFeed,
making it difficult to use a distribution-packaged version of werkzeug. To solve
this, I've replaced use of werkzeug.contrib.atom.AtomFeed with
feedgenerator.Atom1Feed.
After the change, the only major difference between the feeds before and after is
that they use <summary> instead of <content>. Minor differences include no longer
adding 'type="text/html"' on some <link> elements and no "xml:base" attribute on
<entry> elements. I don't think these differences will have any noticable
effect.
Tested on Liferea feed reader.
Diffstat (limited to 'docs/source')
-rw-r--r-- | docs/source/siteadmin/relnotes.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/source/siteadmin/relnotes.rst b/docs/source/siteadmin/relnotes.rst index 8546e20b..a5a7c012 100644 --- a/docs/source/siteadmin/relnotes.rst +++ b/docs/source/siteadmin/relnotes.rst @@ -20,6 +20,15 @@ Release Notes This chapter has important information about our current and previous releases. +0.12.0 (work in progress) +========================= + +**Improvements:** + +- Switch Atom feeds from deprecated werkzeug.contrib.atom to feedgenerator, + upgrade werkzeug (Ben Sturmfels) + + 0.11.0 ====== |