aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tools/feeds.py
Commit message (Collapse)AuthorAgeFilesLines
* Convert atom feeds to use feedgenerator library.Ben Sturmfels2021-03-161-0/+38
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.