Header image

TumblrDialogue

Combine multiple Tumblr data feeds in to a chronological dialogue.

TumblrDialogue combines multiple Tumblr feeds into a single data feed sorted in descending chronological order.

It is based on a modified version Evan Walsh’s Tumblr PHP class.

Installation and Use

Download the modified Tumblr class and the TumblrDialogue class above and upload to your web server.

Use as follows:

<?php

require_once('TumblrDialogue.php');

$tumblelog_urls = array('http://alexdunae.tumblr.com'
                        
'http://demo.tumblr.com');

$dlg = new TumblrDialogue();
$dlg->init_cache('600''');
$dlg->read_multiple($tumblelog_urls);

foreach(
$dlg->posts() as $post)
  print 
$post['date'];

License and contacts

TumblrDialogue was written by Alex Dunae at Dialect (code[at]dialect[dot]ca), 2008.
TumblrDialogue is distributed under the GNU General Public License 3.0.