Skip to content

Obviate.io

To anticipate and prevent

  • Home
  • About Us
  • History
  • Privacy Policy
  • Toggle search form

Well that was dumb

Posted on 2005-03-09 By Jon No Comments on Well that was dumb

Previously I wrote a Quick Perl Script that let you bookmark to a website rather easily. But I forgot one key part, including google’s rel=nofollow. This is important for two reasons, while you may be bookmarking what ever you want, you dont need to help them advertise (you just want to use the links). Two — Because if anyone ever finds you script (and they may be spammers trying to improve their site ranking) then all they will submit will be useless to spamming.

If you want this improvement, change:

<br />
print URLOUT "<li><a href=\"$ENV{'QUERY_STRING'}\">$ENV{'QUERY_STRING'}</a></li>\n";

To this:

<br />
print&nbsp;URLOUT&nbsp;"<li><a&nbsp;href=\"$ENV{'QUERY_STRING'}\"&nbps;rel=\"nofollow\">$ENV{'QUERY_STRING'}</a></li>\n";<br />

Simple enough, eh?

Code

Post navigation

Previous Post: Happy 21st Birthday, Lauren!
Next Post: Lots of goodies today

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

March 2005
S M T W T F S
 12345
6789101112
13141516171819
20212223242526
2728293031  
« Feb   Apr »

amazon Android anime apache apple arduino asus averatec AWS Bad Company 2 cloud DIY eee fanime fanimecon github google iPad iphone IPv6 javascript kindle linkedin linux macbook air mass effect nodejs openvpn osx php review San Francisco security tutorial Ubuntu urban garden usb video wifi windows 7 winter urban garden wordpress xbox xbox 360 XboxLIVE

Copyright © 2022 Obviate.io

Powered by PressBook Premium theme