From: Randy Kramer Date: 2005-02-25T01:31:24+09:00 Subject: Simple HTML Renderer / Browser? I need a simple HTML renderer (to get started--eventually, I want to be able to interface to the gecko, khtml, and possibly other renderers/browsers, but for now I'm looking for something simple that won't be too hard for me (as a Ruby newbie) to get working). Suggestions? Current Questions: I have been doing some research and have some thoughts / questions: * tkhtml () sounds like a possibility, but I don't know if there is a Ruby interface to it--I 've been searching the web and reading up on Tk in Teach Yourself Ruby in 21 Days and Programming Ruby. Anybody have any experience with it (in Ruby). * Programming Ruby says I can access a Tk widget by prefixing it with Tk--is that all that has to be done (along with whatever you get with 'require Tk') or does that depend on someone having created a Ruby "interface" specifically for tkhtml beforehand? * If I use tkhtml I should name it something like Tktkhtml based on what the book says? (Uncertain about the double tk and capitalization in general.) As I said, someday I'll want to use khtml (kde/qt) and gecko (Gtk) but I'm afraid Gtk and qt would overwhelm me at this point. I'd like to stay in a simpler (and lighter) GUI family, like Tk or Fox (at least I'm assuming they are simpler and lighter). Ideally, it would be nice to find a "cookbook" example, where I could copy some code verbatim to get something working, then expand from there. Simple rendering will do to start, for an application I'm envisioning, I'll eventually want both multiple renderers and at least one full-fledged browser. Randy Kramer