On 28 Jun., 07:20, FFMG <FFMG.2sv...@no-mx.httppoint.comwrote:
Hi,
I run a blog hosting site and it is a fairly small community easy
enough to police.
But some spammers still find ways to get in.
What I was thinking is adding nofollow tags to their links until they
reach a certain amount of posts, (or until I've had time to review
their account).
Would you have a piece of code to allow me to add the no follow tag to
<a href='....'>?
a nofollow tag would look like this:
<a href='somewhat' rel='nofollow'>somewhere</a>
// function to use for any string containing hrefs
//
function nofollow($str) {
return = preg_replac("/<a href='(.*?)'>(.*?)<\/a>/", "/<a href='$1'
rel='nofollow'>$2<\/a>/", $str);
}
--begin-quote
http://old.nonofollow.net
11 Reasons against nofollow
1. nofollow does not prevent comment spam
2. nofollow is confusingly named
3. nofollow harms the connections between web sites
4. nofollow is not useful for humans, just for search engines using
PageRank or a similar technique
5. nofollow could be used to shut web sites out
6. nofollow discriminates legitimate users as spammers
7. nofollow heists commentators' earned attention
8. nofollow could be used to further discriminate weblogs
9. nofollow prevents the Web from being a web
10. nofollow eliminates the dissemination of free speech
11. nofollow was developed in privacy with only search engines
companies taking part in the discussion
--end-quote