> Let me build on my question here:
> How about TCP/IP? Would it be that difficult to set up a
> "Template Toolkit Server" on a socket protocol?
Why not set up a simple Apache::Template script that reads configuration
from the URL?
Then you request an URL like:
http::/yourserver.com/tt?input=data.txt&template=data.tt
The server reads 'data.txt' from a predetermined location (or from POST
content), merges it with the template, and serves the result. The python
interface could then be urllib, and might look something like this:
params = urllib.urlencode({'input': 'data.txt', 'template': 'data.tt'})
f = urllib.urlopen("http://yourserver.com/tt?%s" % params)
print f.read()
- Mark.
_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates