From: James Edward Gray II Date: 2007-10-15T08:22:38+09:00 Subject: Re: Is there a standard pattern for threaded access to a file? On Oct 14, 2007, at 11:35 AM, Jay Levitt wrote: > On Mon, 15 Oct 2007 00:26:58 +0900, James Edward Gray II wrote: > >>> Since I bear some responsibility for its evil popularity, I'll >>> volunteer to update that gateway code to extract the text-part out >>> of the multipart if you can send it to me... >> >> http://blog.grayproductions.net/articles/hacking_the_gateway >> >> http://blog.grayproductions.net/articles/mail_to_newsrb >> >> http://blog.grayproductions.net/articles/news_to_mailrb >> >> I have a rewrite in progress that uses TMail for message handling. >> On of my goals for this was to correctly separate the text portions >> of multipart/alternative. I've just been distracted with work >> deadlines and other short term projects, so I haven't completed it >> yet. > > Sounds like it'd be more useful for me to help on the TMail version > (since that's what I'd end up using anyway).. is that code posted > anywhere yet, or would you be willing to send/post it? It's not yet online. I am happy to put it up, sure. I really need to get through two projects before I get to that though. Please give me a few weeks. > It's not in the Gateway topic, and your search box is, uh, broken. It seems to work OK for me. Feel free to email me the details off- list and I'll sure try to fix it. >> I've seen some pretty crazy things in messages sent to Ruby Talk. >> One of those is multipart/alternative with no text/plain component. >> I don't think there's too much loss in not supporting such setups >> though. > > Yeah, that's just totally broken. I mean, it's technically legal > MIME, but pointless. We see quite a few broken posts pass through the gateway in quite a few different ways. Welcome to the Internet. ;) James Edward Gray II