Integrating tumblr blog with website

blogs, php, tumblr

Solution

You can use PHPTumblr, an API wrapper written in PHP which makes retrieving posts a breeze.

Problem

I would like to integrate my tumblr feed in to my website. It seems that tumblr has an API for this, but I'm not quite sure how to use it. From what I understand, I request the page, and tumblr returns an xml file with the contents of my blog. But how do I then make this xml into meaningful html? Must I parse it with php, turning the relevant tags into headers and so on? I tell myself it cannot be that painful. Anyone have any insights?

Original source