Forum Moderators: coopster

Message Too Old, No Replies

TLA code and no follow

How to?

         

vincevincevince

3:21 am on Apr 20, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Using the PHP code from TLA (the big text link adverts site) the links don't get a no follow added. With Google's advice in mind, how can we change the PHP code to add no follow?

Any code samples would be much appreciated.

jatar_k

12:46 pm on Apr 20, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



do you have the code?

vincevincevince

2:54 pm on Apr 21, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is it something in this line?


<?php
for ($i = 0; $i < count($arr_xml['URL']); $i++) {
echo "<li style=\"float: left; display: inline; width: 100%; margin: 0; padding: 0; clear: none;\"><span style=\"font-size: 12px; width: 100%; color: #000000; padding: 3px; margin: 0; display: block;\">".$arr_xml['BeforeText'][$i]." <a style=\"font-size: 12px; color: #000000;\" href=\"".$arr_xml['URL'][$i]."\">".$arr_xml['Text'][$i]."</a> ".$arr_xml['AfterText'][$i]."</span></li>\n";
}

jatar_k

6:48 pm on Apr 21, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



maybe this bit

href=\"".$arr_xml['URL'][$i]."\">".$arr_xml['Text'][$i]."</a> "

to

href=\"".$arr_xml['URL'][$i]."\" rel=\"nofollow\">".$arr_xml['Text'][$i]."</a> "