Giving our customers the gift of Ham: Mollom provisioning API

Well, Sprint 39 just finished up at Acquia Engineering and we've got a number of new exciting features and bug fixes releasing to Drupal Gardens in the next week.  One of these is Mollom - the best spam protection service on the internet - for all Drupal Gardens site owners.  For those not in the know, Mollom protects your site from spam by analyzing the contents of comments or other content that is contributed by users and presenting Captcha challenges if the content is suspect.

What this means for Drupal Gardens beta testers:

You'll get setup with the best spam protection available from Mollom.  No cost, nothing for you to do.  Just works.

What this means for Developers who want to provide Mollom to their customers:

Most people aren't aware, but Mollom offers an extensive provisioning API for Mollom partners to create accounts on behalf of their customers.  Gábor Hojtsy and I got to work on this feature and Gábor wrote the mollomapi module which does the provisioning. Here's a sample of how the API works:

$mollom_keys = mollomapi_site_add('acquia.com', 'acquia@acquia.com');
if (!empty($mollom_keys) && is_array($mollom_keys)) {
  $public_key = $mollom_keys['public_key'];
  $private_key = $mollom_keys['private_key'];
}
Cool. right?  The full API docs are available from Mollom, so feel free to get in touch with mollom, request a reseller account and continue the quest to rid the 'net of spam!

Comments

Posted on by cellhub (not verified).

May we know how can we can get this Mollom setup in our system to avoid spamming? We appreciate that this absolutely free.

Posted on by Jacob Singh.

Hi Garrett:

http://mollom.com if you are hosting your own webiste and want to add mollom.

http://signup.drupalgardens.com if you want to try out Drupal Gardens (our hosted Drupal site building tool). DrupalGardends now comes with Mollom built in.