Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: info-gnus-english@gnu.org
Subject: Re: Deactivating HTML articles for all but nnrss backends
Date: Mon, 04 Jun 2007 19:53:11 +0900	[thread overview]
Message-ID: <b4mr6osxa7c.fsf@jpl.org> (raw)
In-Reply-To: <87odjyxqah.fsf@tobe.homeunix.org>

>>>>> In <87odjyxqah.fsf@tobe.homeunix.org> Tobias Brink wrote:

> Is there a possibility to make Gnus render HTML only in these RSS
> feeds, as those are actually meant to be used with HTML?

Isn't this just what you look for? ;-)

(info "(gnus)RSS") <- type `C-x C-e' here.
,----
|    Even if you have added `"text/html"' to the
| `mm-discouraged-alternatives' variable (*note Display Customization:
| (emacs-mime)Display Customization.) since you don't want to see HTML
| parts, it might be more useful especially in `nnrss' groups to display
| `text/html' parts.  Here's an example of setting
| `mm-discouraged-alternatives' as a group parameter (*note Group
| Parameters::) in order to display `text/html' parts only in `nnrss'
| groups:
|
|      ;; Set the default value of `mm-discouraged-alternatives'.
|      (eval-after-load "gnus-sum"
|        '(add-to-list
|          'gnus-newsgroup-variables
|          '(mm-discouraged-alternatives
|            . '("text/html" "image/.*"))))
|
|      ;; Display `text/html' parts in `nnrss' groups.
|      (add-to-list
|       'gnus-parameters
|       '("\\`nnrss:" (mm-discouraged-alternatives nil)))
`----

  parent reply	other threads:[~2007-06-04 10:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-02 16:41 Tobias Brink
2007-06-02 17:10 ` Adam Sjøgren
2007-06-03 16:50   ` Tobias Brink
2007-06-03 17:40     ` Adam Sjøgren
2007-06-03 18:07     ` neimad
2007-06-04 10:53 ` Katsumi Yamaoka [this message]
2007-06-04 11:25   ` Tobias Brink

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b4mr6osxa7c.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).