I probably put it wrong. I need to crawl data that's behind forms, and what I've been doing until now in Java is to submit the forms, get the results-page, and download the individual pages. But my home-made Java app is getting unmanageable now, and I want to integrate Gecko in a C+ + app (C++ being my fave) to do all the form-submit, crawling and data extraction part. If I can set up the environment to get me just one page, I'll build on that.
On Aug 17, 3:44 pm, Arcnor <[EMAIL PROTECTED]> wrote: > Hello! > > [EMAIL PROTECTED] wrote: > > > Compile errors again, symbols like XRE_InitEmbeddingType are not being > > found. Docs on mozilla website say that they no longer support > > winEmbed or mfcEmbed; not sure if they'll work now. > > > > What I'm trying to do is to write a bare-bones crawler in C++, I don't > > need any GUI, or any browser window. I just want a console app (.exe) > > that will take as argument a URL and save its content to a file on the > > disk. Just that. Later, data-extractor will pick it up and do the > > parsing. > > > > I already have something like this working in Java, without Gecko or > > anything. Is there no simple way of doing it in C++/Gecko? > > > > Do you really think you need embedding Gecko to just grab a page? If I > were you, I'll just use something like 'wget' or some kind of socket > object. Maybe I'm not understanding you well... > > >>>On Aug 16, 12:18 pm, "Arnaud" <klephte2003 at yahoo fr> wrote: > >> > >>>> If you expect to use Gecko as a crawler to get the DOM view of the > DHTML > >>>> pages you will download, that's certainly the best way. A very > usefull > >>>> example is located in [C:]\mozilla\embedding\tests\winEmbed, but the > >>>> Visual > >>>> studio Project winembed.dsp seems to be out of order, so I rewrite > one, > >>>> you > >>>> could get it athttp://www.grandville.net/download/winEmbed.vcproj > > Arnaud, I've succesfully build your project with winEmbed, but it does > nothing, just displays the "You're embedded, man" message and the > "IMPORTANT NOTICE" about winEmbed not being supported, but no web window > opens or whatever. (I want to embed it on a wxWidget application, but > that's another history, and I don't want to "kidnap" John Berkeley > thread ;)) What I'm doing wrong? > > Thanks in advance! _______________________________________________ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding