On 04 Jun 12:22, Adam Bower wrote:
Hi All,
Can I please remind everyone that Alug is supposed to be a plain text mailing list only, I do approve the odd html post here and there to keep communication up but it's getting more and more frequent. Can people please check their mail client is set to only send plain text to this mailing list.
Also, sending attachments to this list will result in them being rejected (mostly). If you do have a large file or log then consider putting it on some web hosting somewhere and providing a link or using a pastebin instead.
<?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>I has an e-mail</title> <style> body.stupidhtmlemail p { color: black; background: black; font-size: 1px; } </style> </head> <body class="stupidhtmlemail"> <p>Here is some text that you wouldn't be able to read. Isn't it great.</p> <p style="font-size: 44pt; color: white;">HAHAHAHA</p> </body> </html>
Erm, OK - so, actually, a lot of the stuff in that *doesn't* work for HTML e-mail, at all, For a start, none of the renderers use *anything* other than the contents *between* the body tags, so, if there are lots of styles in use, guess what, you have to do *all* style on the element itself, that is in no way going to be nice if you've got a lot of customised headings, etc. Also, makes linking external stylesheets impossible. So, looking through that snippet, the entirely important bit could be much better expressed as plain text as:
HAHAHAHA
Or if you want it a bit bolder, *HAHAHAHA*.
So, that's a simple example, but then, a lot of stuff that hits this list should be, when it starts getting to needing style/screenshots/configfiles to diagnose something, it's nearly always better to put those parts up elsewhere, and then link to them.
I use mutt as my MUA, though, so it's set to fire HTML mails through w3m, which means I still only see plain text (well, actually, it doesn't do that automagically, because I haven't set it up to, I go to the attachment view and hit enter on the HTML part which fires up w3m at it).
For headings, it's simple to just underline them ================================================
Like that, see... And if it's not the same level heading...
Subheadings are fun too -----------------------
:)
(On the other hand, I even write the content for my blog/website as ReST, I live a lot of time in a terminal window, and I like my monospace font...)
</ramblyness>