aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <matthew>2009-01-10 18:37:44 +0000
committermatthew <matthew>2009-01-10 18:37:44 +0000
commit1fb055ccdc9c36bdf123fd96535c3c97d7f39672 (patch)
tree476de67f2874a5d8e9405cbe8cdde7b609754df6
parent3f02006224abbbc6bbdc7a970543e01020f79346 (diff)
Some nofollows, as Google is spidering every RSS feed.
-rw-r--r--perllib/Page.pm4
-rwxr-xr-xweb/index.cgi8
2 files changed, 6 insertions, 6 deletions
diff --git a/perllib/Page.pm b/perllib/Page.pm
index 13fa373bc..9e6f4f2f6 100644
--- a/perllib/Page.pm
+++ b/perllib/Page.pm
@@ -6,7 +6,7 @@
# Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: Page.pm,v 1.131 2009-01-05 22:58:31 matthew Exp $
+# $Id: Page.pm,v 1.132 2009-01-10 18:37:44 matthew Exp $
#
package Page;
@@ -238,7 +238,7 @@ EOF
<p id="footer">Built by <a href="http://www.mysociety.org/">mySociety</a>,
using some <a href="https://secure.mysociety.org/cvstrac/dir?d=mysociety/bci">clever</a>&nbsp;<a
-href="https://secure.mysociety.org/cvstrac/dir?d=mysociety/services/TilMa">code</a>. Formerly <a href="/faq#nfi">Neighbourhood Fix-It</a>.</p>
+href="https://secure.mysociety.org/cvstrac/dir?d=mysociety/services/TilMa">code</a>.</p>
$track
diff --git a/web/index.cgi b/web/index.cgi
index 04589959c..80ae8c4e7 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -6,7 +6,7 @@
# Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: index.cgi,v 1.237 2009-01-01 01:21:17 matthew Exp $
+# $Id: index.cgi,v 1.238 2009-01-10 18:37:45 matthew Exp $
use strict;
use Standard;
@@ -772,7 +772,7 @@ sub display_location {
my $email_me_link = NewURL($q, -url=>'/alert', x=>$x, y=>$y, feed=>"local:$x:$y");
$out .= <<EOF;
<p id="alert_links_area">
- <a id="email_alert" href="$email_me_link">$email_me</a>
+ <a id="email_alert" rel="nofollow" href="$email_me_link">$email_me</a>
| <a href="/rss/$x,$y" id="rss_alert"><span>RSS feed</span> <img src="/i/feed.png" width="16" height="16" title="$rss_title" alt="$rss_alt" border="0" style="vertical-align: top"></a>
</p>
EOF
@@ -783,7 +783,7 @@ EOF
#$out .= $q->h1('Report a problem');
$out .= $q->p({-id=>'text_map'}, _('To report a problem, simply
<strong>click on the map</strong> at the correct location.'),
- sprintf(_("<small>If you cannot see the map, <a href='%s'>skip this
+ sprintf(_("<small>If you cannot see the map, <a href='%s' rel='nofollow'>skip this
step</a>.</small>"), $skipurl));
$out .= '<div id="nearby_lists">' . $q->h2(_('Reports on and around the map'));
my $list = '';
@@ -881,7 +881,7 @@ sub display_problem {
$out .= '<p style="padding-bottom: 0.5em; border-bottom: dotted 1px #999999;" align="right"><a href="'
. $back . '">' . _('More problems nearby') . '</a></p>';
$out .= '<div id="alert_links">';
- $out .= '<a id="email_alert" href="/alert?type=updates;id='.$input_h{id}.'">' . _('Email me updates') . '</a>';
+ $out .= '<a rel="nofollow" id="email_alert" href="/alert?type=updates;id='.$input_h{id}.'">' . _('Email me updates') . '</a>';
$out .= <<EOF;
<form action="/alert" method="post" id="email_alert_box">
<p>Receive email when updates are left on this problem</p>