PHP Class bloggerclient, aprilchild

include_once("class.bloggerclient.php"); $username = "whoever"; $password = "password"; $blog = new bloggerclient($username, $password); $postid = "8450106"; $myPost = $blog->getPost($postid);
Afficher le fichier Open project: aprilchild/aprilchild

Méthodes publiques

Свойство Type Description
$XMLappID
$XMLpassword
$XMLusername
$apiName should not need to change
$appID
$bPath should not need to change
$bServer replace with one from http://plant.blogger.com/api/register.html
$blogClient

Méthodes publiques

Méthode Description
bloggerclient ( $username, $password )
connectToBlogger ( ) Returns a connection object to the blogger server
deletePost ( $postID, $publish = false )
editPost ( $blogID, $textPost, $publish = false )
errTest ( $result_struct )
exec ( $req )
getPost ( $postID )
getRecentPosts ( $blogID, $numPosts )
getTemplate ( $blogID, $template = "main" )
getUserInfo ( )
getUsersBlogs ( )
getUsersBlogsSelect ( $name = "blog", $selected = "", $extra = "" ) $name as it would have for the select
newPost ( $blogID, $textPost, $publish = false )
setTemplate ( $blogID, $template = "archiveIndex" )

Method Details

bloggerclient() public méthode

public bloggerclient ( $username, $password )

connectToBlogger() public méthode

Returns a connection object to the blogger server
public connectToBlogger ( )

deletePost() public méthode

public deletePost ( $postID, $publish = false )

editPost() public méthode

public editPost ( $blogID, $textPost, $publish = false )

errTest() public méthode

public errTest ( $result_struct )

exec() public méthode

public exec ( $req )

getPost() public méthode

public getPost ( $postID )

getRecentPosts() public méthode

public getRecentPosts ( $blogID, $numPosts )

getTemplate() public méthode

public getTemplate ( $blogID, $template = "main" )

getUserInfo() public méthode

public getUserInfo ( )

getUsersBlogs() public méthode

public getUsersBlogs ( )

getUsersBlogsSelect() public méthode

$name as it would have for the select
public getUsersBlogsSelect ( $name = "blog", $selected = "", $extra = "" )

newPost() public méthode

public newPost ( $blogID, $textPost, $publish = false )

setTemplate() public méthode

public setTemplate ( $blogID, $template = "archiveIndex" )

Property Details

$XMLappID public_oe property

public $XMLappID

$XMLpassword public_oe property

public $XMLpassword

$XMLusername public_oe property

public $XMLusername

$apiName public_oe property

should not need to change
public $apiName

$appID public_oe property

public $appID

$bPath public_oe property

should not need to change
public $bPath

$bServer public_oe property

replace with one from http://plant.blogger.com/api/register.html
public $bServer

$blogClient public_oe property

public $blogClient