From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/8988 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.user Subject: Re: Displaying images in nnrss feeds Date: Fri, 11 May 2007 19:56:10 +0900 Organization: Emacsen advocacy group Message-ID: References: <85d517acr0.fsf@qustom.co.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1178883167 15139 80.91.229.12 (11 May 2007 11:32:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 11 May 2007 11:32:47 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri May 11 13:32:46 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HmTMb-0005Kx-Pn for gegu-info-gnus-english@m.gmane.org; Fri, 11 May 2007 13:32:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HmTU1-0004fY-7y for gegu-info-gnus-english@m.gmane.org; Fri, 11 May 2007 07:40:25 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!newsserver.news.garr.it!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 49 Original-X-Trace: individual.net 2BK5KWBJ3+ne56OEq/3VpAurNd2bidQvHx8qRZUFuS/k6Huxc= X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:AtAdpQp4TDnfWCmvlmzBd2ML+to= Original-Xref: shelby.stanford.edu gnu.emacs.gnus:79174 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:8988 Archived-At: >>>>> In <85d517acr0.fsf@qustom.co.uk> Peter Russell wrote: > I've added the RSS feed for http://planet.gnome.org, which is always a > pretty interesting read, and I'm impressed by how well it works. Some > of the posts on the feed have "hackergotchis", images of the poster > which are attached to posts. These appear in Gnus as text like this: > [jdub] > And when I put the point over them, and press enter the images are > downloaded and displayed inline. You've set `mm-text-html-renderer' to `w3m'. Right? > Is it possible to make these images display by default? I can't find > any option to do this. > I'd really like all images in posts to be displayed by default, but > it's the hackergotchis I care more about. There is a way to do that if you use emacs-w3m. Try putting the following forms in your ~/.gnus.el file: --8<---------------cut here---------------start------------->8--- ;; Set the default values of `mm-w3m-safe-url-regexp' ;; and `mm-inline-text-html-with-images'. (eval-after-load "gnus-sum" '(progn (add-to-list 'gnus-newsgroup-variables '(mm-w3m-safe-url-regexp . "\\`cid:")) (add-to-list 'gnus-newsgroup-variables '(mm-inline-text-html-with-images . nil)))) ;; Display images inline in `nnrss' groups. (add-to-list 'gnus-parameters '("\\`nnrss:" (mm-inline-text-html-with-images t) (mm-w3m-safe-url-regexp nil))) --8<---------------cut here---------------end--------------->8--- You can find a similar example in the Gnus manual: (info "(gnus)RSS") <- Type `C-x C-e' here. The Emacs MIME manual will be helpful as well: (info "(emacs-mime)Display Customization") Regards,