You Too Can Search for @planetmoney

I was challenged by @aimeesblog to help her prettify the Planet Money chatter page she had built onher blog. Needing some more experience in PHP and mostly just liking a challenge, I accepted.  Below is the code I came up with after reading through the work of people much smarter than I.

There’s still one problem with it: any replies that are followed immediately by a comma are not turned into links.  Also, I should probably make this more generic to allow a search term to be passed into it and the appropriate feed to be returned, but with it being built to be a WordPress plugin and not really knowing their API very well, this was what I settled on for the first version.

As you might have guessed, I’m calling it PlanetTwitter. Oh and if you aren’t already, listen to Planet Money.

You can find the code here.

This entry was posted in Randomness. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *