Canned Emails – a minimal site with prewritten emails
cannedemails.com
cannedemails.com
var output = "";
$('h2 a').each(function(i) {
output += "TITLE: " + $.trim(this.innerHTML) + "\n";
var email = decodeURIComponent(this.href).slice(13).split("&subject=");
output += "SUBJECT: " + email[1] + "\n";
output += "BODY:\n" + email[0].replace(/\n( )+/g, "\n") + "\n\n\n\n";
console.log(output);
});
That being said I love the site :) console.log(output);
needs to be last line outside each() :) Or move var content = "" inside each() $("h2 a").each(function(){
var email = decodeURIComponent(this.href).slice(13).split("&subject=");
var subject = email[1];
var body = email[0].replace(/\n( )+/g, "\n");
var parent = $(this).parent("h2")
parent.after($("<div />").text(body));
parent.after($("<h4 />").text(subject));
});There's some weird formatting going on though. I might be using slightly old and lightweight e-mail client (M2 in Opera12), but I still don't think it should look like this http://puu.sh/fTYSp/c4f0a3bb84.png
Why not add a canned mail for "will you marry me?", "Your parents were involved in a crash" and "you have 6 months to live" ?
Also, if someone will send me an "Hey. How's it going?" canned mail, I can assure you they won't be hearing from me.
I admit I find it hard to fathom how someone would have such a lack of respect for their relationships with other people (and therefore, implicitly, lack of respect for themselves) that they would actually use this for personal communication.
However, I like the idea of this website.
<!-- html ignored --><!-- head ignored --><!-- meta ignored --><body><p>
Otherwise, very cool.
Just ask.
The socially correct response is either something like "fine", or to repeat the question. Note that if you're going to answer it as a question, the correct answer is always "fine" regardless of whether one really is fine; if you said something like "terrible" you'd be obliging a stranger to pry into your personal business. The fabric of society is very complex, as someone once said.
These are all valid in various dialects/registers of native English:
Greeting: How are you?
Response: Fine, thank you
-
Greeting: How are you?
Response: How are you?
-
Greeting: How do you do
Response: How do you do
-
Greeting: Sup
Response: Sup