Ahem, Look Over Here, Please

Well, isn’t that something? This little blog made The Full Metal Jacket Saturday link-a-thon AGAIN this week. For those whose SAT scores only qualify them for jobs in the WH press office, The Full Metal Jacket Saturday is a link-loaded extravaganza over at The Other McCain. Stacy (and assistant Smitty) are prolific writers, dishing out mountains of conservative commentary, with a dump truck load of snark as a side dish. Definitely a fun place to hang out!

Imagine my surprise when I scored the first mention, only two weeks ago. Little me, I thought it was just a favorable galactic burp in my general direction, but twice now?! My star must be a’risin’!

Advertisements

2 Comments

  1. C. Smith said,

    April 3, 2009 at 5:23 pm

    The FMJRA is brought to you by Python, MS Access, notepad, Firefox, and a lot of fun. Get a copy of http://www.activestate.com/activepython and go:
    ============================
    import urllib2
    import re

    MIN_PAGE = 1
    TOP_PAGE = 15
    f = open(‘c:\\Documents and Settings\\smitty\\techno.txt’, ‘w’)
    URL = “http://technorati.com/blogs/rsmccain.blogspot.com?reactions&page=”
    rx = re.compile(‘<a class=”external” rel=”bookmark”.*?href=”(.*?)”.*?\s*(.*?)\s*.*?class=”published”>\s*(.*?)\s*.*?blog reactions”>Authority:\s*(.*?)’, re.S)

    for i in range(MIN_PAGE,TOP_PAGE):
    print i
    x = urllib2.urlopen(URL + str(i))
    mc = rx.findall( x.read() )
    for m in mc:
    f.write( “%s\t%s\t%s\t%s\n” % m )
    f.close()
    print “done”

  2. C. Smith said,

    April 3, 2009 at 5:23 pm

    The blog screws up the indentation, sorry.


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: