hey all,

not exactly an embedding question, but I was wondering if there was a
C++ API for mozilla which basically did the same thing as mozilla sans
gui.

In other words, I'd like to be able to say:

Mozilla inst("http://posting.google.com/...";);

MozillaForm form = inst.form();
form.set("groups", "netscape.public.mozilla.embedding");
form.set("subject", "api for web searches without a GUI");
form.set("text", "hey all,\n\nnot exactly an embedding question,
but...");
form.post();

where inst would then keep track of the state of the 'browser'.

A full fledged API would solve a hell of a lot of problems that I'm
currently facing with 'curl', 'wget', etc.; because the web is fast
outgrowing its URL roots and 'wget/curl/etc' don't work in the face of
websense/javascript confirmations, etc..

Assuming that this isn't in place, anybody got pointers into the
design of mozilla that would help me build such a beast?

Ed

Reply via email to