Canned Emails – a minimal site with prewritten emails
31–39 of 39 posts
Re: Canned Emails – a minimal site with prewritten emails
#32The fact that there's a canned e-mail for breaking up is slightly disturbing.
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.
Re: Canned Emails – a minimal site with prewritten emails
#33You should never ask to ask for a question. And you shouldn't announce your question. Just ask.
Similarly, I believe you shouldn't ask strangers how are they or even use it as a greeting.
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
Re: Canned Emails – a minimal site with prewritten emails
#34The fact that there's a canned e-mail for breaking up is slightly disturbing.
Just slightly? This is what led me to believe at first that the site is meant to be humorous and not something serious. 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 s…
Re: Canned Emails – a minimal site with prewritten emails
#35Today I contributed to the greater good of society: 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()
Re: Canned Emails – a minimal site with prewritten emails
#36Today I contributed to the greater good of society: 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 :)
Slightly tweaked your script to display inline $("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($(" ").text(body)); parent.after($(" ").text(subject)); });
Re: Canned Emails – a minimal site with prewritten emails
#37Re: Canned Emails – a minimal site with prewritten emails
#38Today I contributed to the greater good of society: 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 :)
Slightly tweaked your script to display inline $("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($(" ").text(body)); parent.after($(" ").text(subject)); });
Re: Canned Emails – a minimal site with prewritten emails
#39Wow, so much potential. 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