May17
Stocklamp Blog: Putting your tumblr posts on your websites the easy way using PHP
get your tumblr feed:
http://stocklamp.tumblr.com/api/read/xml
(replace stocklamp with your blog name)
then the PHP:
<?
$xml = simplexml_load_file(‘http://stocklamp.tumblr.com/api/read/xml’);
$posts = $xml->xpath(“/tumblr/posts/post[@type=’regular’]”);foreach($posts as $post) {?>
…







