incubator-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: [clutch.py] Split into data and presentation?
Date Wed, 19 Oct 2011 00:18:15 GMT
sebb wrote:
>
> At present, clutch.py generates the output HTML directly.

To clarify for others (i know that sebb knows):
It generates the whole xml into site-author, using some
fragments of html that are hard-coded in the clutch.py code. 
Anakia then generates the html page as normal.

> This means embedding HTML in the python code, which is awkward to
> read, and a bit more difficult to update.
> 
> Would it be worth changing this so the python code only creates the
> raw data as several XML/HTML entities (like current.ent/dormant.ent)?
>
> The enclosing clutch.html page can then be generated and maintained
> like projects/index.

Yes please. There is a vague fixme note in the code.
Sorry i do not have the time at the moment.
So if you can manage my horrid code then please do.

-David

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@incubator.apache.org
For additional commands, e-mail: general-help@incubator.apache.org


Mime
View raw message