From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9252 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.user Subject: Re: getting rss content Date: Fri, 29 Jun 2007 10:33:35 +0900 Organization: Emacsen advocacy group Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1183081224 6199 80.91.229.12 (29 Jun 2007 01:40:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Jun 2007 01:40:24 +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 Jun 29 03:40:23 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 1I45TC-00076H-79 for gegu-info-gnus-english@m.gmane.org; Fri, 29 Jun 2007 03:40:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I45TB-0005AA-IC for gegu-info-gnus-english@m.gmane.org; Thu, 28 Jun 2007 21:40:21 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 65 Original-X-Trace: individual.net pBlYZFpfaefQKRsWEQek0wsD4gE9NKDJOIfVCWyUv++24DH0w= Cancel-Lock: sha1:X7QCHp3EkWIwCsSNd+Xh0s7Hfxo= sha1:cnXPOYskIPqNUneRj1JYWls5tqU= 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) Original-Xref: shelby.stanford.edu gnu.emacs.gnus:79439 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:9252 Archived-At: --=-=-= >>>>> In Bar Shirtcliff wrote: > I'm new to gnus, and I've noticed that the wonderful RSS feeds that I > was anticipating reading with gnus--have no content, just links to > webpages, which pretty much defeats the purpose. > I'm wondering if anyone has written some kind of fix for this--i.e. a > small script to follow that link for you when you look at a feed item, > and puts the content into the buffer as if it were the official feed. > If no one has done it, I can do it and will, but I'd rather not have > to, for obvious reasons (I don't actually have all day to blow on > gnus). > The actual usenet news groups... it seems like they're heavily > spammed, which is a bummer. What is the value of the `mm-text-html-renderer' variable you use? If it is `w3m', here's a quick hack that I made right now: --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline (defadvice mm-inline-text-html-render-with-w3m (around follow-link (handle) activate) "Follow a link in nnrss group." (if (string-match "\\`nnrss:" gnus-newsgroup-name) (let* ((buffer (mm-handle-buffer handle)) (link (with-current-buffer buffer (goto-char (point-max)) (when (re-search-backward "link" nil t) (match-string 1)))) type contents) (if (and link (mm-with-unibyte-buffer (when (setq type (w3m-retrieve link)) (setq contents (buffer-string))))) (progn (with-current-buffer buffer (erase-buffer) (mm-disable-multibyte) (insert contents)) (setcar (cdr handle) (list type)) (let ((mail-parse-charset nil)) ad-do-it)) ad-do-it)) ad-do-it)) --=-=-= Content-Disposition: inline You can put it in your ~/.gnus.el file. To disable or enable this feature, type: M-x ad-deactivate RET mm-inline-text-html-render-with-w3m RET or M-x ad-activate RET mm-inline-text-html-render-with-w3m RET --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ info-gnus-english mailing list info-gnus-english@gnu.org http://lists.gnu.org/mailman/listinfo/info-gnus-english --=-=-=--