LifeStreaming Is Simple As Pie

Its not secret, I love social networking, I cant get enough of it. I also love programming and anything internet related.

I’m not sure how I came across it, but a PHP based, Object Oriented RSS caching tool named SimplePie caught my attention.

Previously I had been using a tool called Last RSS, but I found that Last RSS could not handle ATOM feeds.

Digging into how SimplePie works, I found that I could merge several feeds together, sorted by post time, my first thought was to use this to aggregate and cache all the different music related news feeds that and going to add content to notpopular.com v2.5 (when ever I finish it). I started thinking about it a bit more and thought it would be cool to use SimplePie to mash together all of the different RSS feeds from the different social networks I am on.

It wasn’t that hard to use SimplePie and the various social networks to make something really cool.


//establish the feeds
$pownce = new SimplePie("$pownceRSS_url");
$flickr = new SimplePie("$flickrRSS_url");
$twitter = new SimplePie("$twitterRSS_url");
$digg = new SimplePie("$diggRSS_url");
$youtube = new SimplePie("$youtubeRSS_url");


//merge them all together!
$merged = SimplePie::merge_items(array($pownce, $flickr, $twitter, $digg, $youtube));

Then all you have to do is look over each item in $merged, and output the appropriate info you want.

You can see what I built over at www.JoshHighland.com

One thing I really found great was the API that was on the SimplePie site.

After I put this all together, I found out that there is a term for what I had just built. People are calling them “LifeStreams“, which is a very appropriate term. I thought I had invented something, but guess LifeStreaming is like fire or a spear, given enough time people all over the place will discover it on their own.

I encourage you do set up a LifeStream for yourself and post the URL in the comments below. It’s fun!

My LifeStream: www.JoshHighland.com

UPDATE (10/29/08) :
I was having trouble with my feed from twitter dying after a while. It would only fetch it once, then nothing.I found the answer to my problem on the simplePie blog, http://simplepie.org/blog/2008/08/16/twitter-bug/. I followed the instructions and commented out the If statement on lines 1583-1586, and the twitter feed started to work again. I hope that twitter updates their RSS service so hacks like this aren’t needed.

WordPress 2.5 image upload problem : SOLVED

This afternoon I upgraded my blog to the latest version of wordpress, 2.5. The install went great and it was simple to do. I didn’t realize that I had any problems until I went to make a blog post and upload an image. When I tried to upload, I was greeted with the following:

Something was for sure messed it. I tried it in several browsers, but had the same results. no luck. I started to go some searching online but since wordpress 2.5 is so new, there was little info to be found. After about an hour of stumbeling around I came across a post on a forum where someone said they got the image upload to work by adjusting their .htaccess file on thier site with the following code.

<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>

I made the change to my .htaccess file, and like magic the image upload feature started to work again!

I am making this post in the hopes that other people with similar problems will stumble across this post and be able to fix their problem with out having to wade through all the pages of people trying to diagnose what the problem is when the solution is super easy.

The Windows tools that I use

windows_tools.jpg

I am not a huge fan of windows, but it the operating system I have been running for the past 14 years (if you dont count college, or my current laptop… both were/are linux based). I have Windows Vista at home, and I have to use Windows XP at work.

Over the years, I have found programs that have worked for me. They have worked well, and helped me to get things done. I decided to make a list of the applications that I use on a rather regular basis. These are the things that I would for sure reinstall if my computer was to die tonight. Most of the software is free, and open source. As a result, many of the programs I am about to list also are available for Linux and Apple OSX. So here is the list of windows program that I love, in no particular order (expect Firefox, its at the top of the list)

Web Browsing:

File Searching:

File Comparison:

Text Editor:

Sound Editing:

Windows Enhancements:

Instant Messaging:

CD Burning:

Anti-virus:

Spyware:

Image sharing/hosting:

VOIP:

P2P:

Backup:

  • carbonite (http://www.carbonite.com)
    $50 a year for unlimited off site backup? you better believe i use this. you should also!

Blogging:

Programming:

SSH:

RSS Reader:

FTP:

Key Logging:

Eclipse IDE + ESFTP Plugin = radness

esftptitle.png

I have been using Eclipse as my main code editor for some time now. I have started to really like it as a development environment. Eclipse is very flexible and adaptive to your needs. To illustrate this, I wanted to integrate FTP into eclipse. I wanted the ability to right click a file in the navigator and upload the file to my remote server. I found this with the ESFTP plugin for eclipse. One thing I don’t like is that you have to use sFTP. (I guess life could be worse!)

It’s as easy as unzipping the files from their sourceforge page into you plugins directory and then restarting eclipse. The options to configure it cam be found under the properties menu for each project you have.

esftpusage.gif

Hands down, this is going to speed up my development time. I should make more posts about using eclipse to build the newest version of notPopular.com