[Templates] EtText 2 TT2? (Std widget library/api)

2002-06-09 Thread Bryce Harrington
Has anyone developed a listing of standard macro-names (i.e., and API) for common template-toolkit snippets (i.e. widgets)? Along the same vein, has anyone linked TT2 with a structured-text processor like STX or EtText? What I'm thinking of is a system where an end user can submit content in

Re: [Templates] EtText 2 TT2? (Std widget library/api)

2002-06-12 Thread Bryce Harrington
On Tue, 11 Jun 2002, Andy Wardley wrote: On Sat, Jun 08, 2002 at 03:51:54PM -0700, Bryce Harrington wrote: Has anyone developed a listing of standard macro-names (i.e., and API) for common template-toolkit snippets (i.e. widgets)? Kind of. The HTML and Splash template libraries achieve

Re: [Templates] EtText 2 TT2?

2002-06-11 Thread Bryce Harrington
On Mon, 10 Jun 2002, Curtis Poe wrote: Along the same vein, has anyone linked TT2 with a structured-text processor like STX or EtText? What I'm thinking of is a system where an end user can submit content in lightly-formatted plain text and instead of converting it directly

[Templates] Reverse a list?

2003-07-28 Thread Bryce Harrington
Is there a way to reverse the order of a foreach loop? I did not see mention of it on the Template::Iterator manpage or elsewhere... Basically what I'm trying to do is iterate through a directory's contents in reverse order. I.e., something like: [%- USE dir = Directory($ttree_absdir/homepage)

RE: [Templates] Reverse a list?

2003-07-28 Thread Bryce Harrington
Company email: [EMAIL PROTECTED] www.encad.com -Original Message- From: Bryce Harrington [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2003 1:03 PM To: [EMAIL PROTECTED] Subject: [Templates] Reverse a list? Is there a way to reverse the order of a foreach loop? I did not see

Re: [Templates] Template Toolkit verion 2.10

2003-08-04 Thread Bryce Harrington
On Mon, 4 Aug 2003, Andy Wardley wrote: Alex Vandiver wrote: Also, what are the chances of getting the docs at http://www.template-toolkit.org/docs/ updated to 2.10? Done. P.S. The MIT homepage now uses TT2 to regenerate 300+ pages of static HTML per day. Whee! Cool! Fwiw, I've

Re: [Templates] Simple parse error

2003-08-14 Thread Bryce Harrington
On Wed, 6 Aug 2003, Edward Tsai wrote: Hello everyone, I'm getting the following error from the following file Template process failed: Template::Constants::ERROR_FILE error - parse error - request.html.tmpl line 10: unexpected end of input from [% INCLUDE header title =

Re: [Templates] ttree enhancement request

2003-10-03 Thread Bryce Harrington
On 3 Oct 2003, David Dyer-Bennet wrote: Bryce Harrington [EMAIL PROTECTED] writes: On 3 Oct 2003, David Dyer-Bennet wrote: There doesn't seem to be any way to set the ABSOLUTE or RELATIVE attributes when processing through ttree. It's good to have control over what kind

Re: [Templates] ttree enhancement request

2003-10-06 Thread Bryce Harrington
On 6 Oct 2003, David Dyer-Bennet wrote: Andy Wardley [EMAIL PROTECTED] writes: David Dyer-Bennet wrote: Forgive me for not knowing the power structure around here I am the power structure! Bwah-hah-hah-hh! As a friend told me some years ago when I was chairing a large science

Re: [Templates] CGI/TT vs SSI

2003-10-10 Thread Bryce Harrington
On 10 Oct 2003, David Dyer-Bennet wrote: Tosh Cooey [EMAIL PROTECTED] writes: After reading some of the things that Randall has suggested I was thinking about making the menu static, but then I have to rebuild after every change, and also lose a bit of dynamism. I'm running a mod_perl

[Templates] Announce: Cvs-Brancher 1.00

2003-10-10 Thread Bryce Harrington
Static websites have a number of advantages over dynamically built sites, but one of the disadvantages is being able to schedule deployment of new content at arbitrary times. Cvs-Brancher is designed to address this issue by making it straightforward to branch a CVS tree and schedule a merge and

Re: [Templates] TT Advocacy

2004-01-27 Thread Bryce Harrington
On Tue, 27 Jan 2004, Simon Wilcox wrote: On Tue, 27 Jan 2004, Dave Cross wrote: And, if so, shall I start to collate information? peace direct - http://www.peacedirect.org/ Digital Craftsmen - http://www.digitalcraftsmen.net/ Dynamo Youth Theatre - http://www.dyt.org.uk/ All static sites

RE: [Templates] Using TT to create word docs.

2004-01-29 Thread Bryce Harrington
You may also wish to inquire if PDF might be suitable, as there are several approaches for generating them fairly easily. Bryce On Thu, 29 Jan 2004, Peter Guzis wrote: I am not aware of any platform-neutral method for writing a Word document, but you could create the next best thing, a Rich