Hi Andy,
I'm using the global below to print out "tags" from link title on the detail page
my $tags = GT::Template->tags;
my @words = split(/\s+/,$tags->{Title});
my @links;
foreach (@words){
s/^\s*//sg;
s/[\.,:\?!\(\)"]+//sg;
next if length($_)<4;
push(@links,qq|<a href="$CFG->{db_cgi_url}/search.cgi?query=$_">$_</a>|);
}
return join(" - ",@links);
}
What do you think?
Is it possible to show a tag cloud relating to the number of words in the link titles?
Thanks
Matthias
gpaed.de
I'm using the global below to print out "tags" from link title on the detail page
Code:
sub { my $tags = GT::Template->tags;
my @words = split(/\s+/,$tags->{Title});
my @links;
foreach (@words){
s/^\s*//sg;
s/[\.,:\?!\(\)"]+//sg;
next if length($_)<4;
push(@links,qq|<a href="$CFG->{db_cgi_url}/search.cgi?query=$_">$_</a>|);
}
return join(" - ",@links);
}
What do you think?
Is it possible to show a tag cloud relating to the number of words in the link titles?
Thanks
Matthias
gpaed.de