Re: [Rest2web-develop] Question about 'build' in restindex
Brought to you by:
mjfoord
From: Michael F. <fuz...@vo...> - 2007-03-28 22:19:39
|
Eur Ing Chris Green wrote: > On Fri, Mar 23, 2007 at 10:17:20AM +0000, Eur Ing Chris Green wrote: > [snip] > >> Going on from this I'm trying to understand what restindex.txt does >> for me. I can see that it would be useful to combine (say) the >> abcd.txt, defg.txt and hijk.txt files that I would otherwise need to >> create to add pre-existing abcd.html, defg.html and hijk.html files to >> a rest2web index, is this what restindex.txt is for? If so how can it >> refer to multiple targets? Does one do it as follows:- >> >> restindex >> target: abcd.html >> /restindex >> restindex >> target: defg.html >> /restindex >> restindex >> target: hijk.html >> /restindex >> >> > Well I tried it and it works! :-) > > I think a little expnasion of the documentation might help here, it's > note clear (hence my original question) that the above is how to do > it. It needs a little more of course, e.g. some 'crumb:' entries at > least. > > Thinking onwards, what's to prevent allowing the same multiple > restindex entries in the index.txt file? This would mean that all you > need in directories where all the HTML (and maybe other) files already > exist would be an index.txt file. > Ok - it sounds like their is a need for better documentation here. I note the request for multiple restindexes in the index page. This is not immediately straightforward - but should be possible. Fuzzyman http://www.voidspace.org.uk/python/index.shtml |