From 1c929509a328a27daf1f48b389ec3a05ae9b897e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 8 Jun 2002 12:30:36 +0000 Subject: - Removed the redundant "enable/disable" setting from the Blogger API module. - Revised the documentation: fixed about 5 typos, removed the bit about downloading the module from the Drupal contributions repository, updated the installation guidelines, etc. --- modules/bloggerapi.module | 36 +++++++++++++----------------------- 1 file changed, 13 insertions(+), 23 deletions(-) (limited to 'modules') diff --git a/modules/bloggerapi.module b/modules/bloggerapi.module index 49e0b4bf8..c663762a4 100644 --- a/modules/bloggerapi.module +++ b/modules/bloggerapi.module @@ -152,7 +152,7 @@ function bloggerapi_driver($method, $params = 0, $error = 0) { $user = bloggerapi_validate_user($cparams[2], $cparams[3]); } - if ($user->uid && variable_get("bloggerapi", 0) && user_access("access bloggerapi")) { + if ($user->uid && user_access("access bloggerapi")) { if (user_access("post content")) { /* @@ -360,10 +360,6 @@ function bloggerapi_watchdog() { return array("bloggerapi" => "#B600FF"); } -function bloggerapi_conf_options() { - return form_select("Blogger API", "bloggerapi", variable_get("bloggerapi", 0), array("Disabled", "Enabled"), "Allow or disallow remote posting to your site via the Blogger API."); -} - function bloggerapi_perm() { return array("access bloggerapi"); } @@ -382,11 +378,9 @@ 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, 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 "user", "op" => "help")) ?> requests)

-

Drupal Implementation

+

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.

+

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.

@@ -397,34 +391,30 @@ It is certainly not the best implementation of a distributed weblog API. For a p 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 corrosponding blogger-dev mailing list posts:

+

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

+

Installation and usage

-

The Blogger API exists as a Drupal module (bloggerapi.module) which can be downloaded from cvs-contrib. For instructions on how to access the CVS repositories please see this document. -Once downloaded the module simple needs to be copied to you Drupal modules directory. Under the "Settings and Filters" tab in the administration menue look for the Blogger API entry. There are two settings for the module either enabled or disabled. Also make sure you have you permission set correctly for accessing the Blogger API, the relevent setings can be found under the "User Management" tab in the administration menu.

+

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.

+

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

-

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

- -

Notes and Limitations

+

Notes and limitations

Credits

-

The original Drupal Blogger API implementation was authored by Julian Bond, and updated by the Drupal Development Team. +

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