Pebble 1.7-beta1 available
Pebble 1.7-beta1 is available to download from SourceForge. The major enhancements are as follows and you can see the full list in the changelog.
- Blog listeners
- Blog entry listeners
- Comment listeners
- TrackBack listeners
- HTML pages now use CSS positioning rather than nested tables.
- Inclusion of nofollow decorator.
- Comment and TrackBack spam protection.
Plugin APIs
Essentially, the biggest change between 1.6 and 1.7 is the addition of the 4 new plugin APIs that I've talked about before - comment and TrackBack, blog entry and blog listeners. As with the rest of Pebble, plugins can be managed through the web interface where you can perform the following.
- Change the plugins that are configured for your blog.
- Modify the plugin properties that are configured for your plugins.
- Restart (reload) your blog to activate your new configuration.
Comment and TrackBack spam
The main driver for doing an early release of Pebble is comment and TrackBack spam, especially because there seems to be deluge of new spam on a lot of sites at the moment. I finally got around to implementing PEB-4 and one new feature is the ability to let you manually moderate incoming responses. On arrival, each response can be marked as pending and it's up to a blog contributor to approve or reject the response before it is published. When used in conjunction with e-mail notiications, the blog owner will receive an e-mail asking them to approve/reject the response.
Another new feature is the ability for Pebble to automatically filter out responses that it thinks are spam. Included in the Pebble distribution are several listener implementations that you can use to help fight comment and TrackBack spam on your blog. New responses (comments and TrackBacks) start off with a "spam score" of 0 points before being processed by the listeners that you have configured. When using the recommended list of listeners the following steps take place each time a response is added.
- The number of links is checked and if greater than the threshold, the response is marked as pending and the spam score is increased by 1 point.
- The content is checked against the list of regular expressions and if the number of occurences exceeds the threshold, the response is marked as pending and the spam score is increased by 1 point. This is repeated for the response title, author and website.
- The spam score of the response is checked against the threshold and if exceeded, marks the response as rejected.
- The status of the response is checked and if rejected, the response is deleted.
- An e-mail notification is sent if the status of the response is approved or pending.
Upgrade notes
As a beta release, there are a few upgrade notes.
- Some of the existing functionality (e.g. e-mail notifications and XML-RPC pings) is now implemented through plugins, so you'll need to configure the relevant listeners if you'd like to continue using these features. Please see blog entry listeners, comment listeners and TrackBack listeners in the documentation for more details.
- The default theme is now implemented using CSS positioning and some of the JSPs have been updated to reflect the new functionality available (e.g. comment approval). Theme upgrade instructions are missing from the documentation set and backwards compatibility to older themes has not been tested yet.
- Limited testing has been performed on Tomcat and Resin.
This release is feature complete and apart from any bugs that arise over the next week or so, further documentation updates are the only thing outstanding from a final 1.7 release. Please use JIRA or the pebble-users mailing list if you have any problems. Enjoy!
Simon is a hands-on software architect and a senior consultant at 

