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: Fiber for all?

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 »

Copyright © 2022 Obviate.io

Powered by PressBook Premium theme