X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/5df8a1eedbda113e9c5babb19ba2637b833b2b65..6790e1804b66fb6623406ff33050db12412337f7:/doc/todo/replace_HTML::Template_with_Template_Toolkit.mdwn?ds=inline diff --git a/doc/todo/replace_HTML::Template_with_Template_Toolkit.mdwn b/doc/todo/replace_HTML::Template_with_Template_Toolkit.mdwn index eb088700d..9616f724f 100644 --- a/doc/todo/replace_HTML::Template_with_Template_Toolkit.mdwn +++ b/doc/todo/replace_HTML::Template_with_Template_Toolkit.mdwn @@ -95,3 +95,21 @@ I agree that being able to replace the template toolkit would be a great piece o >> A modular template system in ikiwiki is unlikely, as template objects >> are part of the API, notably the `pagetemplate` hook. Unless the other >> system has a compatible template object. --[[Joey]] + +>>> I hacked an adapter that exposes the HTML::Template API but uses +>>> Template::Toolkit for the template rendering. Very rough, but it +>>> works: my Wikis compile mostly ok. The code includes a `.tmpl` +>>> converter script. Get it from: +>>> --[[RiccardoMurri]] + +--- + +>>> I found this thing yesterday: +>>> +>>> http://search.cpan.org/~rhandom/Template-Alloy-1.016/lib/Template/Alloy.pod +>>> I think (hope) this can solve all the problems related to this feature request. +>>> +>>> From the url above: +>>> "With Template::Alloy you can use your favorite template interface and syntax +>>> and get features from each of the other major template systems." +>>> --[[Cstamas]]