From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Cc: ding@gnus.org
Subject: Re: Different content types with nnweb?
Date: 27 May 2001 22:38:05 +0200 [thread overview]
Message-ID: <vaf4ru6o7de.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: <y68bsoe3585.fsf@indiana.mit.edu> (David Z Maze's message of "27 May 2001 16:30:02 -0400")
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
next prev parent reply other threads:[~2001-05-27 20:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-27 20:30 David Z Maze
2001-05-27 20:38 ` Kai Großjohann [this message]
2001-05-27 20:47 ` David Z Maze
2001-05-27 20:52 ` Kai Großjohann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vaf4ru6o7de.fsf@lucy.cs.uni-dortmund.de \
--to=kai.grossjohann@cs.uni-dortmund.de \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).