commit 247c5494088a4a93b3a2290e9175f34adde47cc3 from: Oliver Lowe date: Tue Apr 29 23:45:16 2025 UTC rss: add MIME type Helps in feed type detection, autodiscovery commit - f130d58c691c245a36ff9d0e042760e960654722 commit + 247c5494088a4a93b3a2290e9175f34adde47cc3 blob - a5c140780646d227a942d7a707253af3797847c6 blob + 40774a56b9b62f7948631610296f458396dd5387 --- rss/rss.go +++ rss/rss.go @@ -7,6 +7,9 @@ import ( "time" ) +// MediaType is RSS' MIME media type. +const MediaType = "application/rss+xml" + type RSS struct { Version string `xml:"version,attr"` Channel Channel `xml:"channel"`