Nofollow Case by Case Plugin+Tutorial

Creating and modifying plugins.
Post Reply
laemmy
Regular
Posts: 40
Joined: Sun Nov 19, 2006 5:13 pm
Contact:

Nofollow Case by Case Plugin+Tutorial

Post 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
Some s9y projects
abdussamad
Regular
Posts: 117
Joined: Fri Apr 21, 2006 10:11 pm
Location: Karachi, Pakistan
Contact:

Re: Nofollow Case by Case Plugin+Tutorial

Post 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.
Post Reply