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

Photoshop CC infected with a virus called “Node.exe” Code
Asterisk Manager + Perl + Net::Telnet != Easy Code
Serendipity to WordPress – Importer version 1.5 Code
Why don’t people build mobile sites? Code
SocketIO IRC-style Tutorial – Part 3 – The server code Cloud
“405 Method Not Allowed” on Google Code Cloud

Leave a Reply Cancel reply

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

Copyright © 2026 Obviate.io.

Powered by PressBook Masonry Dark