[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Interacting with Mozilla DOM?

Kenneth McDonald

9/23/2006 5:38:00 PM

I'm trying to figure out a way of controlling/interacting with the
Mozilla DOM without JavaScript, and in a not-too-hacky way. Any thoughts?

Thanks,
Ken

2 Answers

MonkeeSage

9/23/2006 6:58:00 PM

0

Kenneth McDonald wrote:
> I'm trying to figure out a way of controlling/interacting with the
> Mozilla DOM without JavaScript, and in a not-too-hacky way. Any thoughts?
>
> Thanks,
> Ken

Depending on your OS...on *nix there is gtkmozembed, which has ruby
bindings [1]. There's also rbXPCOM (looks old) [2]. I've never used
either, so I don't know how well they work (if at all).

[1] http://ruby-gnome2.sourceforge.jp/hiki.cgi?Gtk%3A%...
(more examples here
http://ruby-gnome2.sourceforge.jp/hiki.cgi...)
[2] http://www.mozilla.org/catalog/architecture/xpco...

Regards,
Jordan

David Vallner

9/29/2006 11:58:00 PM

0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

MonkeeSage wrote:
> Kenneth McDonald wrote:
>> I'm trying to figure out a way of controlling/interacting with the
>> Mozilla DOM without JavaScript, and in a not-too-hacky way. Any thoughts?
>>
>
> Depending on your OS...on *nix there is gtkmozembed, which has ruby
> bindings [1].

The Ruby binding to GtkMozEmbed doesn't seem to let you access the
underlying XPCOM DOM object, only trivially display some HTML and
whatever else Gecko supports right now.

David Vallner
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail....

iD8DBQFFHbMby6MhrS8astoRArVyAJ9lsdGP3m+Urvfr7SARNxoQNRz8KwCfaXnq
/5jLdkp8ECChh1rFuSfNRho=
=hFso
-----END PGP SIGNATURE-----