Page 1 of 1

Nofollow Case by Case Plugin+Tutorial

Posted: Fri May 07, 2010 11:04 am
by laemmy
I've yesterday a nofollow case by case plugin released.

To install the plugin you have to download the file serendipity_event_nofollow_Case_by_Case.zip. Extract all files from package an upload them to your plugins folder of your serendipity installation.

Choose the event plugin nofollow case by case an install it via plugin install manager.

Edit the comments.tpl of your template:

Search for

Code: Select all

<a class="comment_source_url" href="{$comment.url}" title="{$comment.url|@escape}">{$CONST.HOMEPAGE}</a>
and add this part rel="{$comment.follow}"

after that it have to look like this

Code: Select all

 <a class="comment_source_url" href="{$comment.url}" rel="{$comment.follow}" title="{$comment.url|@escape}">{$CONST.HOMEPAGE}</a>
Now you have the possibility to change nofollow/dofollow for each comment.

have fun. any feedback?

can anyone please review my english description in the plugin? thank you :D

Re: Nofollow Case by Case Plugin+Tutorial

Posted: Sat May 15, 2010 3:00 pm
by abdussamad
AFAIK there is no rel="dofollow" tag. Therefore I suggest that the plugin output "rel='nofollow'" in its entirety or nothing at all. In code you've presented about it should be simply:

Code: Select all

<a class="comment_source_url" href="{$comment.url}" {$comment.follow} title="{$comment.url|@escape}">{$CONST.HOMEPAGE}</a>
Apart from that its a great plugin :) . I think its better than nofollowing all comments.