Citizen X (citizenx) wrote in suggestions,
Citizen X

Plaintext emails more plaintext

Plaintext emails more plaintext

Short, concise description of the idea
Currently, having LJ not send HTML emails just says your email client doesn't fully support HTML, but HTML included in the post/comment still shows up. I propose changing that (or adding an option) to send fully plaintext emails.

Full description of the idea
Right now, any HTML used in either the original post/comment or the reply to it shows up in the email I receive even though I have the "Send HTML Emails" option unchecked. This isn't really a problem, per se, but it does make the email a little bit annoying to read. I think it'd be nice to receive truly plaintext messages if you say you don't want to receive HTML emails. For example, I just received an email containing:

did you notice that the creator of that quiz spelled the word <b>weird</b> <i>w-i-e-r-d</i>?!?!
And I would rather receive something like:
did you notice that the creator of that quiz spelled the word weird w-i-e-r-d?!?!

An ordered list of benefits

  • More readable emails if HTML is not wanted
  • Less text sent saves on bandwidth (not a big concern, I'm sure)
  • An ordered list of problems/issues involved

  • Rather than just grabbing the text from whatever database field and sending it, some processing would have to be done first. This means more load on the servers.
  • HTML is fairly human-readable, and the tags do convey some useful information which would be lost. Of course, receiving plaintext email with the tags could be left in as an option.
  • An organized list, or a few short paragraphs detailing suggestions for implementation

  • There are some great HTML tokenizing/processing Perl modules out there. I believe this could be done fairly easily and succinctly using HTML::TreeBuilder (specifically the get_text() method). I could even suggest specific patches if I knew which of the many files in the CVS repository to look at. I don't have any place to set this up and test the changes, though.
  • Tags: ~ historical
    • Post a new comment


      Anonymous comments are disabled in this journal

      default userpic

      Your reply will be screened

      Your IP address will be recorded