From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79435 Path: news.gmane.org!not-for-mail From: Antoine Levitt Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus as webcomic reader: stripping ads, preparing html part Date: Sun, 10 Jul 2011 22:47:41 +0200 Message-ID: <878vs550cy.fsf@gmail.com> References: <87y6057tzi.fsf@nzebook.haselwarter.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310331098 10193 80.91.229.12 (10 Jul 2011 20:51:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 10 Jul 2011 20:51:38 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27731@lists.math.uh.edu Sun Jul 10 22:51:32 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qg0yR-00018P-M6 for ding-account@gmane.org; Sun, 10 Jul 2011 22:51:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Qg0yK-0000J5-U8; Sun, 10 Jul 2011 15:51:24 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Qg0yJ-0000In-5C for ding@lists.math.uh.edu; Sun, 10 Jul 2011 15:51:23 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1Qg0yH-0000ca-Td for ding@lists.math.uh.edu; Sun, 10 Jul 2011 15:51:23 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Qg0yG-0007ez-Hu for ding@gnus.org; Sun, 10 Jul 2011 22:51:20 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qg0yF-00011w-Od for ding@gnus.org; Sun, 10 Jul 2011 22:51:19 +0200 Original-Received: from uni14-1-82-233-220-106.fbx.proxad.net ([82.233.220.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Jul 2011 22:51:19 +0200 Original-Received: from antoine.levitt by uni14-1-82-233-220-106.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Jul 2011 22:51:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 31 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: uni14-1-82-233-220-106.fbx.proxad.net Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -4.0 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79435 Archived-At: 10/07/11 22:37, Philipp Haselwarter > Hey, > I'm trying to set up gnus for reading webcomics, either directly through > RSS or on gwene (seems more comfortable as a longer history is > available). I use it for that purpose also. I use shr, and usually open "large" (ie not single strips) webcomics such as questionable content in a browser (gnus-article-browse-html-article). > > Inline html-image display did not exactly work right away, I'm using a > bit of a hack right now. > > But what I'm really still struggling with at the moment is blocking > chunks of the html. > > For example the gwene feed of http://www.questionablecontent.net/ is at > gwene.net.questionableco > and starts with a nice ad banner. > > I hoped `gnus-article-strip-banner' could be used to block it, but so > far I have not succeeded. It seems that even when html parts are > treated, only the text-parts gets processed, anything inside html-tags > is not touched. > > This is an example of the part I'm trying to get blocked: Have you tried customizing gnus-blocked-images? I have it as "doubleclick\\.net\\|feedsportal", and that blocks out a portion of ads. It works with shr, no idea with w3m.