[Gambas-user] WebPage support in Gambas

Benoît Minisini gambas at ...1...
Tue Mar 20 12:55:21 CET 2012


Le 20/03/2012 10:57, jm a écrit :
>
> What about making the include<%{OtherWebPage}%>
> into a C like format  i.e.<% #include OtherWebPage.html %>
> and the renderer cleanly snips everything between<%..%>
> including the<% and %>
> and replaced it with whatever is inside OtherWebPage.html
>
> The idea is that OtherWebPage.html can then have its own<%..%>
> or just plain html which can change dynamically and it doesn't
> affect how it gets interpreted from the original web page.
>
> (Both the original scheme and this scheme could co-exist. When the
> interpreter sees the # it switches to this C type of include mode.)
>

Including another webpage and including a normal HTML file are not the 
same thing, so two different syntaxes would be needed there...

-- 
Benoît Minisini




More information about the User mailing list