m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rss.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/rss.md b/rss.md
new file mode 100644
index 0000000..00cc55d
--- /dev/null
+++ b/rss.md
@@ -0,0 +1,13 @@
+# On RSS feeds
+
+As per https://stackoverflow.com/a/11787940
+
+> The specification has lacked clarity regarding whether HTML is permitted in
+> elements other than an item's description, leading to wide variance in how
+> aggregators treat character data in other elements. This makes it especially
+> difficult for a publisher to determine how to encode the characters "&" and
+> "<", which must be encoded in XML.
+
+`&amp;`, `&mdash;`, etc won't work in XML title tags. This will break some feed
+readers entirely (e.g. Thunderbird). Fix by using hexcode (e.g. for mdash:
+`&#x2014;`)