To Sara, from Gretchen (via Michael‽)

by Michael S. Kaplan, published on 2006/04/13 03:00 -04:00, original URI: http://blogs.msdn.com/b/michkap/archive/2006/04/13/575529.aspx


(If there was ever a use for the INTERROBANG, this post would likely be it.... I wish it would work in the title of the post!)

I am not sure where the term 'blog pimping' came from, but I guess it is time that I used it, since everyone else seems to be....

The process first started for me when I got some help in making my blog look more like I wanted it to from Josh Ledgard, as I described here.

In other (sad) news, the better half of blogging power couple #2 (Gretchen) is leaving Microsoft, and her last day is Friday. :-(

But the reason I am posting right now is that Sara Ford (who as an aside now reports to Josh) asked Gretchen

How did you get this on your blog?  CSS override?  New Community Server feature?

This comments section should be used to discuss the current post.

If you have a question about Microsoft technical recruiting, please visit our
FAQ or search our archives.

If you have a specific question or feedback about your recruiting experience, please contact your Microsoft recruiter directly. Recruiters are always happy to hear from you!

If you have experienced a technical issue with the Microsoft careers website, please
log your bug.

And of course, if you would like to apply for opportunities at Microsoft (that would be great!), you can
send your resume to us today!

Thanks as always for your comments!

The JobsBlog Team

Of course what was funny was that Sazra asked the question about an hour after the change went live on JobsBlog!

I actually started doing it because of the problems I was having with anonymous comments just this last February, some of which have been resolved by some of which have not yet. Anyway, this last Friday Gretchen noticed and asked me how I did it.... so I sent her the code and a few days later she went live with it (check any recent post on JobsBlog to see what she put right above where you enter comments!).

I'll have to ask Gretchen how she gets people noticing the bottom of her posts so much more quickly than they notice mine!

So Gretchen answered Sara's question thusly:

It's an addition of some code in the "news" section. Michael ... I sense a blog hacking post in your future. ;-)

You can think of this post as a present for Sara, from Gretchen. It never would have occurred to me to write this up if she hadn't had this premonition. Or does it not count as a premonition if the person being psychic suggests it? :-)

Anyway, for the how it works piece, the actual pimping in this post....

Two parts to the script I added:

The script:

<script language=javascript type="text/javascript"><!--
window.onload = function() {
  // Enumerate headers after document is loaded.
  var i, h3s = document.body.getElementsByTagName("h3");
  for (i = 0; i < h3s.length; i++) {
    var elem = h3s.item(i);
    if (elem.innerHTML == "What do you think?") {
        elem.innerHTML = "<big>So what do you think about it?</big><br><br><small><small>A few words about comments:<ul><li>No HTML tags are currently supported;</li><li>Comments can only be made up to 90 days after the post originally went online.</li></ul></small></small>";
    }

  // Enumerate italics after document is loaded.
  var k, EMs = document.body.getElementsByTagName("em");
  for (k = 0; k < EMs.length; k++) {
    var words = EMs.item(k);
    if (words.innerText == "New Comments to this post are disabled") {
      words.innerHTML = "Comments are closed after 90 days. Frustrating? Perhaps. But you could maybe <a href="/michkap/articles/512061.asp">Suggest a Topic</a>, instead?"
}

And that's it -- you can put as much or as little text as you like, or even HTML if you want to....

Enjoy!

 

This post brought to you by "" (U+203d, a.k.a. INTERROBANG)


# saraford on 13 Apr 2006 3:49 AM:

What would we ever do without that news section in our blogs?  =)  Thanks for the answer!

# Michael S. Kaplan on 13 Apr 2006 9:41 AM:

Any time, Sara! :-)

# A.C. on 13 Apr 2006 9:48 AM:

> I'll have to ask Gretchen how she gets people noticing the bottom of her posts so much more quickly than they notice mine!

Are you seriously asking how people could notice Gretchen's bottom more quickly than yours? You need to get out more!

# Michael S. Kaplan on 13 Apr 2006 10:19 AM:

Hi A.C.,

Hmmm.... I hope you washed your hands after you typed that comment up. Yours is one case where the reader had a much dirtier mind than the writer! :-(

# Dennis E. Hamilton on 13 Apr 2006 2:18 PM:

I was at Remington Rand Univac when the Interrobang was introduced.  They were quite proud of it, and having it be recognized by whoever recognized new glyphs/characters at the time.  (Other prideful things were Soundex, PERT, and of course the 1952 election predictions.)  

I never saw it show up on a typewriter, though.  And until today, I didn't realize that interrogative has two r's [;<).

# Maurits on 13 Apr 2006 9:48 PM:

> I never saw it show up on a typewriter, though

On a typewriter you don't need it... you just type ?, back up a space, and type ! over the top.

referenced by

2006/04/16 She slipped out last Friday

go to newer or older post, or back to index or month or day