<< Eclipse woes | Home | Comment and TrackBack listeners >>
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 ...

Pebble nofollow plugin

Google have announced they are starting to look for the rel="nofollow" tag in HTML links and will not include such links when indexing web pages and calculating page rank. MSN and Yahoo! have also joined in. Of course, this is pointless without support from those people publishing content on the web, which is why people behind some of the major blogging tools have already signed up. So, step aside, Pebble's gatecrashing the party!

  1. Add nofollow to public referers page : done
  2. Add nofollow to comment and TrackBack author links : done
  3. Build a plugin to add nofollow to links in comment/TrackBack content : done

All of this will be in the next version of Pebble, but this is easy to do now. For (1) and (2), you can edit the following pages within your Pebble install.

  • /jsp/viewReferers.jsp
  • /themes/default/jsp/comment.jsp
  • /themes/default/jsp/trackback.jsp
To use the plugin (3), just drop the pebble-nofollow.jar file (contains classes, source and unit tests) into the /WEB-INF/lib directory of your Pebble installation and restart the server. Then, add the following line to your list of blog entry decorators in the blog properties page.
  pebble.decorator.NoFollowDecorator
Click reload blog to make the new plugin effective and you're done.

This will be shipped with the next version of Pebble, but I wanted to get it out while it's still fresh in peoples minds. This won't be the only spam prevention in the next version of Pebble, but I'll write about this when I get some more time. It's pretty cool to see everybody coming together to help fight spam.



Re: Pebble nofollow plugin

Hey Simon - Thanks for the quick implementation! Time for me to upgrade anyway.

Re: Pebble nofollow plugin

You're welcome. :-)

NoFollow plugin for blojsom

NoFollow plugin for blojsom The nofollow plugin adds support for searching through hyperlinks in comments and trackbacks and adding rel="nofollow" for hyperlinks without this attribute. This removes any search engine ranking that comment spammers migh...

Add a comment Send a TrackBack