Giving our customers the gift of Ham: Mollom provisioning API

Jacob Singh's picture

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('whitehouse.gov', 'obama@whitehouse.gov');
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

May we know how can we can

Posted on June 28, 2010 - 7:28am by Garrett Brown.

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

Jacob Singh's picture
Jacob Singh
Acquia Staff

Hi

Posted on June 28, 2010 - 9:40am 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.

Related Content

Related Posts

  • jay's picture

    I continually marvel at how much better the open source world works than the old proprietary software software world.

    Yesterday I encountered an amazingly good illustration. I was discussing Drupal Commons with a team from a large, household-name enterprise that is planning a social business site. And boy, they had lots of questions!

    Jay Batson
  • alindahl's picture

    Drupal Commons, Acquia’s new Social Business Software distribution of Drupal, is no doubt getting everyone excited. We’re especially seeing interest in the enterprise and public sector. The community solution is important because its an open source alternative to (social business software products like) Jive and another way to accelerate adoption of Drupal in the marketplace. Drupal Commons evolved because of countless inquiries and interest from organizations who want to use Drupal to build community sites. Not surprisingly, many other Drupal distributions evolved for the same reasons.

    Alex Lindahl
  • Gabor Hojtsy's picture

    It is that phase of my life! I'm just turning 30 in a month, working with Drupal for 7 years and just had my third Acquia anniversary a week ago. Time to look back and evaluate how things went, all the good and bad things; even better if the wisdom can be shared with others. This was part of my thinking when I submitted the session titled "Come for the software, stay for the community" for Drupalcon Copenhagen.

    Gábor Hojtsy

AcquiaBlog