<< XML developers | Home | Pebble 2.0.0-RC1 available >>
Twitter RSS feed for Simon Brown [Twitter] simonbrown: wondering whether Adobe's commercial approach to Flex Builder will limit adoption of Flex ... which will be a shame, because I quite like it

Coding the Architecture RSS feed for Simon Brown [Coding the Architecture] As mentioned before, we were speakers at, and community sponsors of the Software Architect 2008 conference (3rd-5th June 2008, London). This is the first dedicated software architecture conference that I've been to and the majority of the ...

Pluggable TrackBack confirmation strategies

Advanced spam protection comes to TrackBacks

I've just put the finishing touches on some enhancements to allow the Pluggable comment confirmation strategies to be used for TrackBacks too. I've had several ideas for integrating something similar in the past, but with TrackBacks being delivered autonomously, it's not easy to get a human to confirm them after the event. Instead, I've changed the way that TrackBacks are sent to Pebble blog entries.

In current versions, a reader can just navigate to the blog entry they want to send a TrackBack to, grab the TrackBack link and send the TrackBack. With Pebble 2.0.0, TrackBack links need to be generated and are good only for a single use. The overall process of sending a TrackBack is now as follows.

  1. The reader finds the blog entry they want to send a TrackBack to and clicks the TrackBack link.
  2. If the reader is logged in and is a blog owner/publisher/contributor for the blog, they are implicitly trusted and confirmation is not required.
  3. If Pebble determines that confirmation is required, the reader will be redirected to a page where they will be asked to confirm that they want to generate a TrackBack link, using the strategy configured for the blog.
  4. Only successful confirmation will result in the generation of a single use TrackBack link that the reader can use to send a TrackBack to the blog entry.

As with comments, the confirmation process is all configurable and overridable, with prebuilt strategies including a button click, simple maths problem, image captcha and a no-op strategy where confirmation isn't required. All this is in Subversion. Expect Pebble 2.0.0-RC1 later this week or next.



Re: Pluggable TrackBack confirmation strategies

Hi, unique links for trackbacks are a neat idea.
Will they work with autodiscovery though?

I turned off trackbacks in my home brew blog, as they're a lot harder to police than comments.
I could re-enable them but make them moderated though I guess.

Re: Pluggable TrackBack confirmation strategies

Pebble doesn't support TrackBack autodiscovery and I'm not aware of anybody that has added this functionality to their Pebble blog. I'd rather have real manual TrackBacks than tons of spam through autodiscovery! ;-)

Re: Pluggable TrackBack confirmation strategies

Well, I have! Frankly, I was only getting trackback spam for a single entry, so I disabled trackback on that particular entry.

As long as I can do trackback moderation, I'm good with having trackback auto-discovery. (which by the way, it's as easy as adding text to the blogEntry.jsp page).

Re: Pluggable TrackBack confirmation strategies

Wow - I'm really surprised you aren't getting more TrackBack spam! I picked up your comment before I left home this morning, so on the train to work on I wrote you a TrackBackAutoDiscoveryDecorator so that you don't have to modify the blogEntry.jsp file anymore. Use this in conjunction with the NoOpConfirmationStrategy and auto-discovery will still work. I'll checkin the changes to support this at the weekend.

Add a comment Send a TrackBack