Re: [Rest2web-develop] Multiple templates, same content
Brought to you by:
mjfoord
From: Michael F. <fuz...@gm...> - 2006-03-31 18:50:24
|
On 23/02/06, Donald J. Welch <don...@hp...> wrote: > > Hello, > I'm attempting to use rest2web to completely redesign our website > (hpinkjet.sf.net) to be more easily updated and managed. Hello Donald, I'm finally doing some updates on rest2web. Is the current website ( http://hplip.sourceforge.net/ ) built with rest2web ? Hopefully I will soon be able to implement some of the features we discussed. Michael Foord One requirement that I have is that I need to be able to create 2 > separate sets of HTML pages that have a completely different > look-and-feel (one for the website and one to be included in our tarball > that will eventually be converted to PDF). > > I currently see no way to pass-in or otherwise externally influence the > template that will be used during a run of r2w.py since it is specified > statically, with the content, in the restindex. The only way I can see > to do this is to copy the first template in place, run r2w with one > config file and then overwrite the template file and run r2w again with > a second config file (to be able to change the output directory). > > Is there a more elegant way to accomplish this? Can I make the template > programmable/dynamic in some way using the <# #> blocks? > > Thanks for this great tool, > > Don > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Rest2web-develop mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/rest2web-develop > -- http://www.Voidspace.org.uk The Place where headspace meets cyberspace. Online resource site - covering science, technology, computing, cyberpunk, psychology, spirituality, fictio= n and more. --- http://www.Voidspace.org.uk/python/index.shtml Python utilities, modules and apps. Including Nanagram, Dirwatcher and more. --- http://www.fuchsiashockz.co.uk http://groups.yahoo.com/group/void-shockz --- Everyone has talent. What is rare is the courage to follow talent to the dark place where it leads. -Erica Jong Ambition is a poor excuse for not having sense enough to be lazy. -Milan Kundera |