- From: Paul Law <paul-law@ix.netcom.com>
- Date: Sun, 02 Jun 1996 11:49:21 +0000
- To: "Kiraly, Zoltan" <zkiraly@uttgm.ro>
- Cc: W3C Lib <www-lib@w3.org>
I'm no expert on LibWWW but one way to do this is to split the input into two separate streams. One goes into the stream created by HTSaveLocally and the other one goes into the one created by HTMLPresent. This means you will have to write a stream of your own and the output will go into the other two streams. Look at HTInit.c, HTFWrite.c and HTML.c to see how streams are constructed and configured. Someone has mentioned in this list that a generic stream splitter has been written. Check the list archive at http://lists.w3.org/Archives/Public/www-lib/threads.html for the back messages. There may be better ways to do what you want to achieve. Anyone care to comment? Regards, Paul Law paul-law@ix.netcom.com > > Hi, > > I have a question about these converters. > > I have an application,kind of a robot,wich should do the followings: > Get a HTML document - save it - get the links of that document and follow > them - get the documents pointed by those links I got from the previous > documents - save them - and so on.... > Well, I tried to do this with registering those two converters: > HTSaveLocally and HTMLPresent. > But the thing is that I would like those converters to called in the > following order: first the HTSaveLocally and just after that is saved to > call the HTMLPresent... > Can I do that? > Or maybe this is a wrong way for what I need. > Can anyone help me out? > Thanx... > > Zoli.
Received on Sunday, 2 June 1996 14:47:51 UTC