Skip to content

Obviate.io

To anticipate and prevent

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?

Related Posts

Tutorial: AWS API Gateway to Lambda to DynamoDB AWS
s9y-to-wp has a new home on GitHub Code
Book Review: The Node Beginner Book Books
document.getElementById not working in IE8 Code
Pushing successful SSH logins to PushBullet Code
Setting up a new GitHub repo in TortoiseGit Code

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.

Copyright © 2026 Obviate.io.

Powered by PressBook Masonry Dark