From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/36470 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: Re: Different content types with nnweb? Date: 27 May 2001 22:38:05 +0200 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035172049 8769 80.91.224.250 (21 Oct 2002 03:47:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:47:29 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: (qmail 19007 invoked by alias); 27 May 2001 20:39:05 -0000 Original-Received: (qmail 19002 invoked from network); 27 May 2001 20:39:04 -0000 Original-Received: from waldorf.cs.uni-dortmund.de (129.217.4.42) by gnus.org with SMTP; 27 May 2001 20:39:04 -0000 Original-Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id WAA23505; Sun, 27 May 2001 22:38:06 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id WAA00875; Sun, 27 May 2001 22:38:05 +0200 (MET DST) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-21) id WAA22270; Sun, 27 May 2001 22:38:05 +0200 X-Face: 6=pZ4hVbjN:C?j1$h/-bi4:F%*~B#Rxb$[0%!{5NK"dE:_QRAM]Dzl=$yMu%Rh4xCSm/#>! $n%@SHJ](KFJKL,uF\=G=bRJQC$ ?+Dlxu*pj.Z,-GK<~y7sd/l*PN\]>} In-Reply-To: (David Z Maze's message of "27 May 2001 16:30:02 -0400") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.104 Original-Lines: 41 Xref: main.gmane.org gmane.emacs.gnus.general:36470 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:36470 On 27 May 2001, David Z. Maze wrote: > I'm mildly abusing nnweb into acting as a front-end to the Debian > bug-tracking system. This is actually going pretty well so far, > since I can toss together a list of "articles" out of a package's > bug-list page, and nnweb will present that in the summary buffer. > So far, so good. Way cool. > What I'd like to do for a first pass is to read in the page > containing all of the traffic for a particular bug, slap some > headers on to it, and just have Gnus display it as an HTML page. If > I put "Content-Type: text/html" at the front of the article, though, > Gnus seems to just ignore it; the body is just displayed as > (unformatted) HTML. Is there some trick to making this work? Make sure it's in the header, not the body. Also you will need `Mime-Version: 1.0', I think. Hm. And if it isn't ascii, you need a charset declaration, too. But maybe you can extract that from the HTML generated by the Debian thingy. To summarize: Content-type: text/html; charset=utf-8 Mime-Version: 1.0 Content-transfer-encoding: 8bit > (And what I'd *really* like to do is translate the page into > something along the lines of a normal digest. Are there any > pointers as to the format I should use for this? [Didn't gnus.org > used to have links to useful RFCs somewhere?] Can I co-opt mml, > create an mml document from the HTML page, and then translate that > into something viewable as an article?) Hm. There are different formats. But surely, maybe MIME would be best. I guess you can use mml-generate-mime for MML->MIME conversion. kai -- ~/.signature: No such file or directory