[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pbmserv-dev] MIME encoding?



> Who can NOT deal with it?  Specifically, I'm thinking of doing some
> board representation code changes to allow for more graphical 
> representation of the boards (as sent via email) for those games 
> that can benefit from it (meaning a LOT of them).

On the technical side, I plan on doing the following...

multipart/mixed
    part 1.  move history  text/plain
    part 2.  board itself   multipart/alternative
        part 2a.   ASCII representation text/plain
        part 2b.   HTML (or similar)    text/html
           :
    part 3.  [optional] comments preface  text/plain
    part 4.  [optional] comment proper    whatever the original content type is

This while affect the PrintBoard() functions.  But should make all the MIME
code flowing through the system "consistant".  We also need to store the 
comment mime type so that "game show" requests work right... that's currently
a bug.

-- 
 /  \__  | Richard Rognlie / Sendmail Ninja / Gamerz.NET Lackey
 \__/  \ | http://www.gamerz.net/rrognlie/    <rrognlie@gamerz.net>
 /  \__/ | No trees were killed in the sending of this message. 
 \__/    | However, a great many instructions were executed.