Re: [Rest2web-develop] Multiple templates, same content
Brought to you by:
mjfoord
From: Fuzzyman <fuz...@vo...> - 2006-02-23 11:14:33
|
Peter Brett wrote: > On Thursday 23 February 2006 09:23, Fuzzyman wrote: > > >> Alternatively, what mechanism would you *like* me to build into rest2web ? >> > > How about a command-line option to set the restindex filename rest2web looks > for? > > Do you mean the *template* filename ? Allowing the over-riding of a single restindex option through the command line is kookie but probably acceptable. It would also only work for sites with a single template. As it's a situation I'm in myself, and probably not uncommon, finding the most elegant solution would be good.A GUI front end would make this easier of course, but probably not an option beloved of everyone anyway (so a command line/config file solution as well would be good). Alternatively the *template* could probably already check the command line arguments. This would break if I added any other command line arguments. At the moment the first argument is always the config file, but no other command line options are used. All the best, Fuzzyman http://www.voidspace.org.uk/python/index.shtml > Peter > > |