Adding rel=nofollow

I’m trying to figure out a way to fix the spam problem here. I was able to code something very simply (once I remembered how few features Prototype 1.5 had) in JavaScript, but I have two concerns about that:

  1. Will it work in search engines?
  2. Can it be circumvented?

Here’s the code:

Can anyone recommend a way to do this in PHP (elderly version) without falling prey to common regex failings?

Thanks in advance,

Walter


dynamo mailing list
email@hidden
Update your subscriptions at:

Apologies for the late reply Walter.

I created a template helper tool for Pulse CMS a while ago that uses the PHP Simple HTML DOM Parser from http://simplehtmldom.sourceforge.net

Using the library you can target text links and search for and append attributes quite easily.

Regards,
Tim.


dynamo mailing list
email@hidden
Update your subscriptions at: