The scorecard thing is pretty simple. Just use a global called get_scorecard_url , with:
my $URL = $_[0];
$URL =~ s|https?\://||;
my ($domain,$rest) = split /\//, $URL;
return "http://www.mywot.com/en/scorecard/$domain";
}
Call with:
Scorecard: <%get_scorecard_url($URL)%>
<%endif%>
The other bits would require a global to grab the XML, and pass it back into the templates. I'm afraid I don't have time to look into that, but hopefully the above will be of some help =)
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Code:
sub { my $URL = $_[0];
$URL =~ s|https?\://||;
my ($domain,$rest) = split /\//, $URL;
return "http://www.mywot.com/en/scorecard/$domain";
}
Call with:
Code:
<%if URL%> Scorecard: <%get_scorecard_url($URL)%>
<%endif%>
The other bits would require a global to grab the XML, and pass it back into the templates. I'm afraid I don't have time to look into that, but hopefully the above will be of some help =)
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!