From: "Mathew Robertson" <[EMAIL PROTECTED]>
>
>provide a different template for each language
I initially went this way. But, I didn't like duplicating page structure. I
found that I *really* like to keep everything in Locale::Maketext lexicons.
But, the downsides are:
1. The Locale::Maketext is
> The three things I've found that make multi-language processing difficult
> with H::T are:
>
> 1. One-time evaluation of a template's page-specific vars (so that
> subsequent displays can deal only in truly variable evaluations).
> 2. No way to say to
> use language-specific text determined at
From: "Ragan, Steve" <[EMAIL PROTECTED]>
> Portions that
> pertain to user-specific variables are "renamed" (or purposely misnamed,
if
> you will) TMPL_VAR's so they are not recognized and handled by H::T during
> this pass.
>
>
>
> [then]
>
> $output =~ s/my_special_VAR/TMPL_VAR/g;
Steve, th
Hi!
Is there any way to use a valid XHTML document as template? As far as I tried
this seems to be not possible.
e.g.:
[1] valid XHTML, working:
[2] valid XHTML, but not working:
[3] invalid XHTML, not working either
[4] invalid XHTML, but working (just removed the slash, this worked in [1]!)
Approach the problem from a slightly different tack. Don't try to do
everything in one pass through H::T.
Instead, think of it as a two-step approach.
Each user belongs to a group, and the group portions of the template are the
same for all members of that group.
Only the user portions need to cha
Sam, earlier I said it would be useful if I could apply some evaluation
once. Then operate upon that partially evaluated template. I didn't realize
H::T applies everything at output(?).
If H::T applies everything at output, wouldn't it be relatively easy to
accomplish this if there was a way to te
Has anyone ever attempted (or better yet finished) a filter or something
similar to fetch templates on a remote server using LWP? Perhaps the tag
looking like:
http://www.somewhere.com";
expires="3600">
I realize that this could (and probably should) be accomplished outside of
template the in oth