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

Re: [kailew] XMLResults plugin updates

Quote Reply
Re: [kailew] XMLResults plugin updates In reply to
You try it with a global:

convert_to_eng_format_for_sitemap
Code:
sub {
my $date = $_[0];
if ($date =~ m/\d\d\.\d\d\.\d\d\d\d$/) {
return qq|${3}-${2}-${1}|;
}
}

..then call with:

Code:
<%convert_to_eng_format_for_sitemap($date)%>

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 XMLResults plugin updates gotze 10563 Dec 28, 2004, 2:43 PM
Thread Re: [gotze] XMLResults plugin updates
kailew 9987 Aug 29, 2010, 10:53 AM
Thread Re: [kailew] XMLResults plugin updates
Andy 9956 Aug 30, 2010, 3:08 AM
Thread Re: [Andy] XMLResults plugin updates
kailew 9952 Aug 30, 2010, 12:55 PM
Thread Re: [kailew] XMLResults plugin updates
Andy 9945 Aug 31, 2010, 12:33 AM
Thread Re: [Andy] XMLResults plugin updates
kailew 9971 Aug 31, 2010, 12:51 AM
Thread Re: [kailew] XMLResults plugin updates
Andy 10031 Aug 31, 2010, 1:15 AM
Thread Re: [Andy] XMLResults plugin updates
kailew 9916 Aug 31, 2010, 1:23 AM
Thread Re: [kailew] XMLResults plugin updates
Andy 9988 Aug 31, 2010, 1:27 AM
Thread Re: [Andy] XMLResults plugin updates
kailew 9949 Aug 31, 2010, 2:10 AM
Thread Re: [kailew] XMLResults plugin updates
Andy 9968 Aug 31, 2010, 5:23 AM
Thread Re: [Andy] XMLResults plugin updates
kailew 9907 Aug 31, 2010, 10:38 AM
Thread Re: [kailew] XMLResults plugin updates
Andy 9857 Sep 1, 2010, 12:16 AM
Thread Re: [Andy] XMLResults plugin updates
kailew 9839 Sep 1, 2010, 11:32 AM
Thread Re: [kailew] XMLResults plugin updates
Andy 9945 Sep 1, 2010, 11:49 AM
Thread Re: [Andy] XMLResults plugin updates
kailew 9847 Sep 1, 2010, 12:08 PM
Thread Re: [kailew] XMLResults plugin updates
Andy 9877 Sep 1, 2010, 12:39 PM
Thread Re: [Andy] XMLResults plugin updates
kailew 9840 Sep 1, 2010, 2:17 PM
Post Re: [kailew] XMLResults plugin updates
Andy 9812 Sep 1, 2010, 11:39 PM
Post Re: [kailew] XMLResults plugin updates
brewt 9899 Aug 31, 2010, 2:12 PM