[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rendering an rss feed as html
From: |
Richard G Riley |
Subject: |
Re: rendering an rss feed as html |
Date: |
Fri, 29 Feb 2008 15:28:34 +0100 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) |
Katsumi Yamaoka <yamaoka@jpl.org> writes:
>>>>>> Richard G Riley wrote:
>
>> Can I set a group to treat all articles as html?
>
>> e.g I have subscribed to an RSS feed in Gnus and all the feed posts are html
>> content. Gnus doesn't recognise them as html since they not properly
>> marked as html. Can I do aynthing to set this group to automatically
>> treat all articles in this RSS feed as html and son render with w3m?
>
> Does the following part of the Gnus Info manual help?
It does indeed. I should have spotted that (although it is a bit tricky
to follow). Thanks.
>
> (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)))
> `----
>
> See also `mm-discouraged-alternatives' in:
> (info "(emacs-mime)Display Customization")