diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-03-19 23:25:43 +0100 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-03-20 00:25:28 +0100 |
commit | c247d95a346012bb811900a28c5e370eb431d2a0 (patch) | |
tree | 8fae01257b3e201858524c84c253004be5d0bb7d /src/IO | |
parent | 716ba86383f73ffca85b98e7cad07495dbe07753 (diff) |
Display RSS feeds as plain text
Allows inspecting their content before adding it to a feed reader by
reading it as plain text.
Diffstat (limited to 'src/IO')
-rw-r--r-- | src/IO/mime.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/IO/mime.c b/src/IO/mime.c index 3d88429e..2dcf641b 100644 --- a/src/IO/mime.c +++ b/src/IO/mime.c @@ -2,7 +2,7 @@ * File: mime.c * * Copyright (C) 2000-2007 Jorge Arellano Cid <jcid@dillo.org> - * Copyright (C) 2024 Rodrigo Arias Mallo <rodarima@gmail.com> + * Copyright (C) 2024-2025 Rodrigo Arias Mallo <rodarima@gmail.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -116,6 +116,9 @@ void a_Mime_init(void) #endif Mime_add_minor_type("text/html", a_Html_text); Mime_add_minor_type("application/xhtml+xml", a_Html_text); + Mime_add_minor_type("application/xml", a_Plain_text); + Mime_add_minor_type("application/rss+xml", a_Plain_text); + Mime_add_minor_type("application/atom+xml", a_Plain_text); Mime_add_minor_type("application/json", a_Plain_text); /* Add a major type to handle all the text stuff */ |