Scoop Box Exchange - Show Box: related_links 1.00
|
Description:
This box generates the related links that go with stories. It pretty much just takes any link from the story and puts it in a list. It also always adds links to sites listed in the autorelated block if they are mentioned in the story
Box Code:
my $sid = $S->{CGI}->param('sid');
my $related = $S->related_box($sid);
my $content;
my $i = 0;
while ($i <= $#{$related}) {
$content .= qq{%%dot%% $related->[$i+1]$related->[$i]</A><BR>};
$i += 2;
}
return $content;
|
|
The OpenNIC |
Democratically operated Domain Name System; using Scoop since Jan. 2001. |
|
|
|
|