On 10/17/06, Marc Heiler <shevegen / linuxmail.org> wrote:
> Hello,
>
>   How can i embed ruby code into a html page,
>   like php code, without using erb, nor
>   its IMO slightly ugly syntax? (I am
>   using Apache2.)
>

If you are familiar with PHPTAL which makes a standard static html
page into a dynamic one using an attribute language then you might
like MasterView which is a plugin for Rails which works similarly.

MasterView allows you to use the full power of rails partials,
layouts, helpers, etc while still keeping a WYSIWYG editable html
file. Any WYSIWYG changes that you apply to the html are used in the
final rendering (they are merged with the options in the attribute
directives.

MasterView is a Rubyforge project
http://rubyforge.org/projects/masterview

I also have a video and some screenshots here
http://masterview.org/

I'd be glad to answer any questions that you have.

Blessings,

Jeff