diff --git a/index.pl b/index.pl
index 288ba6f083bc9081f67fc528e27c415f733ff6da..f3142c0154a16dabce397b1ed3b00efd30fb1a7e 100755
--- a/index.pl
+++ b/index.pl
@@ -34,13 +34,13 @@ '# Welcome to orrg',
'',
'orrg is your online rss/atom feed reader for gemini.',
'',
- '=> orrg.pl view a feed',
+ '=> ./orrg.pl view a feed',
'',
'## explore',
'',
- '=> orrg.pl?'. uri_escape($uri) .' random feed',
- '=> recent.pl top 10 recent feeds',
- '=> popular.pl top 10 popular feeds',
+ '=> ./orrg.pl?'. uri_escape($uri) .' random feed',
+ '=> ./recent.pl top 10 recent feeds',
+ '=> ./popular.pl top 10 popular feeds',
'',
'',
'=> https://src.clttr.info/rwa/orrg powered by orrg');
diff --git a/orrg.pl b/orrg.pl
index 7be8abe2cfe7d1dec3465f6753131f81e565c605..de98956f87a350bc1cd6a85b1a46fa1c1585b325 100755
--- a/orrg.pl
+++ b/orrg.pl
@@ -53,7 +53,7 @@ $feed->link eq '' or push @body, ('=> '.$feed->link.' open website', '');
foreach my $it ($feed->get_item()) { push @body, @{item($it)}; }
- push @body, ('', '', '=> index.pl [home]');
+ push @body, ('', '', '=> ./index.pl [home]');
return @body;
}
diff --git a/popular.pl b/popular.pl
index 050b7a3f0dde95296cebc9d444f19713881c695e..28aff6fe2ba9c103b86c1cc544e2edcd9c743355 100755
--- a/popular.pl
+++ b/popular.pl
@@ -35,7 +35,7 @@ my @sorted = sort { $a <=> $b } @$populars;
my $c = 0;
foreach (reverse @sorted) {
my ($cnt, $uri, $name) = split / /, $_, 3;
- push @body, '=> orrg.pl?'. uri_escape($uri) .' '. ($name eq '' ? $uri : $name);
+ push @body, '=> ./orrg.pl?'. uri_escape($uri) .' '. ($name eq '' ? $uri : $name);
++$c < 10 or last;
}
@@ -44,6 +44,6 @@ push @body, 'No feeds found';
}
- push @body, ('', '', '=> index.pl [home]');
+ push @body, ('', '', '=> ./index.pl [home]');
return @body;
}
diff --git a/recent.pl b/recent.pl
index 6369944cfeedc499759381ed5d7ece53a517f023..4d92a3416247da27a694d2e8c8119c98783e114c 100755
--- a/recent.pl
+++ b/recent.pl
@@ -33,12 +33,12 @@ my $recents = recent_get();
if ( defined($recents) ) {
foreach (@$recents) {
my ($uri, $name) = split / /, $_, 2;
- push @body, '=> orrg.pl?'. uri_escape($uri) .' '. ($name eq '' ? $uri : $name);
+ push @body, '=> ./orrg.pl?'. uri_escape($uri) .' '. ($name eq '' ? $uri : $name);
}
} else {
push @body, 'No feeds found';
}
- push @body, ('', '', '=> index.pl [home]');
+ push @body, ('', '', '=> ./index.pl [home]');
return @body;
}
diff --git a/robots.txt b/robots.txt
index 46c4570b0be7c94113f577aeb128e415d90e7ddd..8f745ab9886af7dc66411c7215eb86076b996246 100644
--- a/robots.txt
+++ b/robots.txt
@@ -1 +1,2 @@
-Disallow:orrg.pl
+User-agent: *
+Disallow: /orrg.pl