Hi
We are using the following global to identify links with a url that ends with pdf (link to a pdf file).
pdf_flag sub {
my $url = shift;
my $flag = 0;
if (index($url, '.pdf') > -1 or index($url, '.pdfe') > -1) {
$flag++;
}
return { pdf_flag => $flag };
}
Then calling it using:
<%if pdf_flag%>
how can we get the global to not include urls like: www.pdfreader.com which are currently included?
Also is there a gloabl that will return the total of two filed per link (Hits and Deatiled_Hits)?
Regards
KaTaBd
Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
We are using the following global to identify links with a url that ends with pdf (link to a pdf file).
pdf_flag sub {
my $url = shift;
my $flag = 0;
if (index($url, '.pdf') > -1 or index($url, '.pdfe') > -1) {
$flag++;
}
return { pdf_flag => $flag };
}
Then calling it using:
<%if pdf_flag%>
how can we get the global to not include urls like: www.pdfreader.com which are currently included?
Also is there a gloabl that will return the total of two filed per link (Hits and Deatiled_Hits)?
Regards
KaTaBd
Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory