Embed RSS Feeds in WordPress

WordPress makes it easy (well, kind of) to embed RSS feeds into your WordPress template, so you can have a feed displayed in your sidebar, footer, or anywhere else you want in your PHP files. To do this, I used a combination of code from Darren Hoyt and Jeriko.

first, from Darren

<?php
require_once (ABSPATH . WPINC . '/rss.php');
$rss = @fetch_rss('RSS FEED HERE');
if ( isset($rss->items) && 0 != count($rss->items) ) {
?>
<ul>
<?php
$rss->items = array_slice($rss->items, 0, NUMBER OF ITEMS);
foreach ($rss->items as $item ) {
?>
<li>

and then the bit from Jeriko

<a href='<?php echo wp_filter_kses($item['link']); ?>'>
  <?php echo wp_specialchars($item['title']); ?>
</a>
</li>
<?php } ?>
</ul>
<?php } ?>

Backup Contacts With Google Sync

A friend of mine (@mindstorms6) showed me how he uses Google Sync to backup his phone contacts to his Gmail account.  Like many Google mobile applications, I have found this suprisingly very useful.

I am always paranoid about losing contacts.  My phone is strictly for personal use, but I still have over 100 entries (including numbers, email addresses, etc) in the Address Book.  The thing is, even though I try and save them to the SIM card, they usually automatically save to the phone or switch when I add a picture or ringtone to the entry.  In addition, lakes, pools, and other natural beauties provide more cause to stress.

Anyway, Google Sync provides a free (except for data plan charges of course) way to backup all your phone contacts.  Simply download the program (or click here if you’re on your phone - iPhone, Blackberry, etc) and set your synchronize settings.  Next thing you know, all of your phone contacts will be listed in the “Contacts” section of your Gmail account.

And just like that, my stress is gone.  Enjoy.

Unplug It, Turn It Off and Put It Down

Every now and then, I am in awe at how blessed I am, especially with technology. Let’s face it - I can keep up to date with my favorite sports teams, check my email, look over my exam study schedule, listen to a personalized playlist, audiobooks, or catch up on the latest episodes of Chuck - all while sitting in the bus on the way to class!

It seems as if technology has grown exponentially in the last 20-30 years.  From Bill Gates’ dream of a personal computer in every home (check this out), to the invention of the mobile phone, the iPod, and eventually the combination of the two, technology has changed how we live, think, and act.

It is important, though, to unplug, turn off and put down these devices.  I will be the first to admit that often times I listen to my iPod all day at school, check my Blackberry every 2 minutes, and power up the laptop as soon as I get home.  However, often my most inspirational and most thought-provoking moments are those away from all things battery powered.

Google is famous for encouraging employees to take creativity breaks, where they go outside, chat with friends, and do things non-tech related.   No wonder they are one of the most innovative, user-friendly and groundbreaking companies.

I encourage you to take some time out of your day (it doesn’t have to be much) and distance yourself from your gadgets.  I think you’ll find a refreshing change and a much needed break.  If anything, it will give your thumbs and eyes a chance to relax.