» Visit full Bubble Vision Tumblr blog ...

xpath("/tumblr/posts/post"); foreach($posts as $post) { $address = $post['url-with-slug']; $category = $post['type']; $when = date("D jS M, H:i",strtotime($post['date'])); $postid = $post['id']; echo '

'.$when.'

'; if ($post['type'] == 'regular') { $regtit = $post->{'regular-title'}; echo ''.$regtit.''; } if ($post['type'] == 'conversation') { $contit = $post->{'conversation-title'}; echo ''.$contit.''; } if ($post['type'] == 'regular') { $small_post = substr($post->{'regular-body'},0,800); echo $small_post.'...'; } if ($post['type'] == 'quote') { echo $post->{'quote-text'}; echo $post->{'quote-source'}; } if ($post['type'] == 'photo') { $photourl = $post->{'photo-url'}; echo ''; echo $post->{'photo-caption'}; } if ($post['type'] == 'link') { $linkurl = $post->{'link-url'}; echo $post->{'link-text'}; echo '

'.$linkurl.'

'; echo $post->{'link-description'}; } if ($post['type'] == 'conversation') { echo $post->{'conversation-text'}; } if ($post['type'] == 'video') { $videosource = $post->{'video-source'}; $videoid = substr($videosource,-11); echo ''; echo $post->{'video-caption'}; echo '

» Watch the video on YouTube ...

'; } if ($post['type'] == 'conversation') { echo $post->{'audio-caption'}; echo $post->{'audio-player'}; echo $post->{'audio-plays'}; } echo '

» Read more and comment on Tumblr ...

'; echo '
'; } ?>

» Read older posts on full Bubble Vision Tumblr blog ...


Sea Shepherd Conservation Society
Nick Hope