[Typo3-dev] Rendering / accessing FE page from backend module

Casper Poulsen casper at edev.dk
Sat Jul 24 15:15:59 CEST 2004


Hi,

I am currently working on a small extension to validate pages or full 
sitetrees using a local SGML parser (as on validator.w3.org). Having 
just begun programming extensions (which is a pleasure thanks btw), I'm 
unsure how to approach accessing rendered pages in the backend.

What I want to do is "grab" the final page source (no cache), save it as 
a local file in typo3temp and run it trough the parser, or maybe pipe it 
through.

My first idea was to just grab them from the cache - worked fine with a 
simple sql statement. However, I'd like to be able to always get the 
freshest rendering of a page, and ofcourse also non-cached pages.

Then I started looking at how the tslib_pagegen.php does it. But I was 
undsuccessful in including the libs in my mod/index.php script.

As a final desperation attempt I tried getURL'ing the page 
('index.php?id='.$this->id.'&no_cache'); - but that wouldnt be right, 
would it?

Looking at how the View Page module works didn't help me much either.

Any ideas are welcome. Thanks :)

--
Casper Poulsen
casper at edev.dk




More information about the TYPO3-dev mailing list