Commit graph

3 commits

Author SHA1 Message Date
46d4f10433 Fix handling of title-less Planet posts
Some platforms can give us a post without a title. When that happens,
Planet's RSS feed title is "$author" instead of "$author.title", which
causes our split to blow up. Instead, we check to see if there is a ':',
and if so split like normal. If not, explicitly set the title to
"(untitled post)" in order for it to still render.

While I'm at it, update a comment so that it reflects what the code is
actually doing.

Fixes #9251

Signed-off-by: Ben Cotton <bcotton@fedoraproject.org>
2020-08-20 13:24:43 +00:00
Kevin Fenzi
5ea849a5bd Add fixes to developer rss.py from ticket 4978 2015-11-23 16:38:46 +00:00
Kevin Fenzi
7487aa54ee Pull rss.py script into ansible for developer.fedoraproject.org. 2015-10-29 18:53:17 +00:00