[TYPO3] SSI or similar

Bill Taroli bill.taroli at billsden.org
Sun Jul 23 09:44:15 CEST 2006


Billy L. Irwin wrote:
> I am using a different software that will creat html pages that are
> autmaticaly update. They need to be include into typo3 like Server Side
> Includes (SSI). Can anyone tell me how todo that easily. I did try the
> multimedia approach, but it didn't update the actual typo3 content.

Do you mean an external process that generates HTML files? If so, then 
you may be able to accomplish what you want by using the Multimedia 
content type and pointing it at the HTML file. Note that you will want 
to write the file into the filemount seen by TYPO3 (fileadmin/...) and 
the HTML (I believe) should only be the segment of the page containing 
the content to be included -- not an entire <HTML></HTML> document.

I've actually used this method successfully -- even updating the target 
file and seeing those changes reflected through TYPO3 -- when I was 
migrating between a static site and TYPO3 initially... for HTML that was 
too complicated to replicate, but for which I needed to maintain parity 
as I began my migration.

You can still see one such example in my site at 
http://www.billsden.org/mercedes/commercials/ , where the javascript 
pop-ups I use for the commericals aren't something I've learned to 
replicate in TScript just yet. In the page source you'll see the 
following when the beginning of the multimedia content item begins.

	<!--  CONTENT ELEMENT, uid:93/multimedia [begin] -->
		<a name="93"></a>
		<!--  Multimedia element: [begin] -->
			<br/>
<a onclick="window.open('/fileadmin/media/mercedes/commercials/1887.html','popup320','width=340,height=278,menubar=no,scrollbars=no,toolbar=no,location=no,directories=no,resizable=no'); return false">
<img src="/fileadmin/media/mercedes/commercials/1887.jpg" width="176" height="132"></a>


The source file this item points at (from fileadmin) begins with:


<br/>
<a onclick="window.open('/fileadmin/media/mercedes/commercials/1887.html','popup320','width=340,height=278,menubar=no,scrollbars=no,toolbar=no,location=no,directories=no,resizable=no'); return false">
<img src="/fileadmin/media/mercedes/commercials/1887.jpg" width="176" height="132"></a>



Hope this helps...

Bill






More information about the TYPO3-english mailing list