🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by fink Sat, 03 May 2003 17:57
MIME encoding and article bodies
#65152
Author: fink
Date: Sat, 03 May 2003 17:57
15 lines
1771 bytes
If I receive a message body which contains some regular text and an gif
attachment, what is the best way to treat such a message in a newsclient?

I'm just getting familiar with mime types ...are there any open source
libraries I can use which would extract the text and binary part from the
message so that I can display the text in the viewer but not the gif/binary?

I use QT under linux.

What is the usual practice is handling news with attachments?

Thanks a bunch...


Re: MIME encoding and article bodies
#65153
Author: Sam
Date: Sun, 04 May 2003 01:47
26 lines
2935 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In article <QpTsa.1380$by4.585@newssvr17.news.prodigy.com>,
	"fink" <fink@hotmail.com> writes:

> If I receive a message body which contains some regular text and an gif
> attachment, what is the best way to treat such a message in a newsclient?

If the GIF mime section has "Content-Disposition: attachment", then show
only a small button which downloads the attachment, if pushed.

If the GIF mime section has "Content-Disposition: inline", then show the 
image after the text.

If neither applies, pick a default based on your environment.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: http://www.geocities.com/SiliconValley/Peaks/5799/GPGKEY.txt

iD8DBQE+tHFI3ejdWUS0ltARAtM4AJ4whSLcQOzUuO6baNf+A9ZQDaH4PACaAv2G
Va7OqAekj2hoS9IGjfwQ/SI=
=GowE
-----END PGP SIGNATURE-----

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads