From 8d25800c67ad65defd98771bba2331ee64104f98 Mon Sep 17 00:00:00 2001 From: dakkar Date: Wed, 7 Jan 2009 12:51:13 +0000 Subject: feed fatti, e pure col test manca: testare feed intl, fare feed dei tag, mettere i tag nei feed git-svn-id: svn://luxion/repos/WebCoso/trunk@402 fcb26f47-9200-0410-b104-b98ab5b095f3 --- lib/WebCoso/XSLT.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/WebCoso/XSLT.pm') diff --git a/lib/WebCoso/XSLT.pm b/lib/WebCoso/XSLT.pm index cc64cfb..09c5b3f 100644 --- a/lib/WebCoso/XSLT.pm +++ b/lib/WebCoso/XSLT.pm @@ -20,6 +20,8 @@ sub new { $self->{xslt_proc}->register_function($NS,'title-for', sub{$self->getTitleXML(WebCoso::Common::getTitleFor($self->{fc},@_))}); + $self->{xslt_proc}->register_function($NS,'dst-uri-for', + sub{WebCoso::Common::dstUriFor(@_)}); $self->{xslt_proc}->register_function($NS,'tagged',sub{$self->getTagsXML}); $self->{xslt_proc}->register_function($NS,'dates-for', sub{$self->getDatesXML(WebCoso::Common::getDatesFor($self->{fc},@_))}); @@ -79,7 +81,7 @@ sub new { language => $matches->[1], filename => $deps->[-1], )); - $self->{fc}->put($target,$xslt->output_string($out)); + $self->{fc}->put($target,$out); }; bless $self,$class; -- cgit v1.2.3