I’m looking for a way to implement a standard webrick HTTP server but
with a special feature : before serve a HTML page it replace all %foo%
strings place in my file page into the content of the foo ruby variable.
Thank in advance
Thierry
I’m looking for a way to implement a standard webrick HTTP server but
with a special feature : before serve a HTML page it replace all %foo%
strings place in my file page into the content of the foo ruby variable.
Thank in advance
Thierry
thierry wilmot wrote:
I’m looking for a way to implement a standard webrick HTTP server but
with a special feature : before serve a HTML page it replace all %foo%
strings place in my file page into the content of the foo ruby variable.Thank in advance
Thierry
Take a look at Amrita:
http://www.brain-tokyo.jp/research/amrita/
It’s really powerful.
Michael
I havent used webrick yet but I assume you can subclass the webrick HTTP
server class and do what ever you want.
On Sun, 2003-09-07 at 08:53, thierry wilmot wrote:
I’m looking for a way to implement a standard webrick HTTP server but
with a special feature : before serve a HTML page it replace all %foo%
strings place in my file page into the content of the foo ruby variable.Thank in advance
Thierry
On Sun, 7 Sep 2003, thierry wilmot wrote:
Check out RubLog (http://www.sf.net/projects/rublog). Someone else
suggested Amrita, which is a nice presentation framework, but it just so
happens that Dave’s templating mechanism for RubLog almost exactly as
you’ve described.
Chad