Forum: Ruby library for html generation

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D4b246038154d7cc2363256bd25a4fe0?d=identicon&s=25 Larry White (Guest)
on 2005-12-17 00:28
(Received via mailing list)
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
<textarea> snippet with the attribuetes set.

Thanks in advance.
-larry
9dfe8c734b0f9b37a4e218425c0a2138?d=identicon&s=25 Gene Tani (Guest)
on 2005-12-17 01:22
(Received via mailing list)
Larry White 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
> <textarea> snippet with the attribuetes set.
>
> Thanks in advance.
> -larry

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

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
D4b246038154d7cc2363256bd25a4fe0?d=identicon&s=25 Larry White (Guest)
on 2005-12-17 01:29
(Received via mailing list)
yikes!

thanks much.
F3b7109c91841c7106784d229418f5dd?d=identicon&s=25 Collins, Justin (Guest)
on 2005-12-18 01:50
(Received via mailing list)
Don't forget the CGI standard library:

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


-Justin
This topic is locked and can not be replied to.