Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [kailew] What about a WOT-Plugin?

Quote Reply
Re: [kailew] What about a WOT-Plugin? In reply to
The scorecard thing is pretty simple. Just use a global called get_scorecard_url , with:
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!
Subject Author Views Date
Thread What about a WOT-Plugin? kailew 4938 Dec 7, 2012, 5:50 AM
Thread Re: [kailew] What about a WOT-Plugin?
eupos 4790 Dec 7, 2012, 6:47 AM
Thread Re: [eupos] What about a WOT-Plugin?
kailew 4741 Dec 7, 2012, 7:02 AM
Post Re: [kailew] What about a WOT-Plugin?
Andy 4749 Dec 7, 2012, 7:05 AM
Thread Re: [kailew] What about a WOT-Plugin?
eupos 4744 Dec 7, 2012, 7:15 AM
Thread Re: [eupos] What about a WOT-Plugin?
kailew 4768 Dec 7, 2012, 11:36 AM
Post Re: [kailew] What about a WOT-Plugin?
eupos 4711 Dec 7, 2012, 1:03 PM