[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: Patch for X-Mailer/User-Agent support in Fancy headerstyle
From:       Don Sanders <sanders () kde ! org>
Date:       2003-06-04 6:57:09
[Download RAW message or body]

On Wednesday 04 June 2003 09:04, Ingo Klöcker wrote:
> On Tuesday 03 June 2003 10:46, Robert Zwerus wrote:
> > This patch adds two parts to the Fancy headerstyle, one for the
> > X-Mailer header and one for the User-Agent header. I think only
> > one of them is used in a message, so it just checks both
> > sequentially.
> >
> > It's a patch for the KDE 3.1.2 version of kmreaderwin.cpp, which
> > is in the kdenetwork package under /kmail/. It can be applied by
> > issuing the following command in the abovementioned directory:
> > # patch kmreaderwin.cpp xmaileruseragent.patch
> >
> > As you can see I added the X-Mailer/User-Agent part and the '//
> > date'-comment.
> >
> > I hope it will be incorporated in the official KMail source.
>
> Thanks for your patch. But I'm afraid it won't be added to the
> official KMail source because most people are probably not
> interested in these headers. Instead we will add code to add
> arbitrary headers to the list of displayed headers.

I wonder if khtml can handle xml+stylesheet instead of html.

If it could then ideally I would like to see kmreaderwin create an xml 
representation of a mail and pass that to khtml along with a style 
sheet.

Different style sheets would be used for different header display 
styles, including using arbitrary fonts, arbitrary colors, arbitrary 
inclusion/exclusion of headers and arbitrary ordering of header 
information display and possibly different attachment styles.

KMail could come with a few standard style sheets in a directory and 
when the current fashion for displaying mail changes one could just 
modify/create a new style sheet rather than having to modify 
kmreaderwin.cpp and rebuild. 

Don.

_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic