Allow the opposite : 'nofollow' for all except the listed sites.
levavie - January 29, 2007 - 15:14
| Project: | Nofollow List |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | rszrama |
| Status: | closed |
Description
Allow the opposite : 'nofollow' for all except the listed sites.

#1
What about choosing from settings, if the default is to follow OR not to follow... and then a possibility to list the sites the default rule is not affecting.
My 2 cents...
#2
There are lots of features that would be valuable. I don't currently have time to provide them.
I think there should be two lists - one to remove nofollow and one to add nofollow. That way you could control both lists separately.
#3
This absolutely makes sense, and is a feature I'd totally support being added! In fact I'm certain I need it for my next project.
#4
We've grabbed this module and implemented the changes requested for Ubercart.org. This patch adds the appropriate code to add an administrator settings form (hook_menu, hook_perm, and a form builder function) that has a textarea for entering hosts and an option to make the list of hosts a blacklist or a whitelist. A blacklist will add the rel attribute to links going to any listed hosts while a whitelist will add it for all hosts except those listed.
This code is live and appears to be working just fine at Ubercart.
Enjoy!
#5
looks great!
do you want commit access to the module and you can commit it yourself?
#6
Sure, I'd be happy to. : )
#7
great - I added you to the committers.
Thanks!
#8
Committed. Rolling it out as a new release.
#9
#10
i tried this module for no follow.
how does this work?
i chose whitelist..meaning..i want all links to have no follow except 1-2 i choose.
how do i know that this is actually happening ?
i went to the page source of a recent link someone had put up..and it didnt show this tag...so how do i know..pls help. thanks
#11
sorry i tried it with 5.x-1.1 not dev....will this work..my question still stands...how do i know its working.
#12
You'll know it's working because rel=nofollow will be in the html.
Also, don't open up an old issue for new support. Please open a new issue.
All I can say is that I don't know how rszrama's code works, so I hope they'll be able to answer your questions.
Thanks.