Joomla Nofollow Bot
I need a tool that will modify outbound links for user submitted content, adding rel=”nofollow”. Joomla 1.5 native. I wish to accomplish this within articles, but I am also interested in how it could work for the output of other components as well – for example kunena, eventlist, community builder. Menus and modules do not need to be processed. It should be coded to ignore local links, and process only outbound links.
The implementation is up to you, but here are some ideas:
– A bot that processes content only. There would need to be some control over which sections or categories it would be applied – lists of category ID’s to process or not process, etc. Here is an example for Joomla 1.0 http://www.vitez-studios.com/projects/misc/joomla-nofollow-plugin-mambot.html
– A regex filter for ReRelpacer by NoNumber (presumably this could work on all pages and could be comparatively easy to implement)
– A JCE addon that automatically adds this tag on save (there are comparable filters that strip MS word tags, etc)
– This is a standard feature in WordPress, so perhaps that implementation could be borrowed.
Here are two articles related to this subject ():
http://www.sitecritic.net/articleDetail.php?id=242 ( PHP + regex to add no follow)
http://www.regexguru.com/2008/05/no-follow-the-lazy-dot/ (removing no follow, this is not what I want to do, but the article may be of interest for some of its comments on performance optimization)
Please describe your preferred implementation strategy, even if it is different from the options I have mentioned.