[ic] Redirecting output of Interchange
Sat, 24 Feb 2001 21:51:32 -0500
On Sat, Feb 24, 2001 at 08:26:36PM -0600, Dylan Oliver wrote:
> On Sat, 24 Feb 2001 19:31:01 -0500
> firstname.lastname@example.org wrote:
> > We did something like that a few years ago using WN Server and its
> > filter syntax. Probably for the same reasons, we wanted to incorporate
> > minivend better in our site building tools. It worked, it got messy
> > and we gave up because we found it **much** easier to turn it around and
> > build minivend pages with our site builder instead. That helped
> > **enormously** both with the minivend syntax and maintenance.
> Can you expand on how you used your site builder - how I can use Mason -
> to build Interchange pages.
I've not used Mason, only know it by name. It's on my list of things
to look at and steal feature from. :-)
> Do you mean that you passed pages through your site builder and then Interchange?
Yes. We do it both static and dynamic.
> And if so, how can I insert Mason in
> the Interchange process?
Something like this is how we build a typical minivend page:
return join '',@OUT; # You don't have a DTD yet.
# return &My::DTD(\%opt,\@OUT); # Highly recommended alternative
I do not know how fast Mason might be. You may need to modify:
push @OUT,qq`[file name='include some/file/mason/builds/every/two/hours']
push @OUT,qq`[file name='include another/file/mason/builds/every/day']
return join '',@OUT;
# return &MV::SC::dtd(\%opt,\@OUT); # Highly recommended alternative
For minivend content within a static structure:
#include my minivend code (the [embed]...[/embed] part above)
and build THAT as a static file.
If any of that even makes sense to you I'd be happy to help you
out further :-). Of course, if it does make sense, then you can
probably help _me_.
Christopher F. Miller, Publisher email@example.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
Content management, electronic commerce, internet integration, Debian linux