[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sb-heise.el patch
- From: David Hansen <david.hansen@xxxxxxx>
- Date: Sat, 02 Jul 2005 06:59:23 +0200
- X-ml-name: emacs-w3m
- X-mail-count: 08226
Hello,
Just a small fix to remove ads.
David
2005-07-02 David Hansen <david.hansen@physik.fu-berlin.de>
* shimbun/sb-heise.el: (shimbun-heise-wash-telepolis-article):
Remove more ads.
--- share/emacs/site-lisp/w3m/sb-heise.el 2005-06-30 21:55:29.000000000 +0200
+++ cvs-src/emacs-w3m/shimbun/sb-heise.el 2005-07-02 06:53:07.000000000 +0200
@@ -191,8 +191,8 @@
(save-excursion
;; strip nasty "download" images
(goto-char (point-min))
- (while (re-search-forward "<TPxBUT>" nil t nil)
- (delete-region (point) (re-search-forward "</TPxBUT>" nil t nil)))))
+ (while (re-search-forward "<TP\\(xBUT\\|:AD\\)>" nil t nil)
+ (delete-region (point) (re-search-forward "</TP\\(xBUT\\|:AD\\)>" nil t nil)))))
(luna-define-method shimbun-make-contents
:before ((shimbun shimbun-heise) header)