Re: [Rest2web-develop] Section headers
Brought to you by:
mjfoord
From: Michael F. <fuz...@vo...> - 2006-08-05 15:38:38
|
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? > indextree is built specially. All encodings are turned into the encoding of the page being rendered and all links are made relative to the current page. It currently just goes up the tree - not into all the leafs (leaves ?). To do so would slow down site generation. All the best, Fuzzyman http://www.voidspace.org.uk/python/index.shtml > 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). > > >> 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! > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Rest2web-develop mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/rest2web-develop > |