Re: RFC: How should HTML archives be viewed?

 
From: "Shane Clintberg" <shaneclintberg@PROTECTED>
Date: August 6th 2005

I wanted you guy's opinion on how HTML archive messages should be viewed At the moment HTML messages are stuck in a iFrame, to preserve any formatting that they may have The rub on this is, well, it's stuck in an iFrame and there's an extra scroll bar and it doesn't really work well with anything else

Scrollbar, schmollbar -- I think the iframe looks fine, once you remove its extra CSS-styled border! And as far as its /function/ goes, it seems like a perfectly appropriate solution to the problem, and one that would apply equally well to "Sent as a Webpage" messages

Note: your putting the message content within the iframe element is unnecessary Leaving it empty as follows:

works just as well and makes it not just an "appropriate" solution, but an elegant one as well

Mind you, this is a dev list so I'm not surprised my opinion is in the minority (so far) ;-)

4) Just change the tag of the HTML message to: , like Yahoo! Mail does - thus having the web browser disregard all the information in the tag (sort sloppy, breaks XHTML compatibility)

If you do decide on the inline solution/option, a less sloppy (and XHTML-compatible) way of doing this would be to change to:

instead And at minimum -- which means you're deleting everything else before & after the ), you'd probably also want to any inline scripting the message might have, too, for security reasons

Of course, if you also want to keep any style in the , you could go beyond that (and continue to "do as Yahoo!"), by:

  1. appending all internal stylesheet selectors with "message_body " (e g : "message_body p {}", "message_body * classtyle", etc );
  2. and then writing that parsed stylesheet into the head of the Dada Mail page as a second element;

but if you go that route, I'd hope that:

  • this parsing is done & saved to a database when a message comes in, rather than on a case-by-case basis when it goes out; and

  • that it remains optional (so those who are perfectly happy with the iframe wouldn't have to put up with the extra processing/database bloat)

Some other "exciting" news:

I hacked in support of inline images in archive messages -

I also hacked together support for having quoted text be styled different in plain text archives messages -

Lovely stuff looks great!

  • This mailing list is a public mailing list - anyone may join or leave, at any time.
  • This mailing list is a group discussion list (unmoderated)
  • Start a new thread, email: dadadev@dadamailproject.com

This is the developer discussion mailing list for Dada Mail.

If you are just looking for support Dada Mail, consult the message boards at:

https://forum.dadamailproject.com

Documentation for Dada Mail:

https://dadamailproject.com/d

Specifically, see the Error FAQ:

https://dadamailproject.com/d/FAQ-errors.pod.html

To post to this list, send a message to:

mailto:dadadev@dadamailproject.com

All subscribers of this list may post to the list itself.

Topics that are welcome:

  • Constructive critiques on the program (I like, "x", but, "y" needs some work - here's an idea on how to make this better...)
  • Bug/Error reports
  • Bug fixes
  • Request For Comments on any changes to the program
  • Help customizing Dada Mail for your own needs
  • Patches
  • Language Translations
  • Support Documentation/Doc editing, FAQ's, etc.
  • Discussion of any changes that you would like to be committed to the next version of Dada Mail -

Dada Mail is on Github:

https://github.com/justingit/dada-mail/

If you would like to fork, branch, send over PRs, open up issues, etc.

Privacy Policy:

This Privacy Policy is for this mailing list, and this mailing list only.

Email addresses collection through this mailing list are used explicitly to work within this email discussion list.

We only collect email addresses through our Closed-Loop Opt-In system.

We don't use your email address for any other purpose.

We won't be sharing your email address with any other entity.

Unsubscription can be done at any time. Please contact us at: justin@dadamailproject.com for any help regarding your subscription, including removal from the mailing list.

All mailing list messages sent from us will include a subscription removal link, which will allow you to remove yourself from this mailing list automatically, and permanently.

All consent to use your email address for any other purpose stated at the time of the mailing list subscription will also be revoked upon mailing list removal.