From: Alexander Kellett Date: 2005-02-26T01:33:31+09:00 Subject: Re: Simple HTML Renderer / Browser? On Feb 25, 2005, at 1:21 PM, Randy Kramer wrote: > On Friday 25 February 2005 04:31 am, Alexander Kellett wrote: >> rendering a piece of html with korundum/khtml is a >> matter of just a few lines. interested in the code? > > Alex, > Yes, please! ;-) hehe :) for a complex application using it see: www.lypanov.net/websitedata/RubberDoc-0.2.7.tbz2 just extracting the basics i guess its something like: require 'Korundum' about = KDE::AboutData.new("one", "two", "three") KDE::CmdLineArgs.init(1, ["RubberDoc"], about) app = KDE::Application.new() m = KDE::MainWindow.new htmlview = KDE::HTMLPart.new m htmlview.openURL KDE::URL.new("") (untested, if there are any problems i think richard will be able to help :) - i'm unable to test at the moment for various reasons) Alex