[TYPO3-english] Inclusion of html pages of another domain
Lars Haendler
typo3 at larshaendler.com
Tue Oct 28 12:09:38 CET 2008
Hi,
Xavier Perseguers wrote:
> Hi,
>
> I need to include html (coming from ASP pages) from another website in
> my TYPO3 website until I have time to recode the stuff in TYPO3.
>
> I see three solutions:
>
> 1) create an alternate template with frames and load the external pages
> into one frame (quite some work but would work)
>
> 2) Load the external page inside an iframe
>
> 3) Include the external page using the extension lumophpinclude (or any
> other that I am not aware of)
>
> Problems:
>
> With 2) I have to specify an height for the iframe and I cannot resize
> it dynamically when the page has loaded as this is now forbidden to
> access info from another domain (cross-domain restrictions on iframes).
> It seems that it would be possible to use some trick with a Flash object
> placeholder loading the external page but I could not find useful
> resources.
> Possible workaround: specify a big enough height and "voilà", that's not
> perfect but would work for a few months, until I convert ASP pages to
> TYPO3. And if the document is bigger than that, then the user will have
> to scroll down the iframe content.
>
> With 3) the problem is that current version is said not to support POST
> and COOKIES anymore (although it was possible in an older version) and
> that's really bad as I need to let those external pages use forms and
> send as such send POST requests (otherwise I would copy the content to
> TYPO3 in a few hours). That really would be the best solution as it
> would be fully integrated with the TYPO3 website. But I need
> "external-domain"-URL rewriting and forwarding of POST requests and of
> course support of cookies for the external domain authentication.
>
> Any hint?
>
I had a similar problem some days ago. Old school frameset proved to be
the best solution because get und post variables did not get lost.
Cheers
Lars
More information about the TYPO3-english
mailing list