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('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'];
}
Related Content

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
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
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

2010 has been an inflection point for the Acquia partner program. We are doing more business than ever with partners, including case studies with Palantir.net, Blink Reaction, and IBM Global Services.
Bryan House
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
It sounded like a really simple request: "Is it easy to add a search filter for 'My posts'?". In other words, add a search result facet for posts by the current (logged in) user through the Apache Solr Search Integration module APIs?
But then the wheels start turning - we want not just one blind link, but a real facet link that tells us how many results we'll get. Also, if we are filtering by 'My posts' then we probably have an equal use case for the opposite filter 'Posts not by me'. So we really need a facet block with two links and facets counts.
Peter Wolanin







Comments
May we know how can we can
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
Hi
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.