Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Re: Is it possible to use: %>

Quote Reply
Re: Is it possible to use: %> In reply to
Hey! You could fix that performance penalty by rewriting the "official" routine to check the <%include%> tag for a tag before processing it <G>

Or, what about using a <%include %filename%%> construct, so that the parser is still looking for the next %>, but if it hits a %text% block before a %> that becomes an include file not a literal. That could be handled by the file include routine, not the parser, even, by assuming it's a file name, then checking to see if it's a %filename% or just filename.

This is somewhat of a special case, since the include tag is already looking for a replaceable parameter, we only need to let the file open routine know whether it's a literal or variable, and if a variable, where to get the name to open.




Subject Author Views Date
Thread Is it possible to use: %> Fortune 4117 Jan 12, 2000, 3:30 PM
Post Re: Is it possible to use: %>
pugdog 4004 Jan 12, 2000, 4:24 PM
Post Re: Is it possible to use: %>
Fortune 4001 Jan 12, 2000, 5:30 PM
Post Re: Is it possible to use: %>
pugdog 3997 Jan 12, 2000, 11:38 PM
Post Re: Is it possible to use: %>
Fortune 3998 Jan 13, 2000, 7:24 AM
Post Re: Is it possible to use: %>
pugdog 3996 Jan 13, 2000, 2:39 PM
Post Re: Is it possible to use: %>
tmoretti 4008 Jan 13, 2000, 3:10 PM
Post Re: Is it possible to use: %>
Fortune 3998 Jan 13, 2000, 3:31 PM
Post Re: Is it possible to use: %>
pugdog 4005 Jan 13, 2000, 4:51 PM
Post Re: Is it possible to use: %>
Fortune 4004 Jan 13, 2000, 8:24 PM
Post Re: Is it possible to use: %>
Alex 4005 Jan 14, 2000, 10:22 AM
Post Re: Is it possible to use: %>
pugdog 4002 Jan 14, 2000, 12:01 PM