Source for file wordpress.movabletype.cw.php
Documentation is available at wordpress.movabletype.cw.php
//http://mylittlename.wordpress.com/
require_once 'Services/Blogging.php';
//$bl = Services_Blogging::factory('metaWeblog', 'mylittlename', 's3rgq8cqr32', 'http://mylittlename.wordpress.com', '/xmlrpc.php');
$post = $bl->createNewPost ();
$post->title = 'Modified post title';
$post->content = "This is a modified test post by Services_Blogging\r\n\r\nSecond line\r\nThird one";
$post->categories = array ('cat1', 'cat3');
$nLastPostId = $post->id;
echo 'post id: ' . $post->id . "\r\n";
Documentation generated on Mon, 11 Mar 2019 15:46:35 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|