elyxer-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[eLyXer-users] partial document mode


From: Sam Liddicott
Subject: [eLyXer-users] partial document mode
Date: Mon, 05 Apr 2010 21:12:31 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.2pre) Gecko/20100302 Lightning/1.0b2pre Lanikai/3.1b1

It would be great if elyxer could output partial html documents (in a <div>) instead of a full html document. This would support use with apache's ssi include templates. 

It means I can have this at the top of the elyxer exported code:

<!--#if expr="! ${template}" --><!--#include virtual="/newfangle/template.shtml" --><!--#else -->

in order to have apache show the html in my current template.


My template file has this in tghe middle to re-emit the document at the right part:
<!--#set var="template" value="template.shtml" -->
...
<!--#include file="${DOCUMENT_NAME}" -->

(it would mean that I would have to include the css myself of course)

Sam
--
Sam's signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]