Library for html generation


#1

Is there a ruby library for generating HTML? I’m looking for something
(other than what rails comes with), that’s not tied tightly to any
particular web server framework.

Basically i just want to be able to call a method like get_textarea(…),
pass in the appropriate html attributes and get back a string with an
html
snippet with the attribuetes set.

Thanks in advance.
-larry


#2

Larry W. wrote:

Is there a ruby library for generating HTML? I’m looking for something
(other than what rails comes with), that’s not tied tightly to any
particular web server framework.

Basically i just want to be able to call a method like get_textarea(…),
pass in the appropriate html attributes and get back a string with an html
snippet with the attribuetes set.

Thanks in advance.
-larry

http://narf-lib.sourceforge.net/doc/classes/Web/Narflates.html

http://raa.ruby-lang.org/project/amrita/

http://raa.ruby-lang.org/project/kwartz/
http://raa.ruby-lang.org/project/misen/

http://xtemplate.sourceforge.net/

http://raa.ruby-lang.org/project/bluecloth/

http://raa.ruby-lang.org/project/redcloth/

http://chneukirchen.org/blog/archive/2005/02/kashmir.html


#3

Don’t forget the CGI standard library:

http://ruby-doc.org/stdlib/libdoc/cgi/rdoc/index.html

-Justin


#4

yikes!

thanks much.