At 12:46 AM +0000 11/14/03, Peter Moran wrote:
Thanks Angus,

Thats exactly what I need - incidently, what docs is this in, I cant seem to
find it ?
It's there in the HTML::Embperl doc in the Execute docs . I don't
usually use the output, but I use the input case quite a bit. Define
a bunch of template files, then create a database structure and
people can update the database to change the site.

input => $this->Commons->toHTMLString(\$Page->{content},
mtime => join('', $Page->{dtm} =~ /[0-9]/g),
inputfile => $req_rec->uri(),
}) if ($Page->{contenttype});

Where $Page is a DBIx::Databse record. The inputfile value gives it
a handle so Embperl can cache it by name, the mtime gives it a value
to see if it needs to reparse.

The Messagefire anti-spam site uses this for page content, help text,
FAQs and lots of other things.
Kee Hinckley
http://www.messagefire.com/ Next Generation Spam Defense
http://commons.somewhere.com/buzz/ Writings on Technology and Society

I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.

To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org

Search Discussions

Discussion Posts


Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 12 of 12 | next ›
Discussion Overview
groupembperl @
categoriesmodperl, perl
postedOct 31, '03 at 7:40a
activeNov 14, '03 at 4:03a



site design / logo © 2022 Grokbase