Interblog Menus

A “recent comment”:http://joeyday.com/2004/12/29/delicious#comments from “Winslow Oddfellow II”:http://winslowslair.supremepixels.net/:

bq. By the way, how did you get that InterBlog thinger on your sidebar?

That’s a good question. It’s actually kinda funny, since right now my “Avocation” blog is powered by WordPress and my “Foundation” blog is still running on Movable Type. They refer to each other with what appear to be identical menus, but they are almost as different as night and day.

To achieve the correct output in WordPress, I created an “interblog.php” file that contains the following code:

bq.. <?php require(‘./wp-blog-header.php’); ?>

<h2><a href=”http://joeyday.com”>Avocation</a></h2>
<ul>
<?php $posts = get_posts(‘offset=0’); foreach ($posts as $post) : start_wp(); ?>
<li id=”post-<?php the_ID(); ?>”><a href=”<?php the_permalink() ?>” title=”Permanent Link: <?php the_title(); ?>”><?php the_title(); ?></a></li>
<?php endforeach; ?>
</ul>

p. In Movable Type, I created a custom template called “tpl-interblog.inc”, which outputs a static file called “interblog.inc”. It looks like this:

bq.. <h2><a href=”http://www.joeyday.org”>Foundation</a></h2>
<ul>
<MTEntries lastn=”5″>
<li><a href=”<MTEntryLink>”><MTEntryTitle></a></li>
</MTEntries>
</ul>

p. both of them get included from the other blog using nearly identical code:

bq. <?php requre (‘http://joeyday.com/interblog.php’); ?>

As you can see, it’s all pretty straightforward, but it took me a few minutes of head-scratching to figure it out. Hope this is useful for others who wish to refer to entries between multiple blogs.

Interpolation Sidebar

Using instructions provided by Jon Hicks over at “Hicksdesign.co.uk”:http://www.hicksdesign.co.uk/journal/626, I’ve added a new item to my sidebar (it’s getting kinda long, isn’t it?). It’s a dynamic list of links pulled from my [del.icio.us] bookmarks. From time to time I’ll post links I feel are interesting, but not interesting enough to deserve a full post.

It&#039;s Official

I’m a “Computer Science”:http://www.cs.utah.edu major at the “U”:http://www.utah.edu.

del.icio.us

Well, I feel like I’m a little behind the rest of the internet world, but I’ve finally discovered “del.icio.us”:http://del.icio.us. Have you discovered del.icio.us? If you use it regularly, let me know your username so I can add you to my list. My username is “joeyday”:http://del.icio.us/joeyday.

A Word of Relief

A few days ago, I blogged the following:

bq.. A Word of Advice

Don’t lose your wallet. Ugh.

p. Yes, I was speaking from personal experience. On Thursday, December 9, I lost my wallet. Actually, it’s quite a bit more than just a wallet. It’s a small “zippered folio”:http://shopping.franklincovey.com/shopping/catalog/product2.jsp?navAction=push&navCount=3&id=prod114 (mine is actually blue, but the line has been discontinued and this is the only picture I can find online) that contains, in addition to my driver’s license and credit cards, my “palmOne Tungsten E”:http://palmone.com/us/products/handhelds/tungsten-e/.

Not only is the Palm itself worth $199 (of course, mine is worth less since it is used), but I also have a 512 MB Secure Digital card inside that I paid $100 for (these are going for $50 now if you know where to look). The price isn’t nearly as important to me as the files that are held on the card. Since I don’t have one single computer I can call my own (I bounce around between my PC here at work, my fiancée’s computer, and my mom’s computer), I keep all of my personal files on my SD card.

I left my wallet in a shopping cart at a local grocery store. I realized less than an hour later and called the store to see if someone had turned it in. No such luck. I called again two or three more times, all the while watching my bank statements like a hawk looking for any bogus charges. After 48 hours, I gave up on finding it, cancelled my cards, and went down to the local DMV to get a new license. I figured if someone decent had found it, they would’ve turned it in by then or at least contacted me.

Fortunately, last Saturday my wayward wallet found it’s way to my parents’ mailbox. Everything is intact. All my credit cards, my ID, my Palm, my SD card — everything (I very rarely use cash, so there was none in the wallet when I lost it). Ironically, my new credit cards arrived in the mailbox that same day.

Whoever you are, I’m sure you’ll probably never read this, but thanks for doing such a decent thing. I’m sorry I didn’t have much faith in you — I thought for sure you were selling my Palm on eBay by now. Your simple act of kindness means more than I can attach any dollar amount to.