Services_Blogging_Driver_Blogger __construct(
string
$user, string
$pass, [string
$server = null], [string
$path = null])
|
|
Constructor for the Blogger class that authenticates the user and sets class properties. It will return the userinfo if authentication was successful, an exception if authentication failed. The username, password, path to the XML-RPC client and server URI are passed as parameters.
If $server and $path are set to NULL, the default blogger.com address is used.
Parameters:
string getTemplate(
string
$tempType)
|
|
Implements the blogger.getTemplate() method. The BlogID of the blog for which the template must be retrieved and the template type are passed as parameters.
The template type is usually one of 'main' or 'archiveIndex'. The template in HTML format is returned.
A template is the HTML code that represents the format of your blog. It is best to first examine the code that is returned by using this method; modifying it to suit your requirements, and then updating the template using the setTemplate() method.
Parameters:
boolean setTemplate(
string
$tempType, string
$template, string
$blogid)
|
|
Implements the blogger.setTemplate() method. The BlogID of the blog for which the template is to be set, the template type (again: 'main' or 'archiveIndex') and the actual template in the HTML format are passed as parameters.
See the docblock for the getTemplate() to find out what a template is.
Parameters: