Posted by David Dorward on 08/05/06 00:11
Dan wrote:
> I am wondering if it's possible to duplicate or approximate the way that
> Wikipedia uses the "template" namespace using standard HTML.
>
> For example, can I write a <table> with abstract variables into an
> external file, then "call" it as needed in my HTML document, passing in
> the specific data values as part of the call?
Not with plain old HTML. There are various processes you can use to generate
HTML with standard sections. I'm fond of template-toolkit.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Navigation:
[Reply to this message]
|