> 2) You want [TEXT]name=3Drichard=[/TEXT] in the new page (this
> is the bit that I am u=nsure of)
If this is what he wants he =would already be getting it with
his existing code as lon=g as his companion.html file contains
the code [TEXT]name==3Drichard[/TEXT].
But I think what he= really wants is a new file that contains
"richard". This= requires WebDNA to interpret the code in his
companion.h=tml template so it can populate the [name] tag.
But copyf=ile does not interpret WebDNA tags:
Th=e thing to remember about copyfile is that it invokes the
OPERATING SYSTEM to make the copy. Therefore WebDNA is not
involved in the actual file copying process, and this means
any WebDNA tags in the original file will NOT be interpreted.
I could have simplified my previous example c=ode like this:
[writefile ../[lowercas=e][page_name][/lowercase].html]
[include companion.html]<=br clear=3D"none">[/writefile]
... but= sometimes creating separate steps in my code makes it
ea=sier to read and understand. Nevertheless this code should
work fine if he wants "richard" to appear in the new file.
Regards,
Kenneth Grome
WebDNA Solutions
http://www.webdnasolutions.com=a>
Urgent/Emergency Phone: (228) 222-2917
Website, Database, Network, and Communication Systems