[Typo3-dev] rendering content by id

Ries van Twisk typo3 at rvt.dds.nl
Thu Jun 16 07:53:31 CEST 2005



> Hi!
>
> In an extension i need to recursively generate the HTML-code of the pages
> below one certain page. I know how to traverse the pagetree recursively, but
> i have no idea how to effectively generate the HTML-code for that pages.
>
> The process of content-generation in the index.php file seems quite
> difficult, do you have tipp how to shorten the steps or have you already
> implemented this algorythm?
For HTML generation I use wget now, since I couldn't find a function (yet) in
typo3 to generate the HTML for a single page.
The get a pagetree I use the function getTree in the class t3lib_pageTree.
then I use a simple loop system that calls wget to get pages with full HTML.

I have been looking for a long long time for it, so far no luck doing direct
HTML generation...

Ries





More information about the TYPO3-dev mailing list