I believe the solution is to modify feedgenerator, changing:
handler.addQuickElement("guid", item['unique_id'])
...to:
handler.addQuickElement('guid isPermaLink="false"', item['unique_id'])
RSS already has a link
attribute; feedgenerator
currently assumes the unique_id
is a URL and should not do so. I suspect this is the best way to address the problem.