Re: [Rest2web-develop] Section headers
Brought to you by:
mjfoord
From: Michael F. <fuz...@vo...> - 2006-08-05 15:45:54
|
martin f krafft wrote: > also sprach Michael Foord <fuz...@vo...> [2006.08.05.1609 +0100]: > >> Don't forget that rest2web is built top down. The indextree only >> contains information for pages/directories above the one currently being >> rendered, not for the whole site. >> > > Well, uh, doesn't it contain the pages list which I could recurse to > the leafs? > > In any case, I think it's okay to be top-down. I can't think of > a use when a page needs to know about its children other than that > they exist (for purpose of a table of contents or sidebar). > > If i ever get the time (and this release has taken longer than expected ;-), rest2web will be done in 'two passes'. It will cache generated pages and so be able to skip rebuilding pages that haven't changed. The whole site will be available to all pages. This will enable the auto-generation of contents pages/sitemaps etc... None of this is technically very difficult. Given my other priorities it may be many months before I can return to it though. :-( Fuzzyman http://ww.voidspace.org.uk/python/index.shtml >> I've now (experimentally) added the restindex and uservalues for each >> page into the indextree. Now checked in. >> >> Please let me know if this works for you. >> > > Looks exactly like what I had in mind! > > Thanks! > > |