Hi Andy,
just to be sure, that I'm doing nothing stupid.
Can you have a look at my attempt to get meta data in detail.html?
<meta name="description" content="<%Plugins::ULTRAGlobals::Trim_Field(0,100,$Description)%>" />
<meta name="keywords" content="<%meta_keywords%>" />the description is called from your ultra globals
the keywords are called with this global
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|$_|);
}
return join(", ",@links);
}
What do you think?
Matthias
gpaed.de
just to be sure, that I'm doing nothing stupid.
Can you have a look at my attempt to get meta data in detail.html?
Code:
<title><%site_title%> | Download - <%Title%></title> <meta name="description" content="<%Plugins::ULTRAGlobals::Trim_Field(0,100,$Description)%>" />
<meta name="keywords" content="<%meta_keywords%>" />
the keywords are called with this global
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|$_|);
}
return join(", ",@links);
}
What do you think?
Matthias
gpaed.de