From 8d2b1238b4d8ebd57848fde665b7f93c3a03cd90 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 29 May 2003 09:15:00 +0000 Subject: - Michael Frankowski's excellent help text improvements! --- modules/bloggerapi.module | 66 ++++++++++++----------------------------------- 1 file changed, 16 insertions(+), 50 deletions(-) (limited to 'modules/bloggerapi.module') diff --git a/modules/bloggerapi.module b/modules/bloggerapi.module index c21202c1e..3b27261bd 100644 --- a/modules/bloggerapi.module +++ b/modules/bloggerapi.module @@ -370,56 +370,22 @@ function bloggerapi_system($field){ } function bloggerapi_help() { - ?> -

Introduction

+ $output .= "

Introduction

Blogger, the well-known public weblog service, provides an application programing interface (API) to allow remote procedure calls (RPC) to the Blogger service. Drupal supports this Blogger API, which means that many remote clients (e.g. Radio, TextRouter, Blogbuddy, w.bloggar, PerlyBlog), may post to Drupal. These clients provide a bevy of interesting capabilities like offline composing, spellcheck, and WYSIWYG editing; many folks prefer to blog with a client application over typical web forms. By supporting the Blogger API, Drupal grows grander than a web site engine, it's a content accepting machine™.

"; + $output .= "

The Blogger RPC API uses the XML-RPC protocol for communicating with the outside world. XML-RPC, originally developed by Dave Winer of UserLand Software, is a simple XML-based RPC specification ideally suited to the web. Drupal also uses XML-RPC for several other tasks (e.g. notifiying weblogs.com of blog updates and making/accepting ". l("distributed authentication", "user/help") ." requests)

"; + $output .= "

Blogger API implementation

A word of warning on the Blogger API: it is unofficial. It exists because Blogger is one of the most popular services and also they were first to implement an XML-RPC interface to their service. It is certainly not the best implementation of a distributed weblog API. For a promising candidate, see Wasabii.

"; + $output .= "

Drupal's support for the Blogger API is quite complete. Each method with an asterisk below has been implemented in Drupal.

"; + + $output .= "

blogger.newPost()*
blogger.editPost()*
blogger.getUsersBlogs()*
blogger.getUserInfo()*
blogger.getTemplate()
blogger.setTemplate()

"; + + $output .= "

Drupal also supports the following methods. These methods were added after the those listed above and are not documented on the Blogger API web site. Each method is linked to its corresponding blogger-dev mailing list posts:

"; + $output .= "

blogger.getPost()*
blogger.getRecentPosts()*
blogger.deletePost()*

"; + $output .= "

Installation and usage

To install the Blogger API module, enable the module in the ". l("Administration >> site configuration >> modules", "admin/systems/modules") ." tab in the administration pages. Also make sure you have your permissions set correctly for accessing the Blogger API, the relevant settings can be found under the ". l("user management", "admin/user/permission") ." section in the administration menu. Check the checkbox behind the line \"access Blogger API\" for the roles that are allowed to use the Blogger API.

"; + $output .= "

Once the API is enabled you can download one of the above mentioned Blogger API clients and get blogging.

"; + $output .= "

Setup of the client

The Drupal page you need to call in order to connect using the Blogger API is http://server/xmlrpc.php where server is the URL of the site you want to post to. As an example when posting to drupal.org, the account settings for w.bloggar would be: host: www.drupal.org (default = plant.blogger.com) and page: xmlrpc.php (default = /api/RPC2).

"; + $output .= "

You can't use remote authentication when posting using a Blogger API enabled client, even when you could use that to authenticate on the site itself. You will have to use the site's local username, enter a password for that account, and then use that combination to post using the Blogger API client.

"; + $output .= "

Notes and limitations

"; + $output .= "

Credits

The original Drupal Blogger API implementation was authored by Julian Bond, and updated by the Drupal team."; + return t($output); -

Blogger, the well-known public weblog service, provides an application programing interface (API) to allow remote procedure calls (RPC) to the Blogger service. Drupal supports this Blogger API, which means that many remote clients (e.g. Radio, TextRouter, Blogbuddy, w.bloggar, PerlyBlog), may post to Drupal. These clients provide a bevy of interesting capabilities like offline composing, spellcheck, and WYSIWYG editing; many folks prefer to blog with a client application over typical web forms. By supporting the Blogger API, Drupal grows grander than a web site engine, it's a content accepting machine™. -

The Blogger RPC API uses the XML-RPC protocol for communicating with the outside world. XML-RPC, originally developed by Dave Winer of UserLand Software, is a simple XML-based RPC specification ideally suited to the web. Drupal also uses XML-RPC for several other tasks (e.g. notifiying weblogs.com of blog updates and making/accepting requests)

- -

Blogger API implementation

- -

A word of warning on the Blogger API: it is unofficial. It exists because Blogger is one of the most popular services and also they were first to implement an XML-RPC interface to their service. It is certainly not the best implementation of a distributed weblog API. For a promising candidate, see Wasabii.

- -

Drupal's support for the Blogger API is quite complete. Each method with an asterisk below has been implemented in Drupal.

- -

-blogger.newPost()*
-blogger.editPost()*
-blogger.getUsersBlogs()*
-blogger.getUserInfo()*
-blogger.getTemplate()
-blogger.setTemplate()

- -

Drupal also supports the following methods. These methods were added after the those listed above and are not documented on the Blogger API website. Each method is linked to its corresponding blogger-dev mailing list posts:

- -

-blogger.getPost()*
-blogger.getRecentPosts()*
-blogger.deletePost()*

- -

Installation and usage

- -

To install the Blogger API module, enable the module in the site configuration - modules tab in the administration pages. Also make sure you have your permissions set correctly for accessing the Blogger API, the relevant settings can be found under the user management tab in the administration menu. Check the checkbox behind the line "access Blogger API" for the roles that are allowed to use the Blogger API.

-

Once the API is enabled you can download one of the above mentioned Blogger API clients and get blogging.

- -

Setup of the client

- -

The Drupal page you need to call in order to connect using the Blogger API is http://server/xmlrpc.php where server is the URL of the site you want to post to. When posting to drupal.org, the account settings for i.e. w.bloggar would be: host: www.drupal.org (default = plant.blogger.com) and page: xmlrpc.php (default = /api/RPC2).

-

You can't use remote authentication when posting using a Blogger API enabled client, even when you could use that to authenticate on the site itself. You will have to use the site's local username, enter a password for that account, and then use that combination to post using the Blogger API client.

- -

Notes and limitations

- - -

Credits

- -

The original Drupal Blogger API implementation was authored by Julian Bond, and updated by the Drupal team. - - -- cgit v1.2.3