[REBOL] delay, RE: Re: steel update
From: maximo::meteorstudios::com at: 21-Aug-2003 9:55
I've had to delay the release of the new site, I was busy adding nested tag rebuilding
last night and it took a while to debug it. now remark.r can even parse a file or tag
which has nested tags and it will parse/replace the innermost tags first, then, its return
is checked again, just to be sure that the new html content doesn't contain new dynamic/extended
tags... so basically, it allowed me to create a <file! "path"> tag which maps the path
and returns it within quotes. In any other tag I want to use a file path, I just specify
the path as a <file! "path"> tag instead, and it will then be reduced again.
for example, to create an relatively absolute path , I just put <img src=href<file! "images/img.gif">>
so when the file is parsed, the file tag will be replaced like so: <img src=href"../images/img.gif">
if the current file is one level deeper than the site root.
before, the engine skipped the <file!> tag, because it did not handle nested tags, what's
more is that if a nested tag appeared, it would not catch the end of the outermost tag
correctly, instead, catching the end of the innermost tag and basically jumbling up the
I did this basically so that I could use the file mapping mechanism in every tag that
needs it without having to reimpliment it. It almost like if html tags where now functions,
each dynamic tag calling upon other successively lower-level dynamic tags.
Although I did work on the site at home, it will not be complete before tonight, SORRY,
I hate promising things and not delivering...
I'll also check out that bug, just to see if I can make it disapear (although I've never
meteor Studios, T.D.
Never Argue with an idiot. They will bring you down to their level and beat you with