From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/43022 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Read Heise newsticker: hackers wanted Date: Sat, 09 Feb 2002 21:16:07 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035178180 15339 80.91.224.250 (21 Oct 2002 05:29:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:29:40 +0000 (UTC) Return-Path: Original-Received: (qmail 16339 invoked from network); 9 Feb 2002 20:19:18 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 9 Feb 2002 20:19:18 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16Zdvk-000292-00; Sat, 09 Feb 2002 14:17:04 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 09 Feb 2002 14:16:54 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id OAA22374 for ; Sat, 9 Feb 2002 14:16:42 -0600 (CST) Original-Received: (qmail 16310 invoked by alias); 9 Feb 2002 20:16:40 -0000 Original-Received: (qmail 16305 invoked from network); 9 Feb 2002 20:16:40 -0000 Original-Received: from waldorf.cs.uni-dortmund.de (129.217.4.42) by gnus.org with SMTP; 9 Feb 2002 20:16:40 -0000 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id g19KGCb27299 for ; Sat, 9 Feb 2002 21:16:12 +0100 (MET) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id VAA27412; Sat, 9 Feb 2002 21:16:07 +0100 (MET) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id 91AD63ADC6; Sat, 9 Feb 2002 21:16:07 +0100 (CET) Original-To: ding@gnus.org Original-Lines: 41 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:43022 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:43022 Thanks to ShengHuo's nnrss-content-function, it was fairly easy to cons up the following which kinda sorta lets you read the Heise newsticker via nnrss. I'm interested in people who want to hack on this. (There is some flickering going on, and I would like to know why there are \201 characters.) (defun kai-nnrss-content-function (entry group article) (let ((num (nth 0 entry)) (timestamp (nth 1 entry)) (url (nth 2 entry))) (when (string-match "[hH]eise" group) (message "Retrieving %s" url) (let ((buf (url-retrieve-synchronously url)) (w3-display-same-buffer t) parse) (save-excursion (set-buffer buf) (goto-char (point-min)) (delete-region (point) (search-forward "")) (insert "") (delete-region (search-forward "") (point-max)) (insert "") (setq parse (w3-parse-buffer (current-buffer))) (erase-buffer) (w3-draw-tree parse)) (insert-buffer buf))))) (setq nnrss-content-function 'kai-nnrss-content-function) As you can easily see, the method to grab the actual text of the news item is very simple-minded. As you can also see, I don't have the foggiest notion how to use the URL and W3 packages. Does anyone have something similar for Tagesschau? kai -- ~/.signature is: umop 3p!sdn (Frank Nobis)