aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/FeedSinkPlugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FeedSinkPlugin.py')
-rw-r--r--plugins/FeedSinkPlugin.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/FeedSinkPlugin.py b/plugins/FeedSinkPlugin.py
index 623bb49..f126b6d 100644
--- a/plugins/FeedSinkPlugin.py
+++ b/plugins/FeedSinkPlugin.py
@@ -56,8 +56,12 @@ class Plugin(PluginInterface):
item_author = ET.SubElement(item_elem, "author")
item_author.text = item.author
- item_guid = ET.SubElement(item_elem, "guid")
- item_guid.text = item.guid
+ item_guid = ET.SubElement(
+ item_elem,
+ "guid",
+ {"isPermaLink": "true" if item.guid.is_perma_link else "false"},
+ )
+ item_guid.text = item.guid.value
for enc in item.enclosures:
ET.SubElement(