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

Abilnet - June 9, 2007 - 17:01
Component:Code» User interface

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

greggles - June 11, 2007 - 15:18
Component:User interface» Code

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

mediafrenzy - June 20, 2007 - 01:03

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

rszrama - July 5, 2007 - 14:25
Assigned to:Anonymous» rszrama
Status:active» needs review

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!

AttachmentSize
nofollow_admin.patch 4.58 KB

#5

greggles - July 10, 2007 - 20:55

looks great!

do you want commit access to the module and you can commit it yourself?

#6

rszrama - July 11, 2007 - 02:59

Sure, I'd be happy to. : )

#7

greggles - July 11, 2007 - 14:34

great - I added you to the committers.

Thanks!

#8

rszrama - July 11, 2007 - 19:01
Status:needs review» fixed

Committed. Rolling it out as a new release.

#9

Anonymous - July 25, 2007 - 19:20
Status:fixed» closed

#10

gurukripa - August 20, 2007 - 07:30
Status:closed» postponed (maintainer needs more info)

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

gurukripa - August 20, 2007 - 07:31

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

greggles - August 20, 2007 - 17:00
Status:postponed (maintainer needs more info)» closed

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.

 
 

Drupal is a registered trademark of Dries Buytaert.