I recently wanted to add a variable to my book template with a list of contributors to a wiki page. My "wiki" is a node type and I am using the excellent revision moderation module to let users submit revisions to nodes. I really want to recognize those who submit revisions. To do so, I decided to add a list of revision authors on each wiki page.

Eric and I have been trying to save money and after Dish let us know that prices would be going up again, I started investigating alternatives. We both have realized that we can live without cable but not without DVR. Watching American Idol live is a painful experience. It’s must skip TV.

It seems like there are two big options. We can go with a bundled system or go with a combo of software and an HD tuner stick. I already have an unused Mac Mini available for DVR duties.

In no particular order, here are the options we’re exploring.

2009 Oscar Picks

Sunday
Feb 22,2009

For the past three years, I've run OscarFrenzy.com with my friend Dave. Since college, we've competed in an Oscar pool. There are my picks for this year, Dave and I also made official Oscar Frenzy picks.

Best Picture - Slumdog Millionaire

Best Director - Danny Boyle, Slumdog Millionaire

Best Actor - Mickey Rourke, The Wrestler

Best Actress - Kate Winslet, The Reader

Best Supporting Actor - Heath Ledger, The Dark Knight

Best Supporting Actress - Penelope Cruz, Vicky Cristina Barcelona

GMailThis for Google Apps

Sunday
Feb 22,2009

I recently tried to set up the really useful GMailThis! bookmarklet for a Google Apps email site and found that I had to slightly change the code to get it working.

The original Javascript is at http://contrapants.org/blog/2005/07/gmailthis.html. Here it is:

  1. <a href="javascript:popw='';Q='';x=document;y=window;if(x.selection) {Q=x.selection.createRange().text;} else if (y.getSelection)
  2. {Q=y.getSelection();} else if (x.getSelection) {Q=x.getSelection();}popw = y.open('https://mail.google.com/mail?view=cm&

My mom and dad recently moved from using AOL for email to using Apple’s Mail program. However, they couldn’t figure out how to transfer their AOL contact list to Apple’s Address Book. AOL does not provide any type of export functionality. Here are the steps I took to transfer their records to Apple’s address book.

  1. Logged into AOL online and switched to the Accessible Version. There is a link to switch that’s part of the AOL mail footer.

  2. Selected “Contacts” in the left navigation.

I'm trying to decide between using a CCK field or taxonomy to classify content on a new site. We plan to have various node types (video, podcasts, forum topics, news articles, courses, etc.) and want to be able to dynamically pull together all nodes with the same tag in a page. There will be dynamic pages for both universities and topics. The topics will have a hierarchy. For example:

Drupal Talk Tomorrow

Wednesday
Sep 03,2008

I'll be giving a very brief overview of Drupal tomorrow at our first Drupal meetup in Durham. Here's my presentation:

Awhile back, I wanted to add author names to the Drupal search index. After poking around a bit, I found that this was actually pretty easy. I created a new module called custom_helper and in it put the following function:

  1. <?php
  2. //Adding author name to the search index
  3. function custom_helper_nodeapi($node, $op, $arg = 0) {
  4. switch ($op) {
  5. case 'update index':
  6. if ($node->uid) {
  7. $user = user_load(array('uid' => $node->uid));
  8. return $user->name;
  9. }
  10. }
  11. ?>

Syndicate content