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 Mon, 11 Mar 2019 15:46:35 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|