From: Massimiliano Mirra Date: 2002-03-20T23:51:23+09:00 Subject: Re: web templating for static sites? On Wed, Mar 20, 2002 at 11:53:29AM +0900, m_seki@mva.biglobe.ne.jp wrote: > > Do you mean that if the Page class has a ``foo'' attribute, <% =foo %> > > will be translated into that? > > Do you know erb? > You can change an eRuby script into a method by erb. > > I'm writing erb tutorial (in Japanese). # It'l be translated in > the near future. The following samples are in the tutorial. > -> http://www.jin.gr.jp/~nahi/RWiki/index.cgi?cmd=view;name=ERbMemo > > FYI: There is web application called Div using this. (machine translated) > -> http://www.jin.gr.jp/~nahi/RWiki/index.cgi?cmd=view;name=Div > -> http://www.jin.gr.jp/~nahi/RWiki/index.cgi?cmd=view;name=YourFirstDiv [...] Wow. :-) Is there any difference between eruby and erb, apart that the latter is written in pure ruby? Thanks a lot for the examples, I'll start to play with it right ahead. This is starting to look real good. :-) Massimiliano