forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira>
Subject Re: CLI & I18N
Date Thu, 09 Oct 2003 10:37:14 GMT
Jeff Turner wrote:


>>Why would you want to generate gzipped output? What is the usecase? You 
>>could use the ZipSerializer, or you could make the bean do it. But the 
>>question is why, before we can identify the correct place.
>A thought experiment, not a use-case.  My thinking is: it's always
>possible for the sitemap to 'hardcode' behaviour (language, encoding,
>file extension etc), so we could get away with a really dumb CLI.  For
>i18n, we could just have a 'index.html.{en,de,fr,..}' matcher.
>However, the more realistically the CLI emulates a 'real' user agent (the
>browser), we can take more advantage of Cocoon's features.  For i18n, we
>can have an 'index.html' pipeline serving different content based on the
>useragent's language.  Seems a nicer and more 'correct' way of doing
Okay. I've added it to my todo list.  If anyone needs it soon, feel free 
to hassle me. It usually helps.

Regards, Upayavira

View raw message