Forum Moderators: bakedjake
post_my_blog.php:
<?
include_once("class.bloggerclient.php");
$username = "BLOGGER USERNAME";
$password = "PASSWORD";
$blog = new bloggerclient($username, $password);
$blogid="MYBLOGID";
$publish=true;
$newposting="<a href='http://www.yahoo.com'>Yahoo</a>
this is a test";
$newpost=$blog->newPost($blogid,$newposting,$publish);
?>
To use from the command line just do a
php post_my_blog.php
(you must have the php cli installed)