I've spent the last two days assembling a simple content manager with tt2, and I found it extremely easy. Now I would like to add a "search" facility, so I though to develop a plugin for searching patterns recursively in a set of files and returning a structure. I though to use File::Find, but maybe it has been already done. Is it?
Otherwise, what would be useful? 1) the path of files containig the expression, maybe with leading directory stripped (i.e. ready to become relative urls). 2) some content lines, purged by html tags and tt expressions. 3) a replace expr applied (say for highligthing the found expr) 4) line numbers or just use google? -- Franco Bagnoli (franchino) <[EMAIL PROTECTED]> ([EMAIL PROTECTED]) virtual location: Dipartimento di Energetica "S. Stecco" ultra-virtual affiliation: Centro Dinamiche Complesse (CSDC-Firenze) real location: Dip. Matematica Applicata "G. Sansone", Universita' Firenze, Via S. Marta, 3 I-50139 Firenze, Italy. Tel. +39 0554796422, fax: +39 055471787 _______________________________________________ templates mailing list [EMAIL PROTECTED] http://lists.template-toolkit.org/mailman/listinfo/templates
