what's the right tool for text file templates?
Cees De Groot
cdegroot at gmail.com
Tue Nov 29 15:00:02 UTC 2005
You'll have to dig a bit, but some years ago an SSP implementation by
(IIRC) Stephen Pair did just that. I think it was simple and flexible
enough to be used not just for webpages..
On 11/29/05, Larry White <ljw1001 at gmail.com> wrote:
> I want to be able to read a text file and have it programmatically perform
> substitution on some of the text.
>
> The requirement is for something akin to "smalltalk server pages" although
> this isn't for a web app.
>
> I just want to be able to read a file containing the text "Hello, <%name%>.
> Welcome to my world." and have it return as a string
> "Hello, Joe. Welcome to my world."
>
> Is this functionality available in squeak somewhere, perhaps as part of a
> web server framework?
>
> thanks.
>
>
>
>
>
More information about the Squeak-dev
mailing list
|