function tumblr(resp) {
	var posts = resp.posts;
	$('#tumblr .loading').replaceWith('<ul/>');
	$ul = $('#tumblr ul');
	for (var i=0; i<posts.length; i++) {
		var p = posts[i];
                var title = p['regular-title'] || p['link-text'] || null;
		if (title)
			$ul.append('<li><a href="'+p['url']+'">'+title+'</a></li>');
	}
}