From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24265 Path: main.gmane.org!not-for-mail From: Toby Speight Newsgroups: gmane.emacs.gnus.general Subject: Re: Cannot use nnweb for dejanews Date: 15 Jul 1999 19:36:16 +0000 Organization: Citrix Systems (Cambridge) Sender: owner-ding@hpc.uh.edu Message-ID: References: <76so6qoi6j.fsf@tweed.ppllc.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035161861 7775 80.91.224.250 (21 Oct 2002 00:57:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:57:41 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA01288 for ; Thu, 15 Jul 1999 14:41:08 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id NAB15373; Thu, 15 Jul 1999 13:40:41 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 15 Jul 1999 13:41:34 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id NAA04432 for ; Thu, 15 Jul 1999 13:41:25 -0500 (CDT) Original-Received: from ironside.ansa.co.uk (ironside.ansa.co.uk [192.5.254.44]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id OAA01259 for ; Thu, 15 Jul 1999 14:40:20 -0400 (EDT) Original-Received: from lanber.cam.citrix.com (LANBER.ansa.co.uk [10.70.1.235]) by ironside.ansa.co.uk (Netscape Mail Server v2.02) with ESMTP id AAA214 for ; Thu, 15 Jul 1999 19:40:58 +0100 Original-To: ding@gnus.org Original-Lines: 46 In-Reply-To: Eric Marsden's message of "Thu, 15 Jul 1999 17:01:26 GMT" X-Author-Info: Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:24265 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:24265 ecm> Eric Marsden >>>>> "rrh" == Raja R Harinath writes: rrh> It would be nice if you could provide a "raw article" interface, so rrh> that we don't have to go through the HTML interface baloney ;-) 0> In , ecm wrote: ecm> they do. You can retrieve the original text format of an article with ecm> Dejanews ID as ecm> ecm> &fmt=text> Or you can do it by Message-ID (useful for articles that have expired from the server you're currently reading): (defun fetch-message-from-dejanews (message-id) "Fetch MESSAGE-ID from DejaNews archive." (interactive "sMessage-Id: ") (w3-fetch (format "http://www.deja.com/msgid.xp?MID=%%3C%s%%3E&fmt=raw" (url-hexify-string message-id))) (let ((gnus-article-buffer w3-last-buffer) (inhibit-read-only t)) (gnus-article-highlight))) (defun fetch-message-from-nntp (message-id) (interactive "sMessage-Id: ") ;; can use either `gnus-request-article' or `nntp-request-article' here... (and (nntp-request-article (concat "<" message-id ">")) (eval-and-compile (condition-case nil (mapcar 'require '(url url-news)) (error nil))) (url-format-news))) (defun fetch-message-intelligently (message-id) "Fetch MESSAGE-ID." (interactive "sMessage-Id: ") (save-excursion (or (fetch-message-from-nntp message-id) (fetch-message-from-dejanews message-id)))) [Lars, if you want to add something based on this, go ahead]