From 7c34564aa37e4923a7869de02a9e168b7e026d35 Mon Sep 17 00:00:00 2001
From: Zerthick
Date: Sun, 9 Aug 2026 23:11:14 -0700
Subject: [PATCH] fix: use dc:creator instead of author for item authors
RSS 2.0 spec requires to be an email address; the dc namespace
is already declared and is the correct element for names.
- Change to in rss.xml.jinja2 template
- Update XSL HTML preview to read dc:creator and managingEditor
- Add test verifying dc:creator usage
---
mkdocs_rss_plugin/templates/default.xsl | 8 +-
mkdocs_rss_plugin/templates/rss.xml.jinja2 | 4 +-
tests/test_dc_creator.py | 97 ++++++++++++++++++++++
3 files changed, 103 insertions(+), 6 deletions(-)
create mode 100644 tests/test_dc_creator.py
diff --git a/mkdocs_rss_plugin/templates/default.xsl b/mkdocs_rss_plugin/templates/default.xsl
index 3a11d00..5f989c0 100644
--- a/mkdocs_rss_plugin/templates/default.xsl
+++ b/mkdocs_rss_plugin/templates/default.xsl
@@ -131,8 +131,8 @@ a:hover {