Source for file livejournal.cw.php
Documentation is available at livejournal.cw.php
//http://mylittlename.livejournal.com/
require_once 'Services/Blogging.php';
$post = $bl->createNewPost();
$post->title = 'Testtitle';
$post->content = "This is a test post by Services_Blogging\r\nSecond line\r\nThird one";
echo 'post id: ' . $post->id . "\r\n";
$post->content = 'And this is a changed one';
$post = $bl->getPost(-1);
echo date('Y-m-d H:i:s', $post->date) . "\r\n";
Documentation generated on Sat, 27 Jan 2007 12:00:07 -0500 by phpDocumentor 1.3.0. PEAR Logo Copyright © PHP Group 2004.
|