Great advice. Thanks, Jack!
On Wed, Mar 4, 2009 at 7:15 AM, Jack Andrews <[email protected]> wrote: > - Show quoted text - >> I'd like to automate capturing web-page source text using J. I can, of >> course, continue to copy and paste back and forth between my J >> sessions and a browser, but I'd like to know what would be involved in >> making a closer connection. What sort of options are there? If there >> is information on this already on the J wiki, where should I look? I >> guess what I'm looking for is how to use J as a (simple) web browser. > > you could write a browser plugin (eg. firefox extension) that feeds to > J the HTML from every site you visit. > > you could use wget or curl or lynx to dump HTML to a file > > you could use HTTP from J using system/classes/socket/jtelnet.ijs > all you have to do is send eg. "GET /index.html HTTP/1.1" to a server > and you'll get HTML back (after some headers) > > > ta, jack > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
