Kanarie TS (Was: Re: Euphoria as Apache Module)

new topic     » topic index » view thread      » older message » newer message

Tommy Carlier wrote:
> 
> You make a template with HTML-code and Kanarie-tags, and you make a simple
> Euphoria-application to read and process that template.
> ...
> There are list tags (for repeating a block multiple times), conditional
> tags, include-tags (for including entire files), etc.

The conditional tags are what made me investigate further... Now here's a
question for you: can you make it so I can specify something like this:

{dbname<>"":}Current DB:{dbname}{:dbname} -- if dbname is not blank, use it
{dbname=}No DB Open{:dbname}

That's for demo only... I'm not suggesting you use <>"" to indicate emptiness.

IOW, there's no way currently (I think) to act  if the conditional is not
blank. I don't want to have to specify every case, because there's no way
to determine that up front.  If there's a way to do this with the current
library, please lemme know! :)

> You can download it from <a
> href="http://users.telenet.be/tommycarlier/eu">http://users.telenet.be/tommycarlier/eu</a>
> It has some examples, and documentation. The only thing that's missing
> is a 'Powered by Kanarie'-image blink

Might find a good image to incorporate into the graphic here:

    http://images.google.com/images?q=canary&hl=en&btnG=Search+Images

:)

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu