Myk Melez wrote:
> 
> fantasai wrote:
> >
> >>Myk Melez wrote:
> >>
> >>The Template Toolkit is a Perl templating module...
> > Can it handle bug 227847 -- i.e. importing different sidebars for
> > different pages?
> 
> Yes, for example we can create a wrapper template that wraps each page
> with a default sidebar whose filename is stored in a variable, using the
> DEFAULT directive to set the variable to the default only if it hasn't
> already been defined:
...
> Pages, which get processed before wrapper templates, can then override
> the default sidebar with their own custom one by setting the variable

Then I suggest we go with TT + CVS + Doctor to start with.
I'd like to give Doctor the ability to save/apply diffs, though.

What I mean by saving diffs is:

  1. Instead of CVS-committing, anyone can create a plaintext
     diff file that gets automatically saved to a storage directory.
     e.g.
       /DIFFS/[auto-gen].diff

  2. Once the changes have been reviewed, someone with CVS access
     can tell Doctor to commit those changes.

This makes it easier to
  a) let people without CVS access contribute.
  b) have a more automated review system.

Given that and file upload, I think Doctor would do well enough.
We can import the content into a full CMS later, if we want.

~fantasai
_______________________________________________
mozilla-documentation mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-documentation

Reply via email to