Re: Getting content out of a WebView

2009-09-23 Thread Eddie Aguirre
Yup, that did it. Using the DOM was the way to go. Thanks guys. -- Eddie Aguirre ed...@markzware.com On Sep 23, 2009, at 8:19 AM, Jens Alfke wrote: On Sep 22, 2009, at 5:53 PM, Eddie Aguirre wrote: getting the data from the WebView through the mainFrame and dataSource works for the initi

Re: Getting content out of a WebView

2009-09-23 Thread Jens Alfke
On Sep 22, 2009, at 5:53 PM, Eddie Aguirre wrote: getting the data from the WebView through the mainFrame and dataSource works for the initial contents but not the edited contents. The dataSource always returns the unedited content. I've tried editing in the WebView then turning off edit

Re: Getting content out of a WebView

2009-09-22 Thread Colin Cornaby
I don't have example code handy, but I'd try parsing the DOM tree, which is abstracted by a series of Obj-C WebView classes. On Sep 22, 2009, at 5:53 PM, Eddie Aguirre wrote: I have a simple application which has a WebView and NSTextView and two buttons. Both views are editable. What I'd l

Getting content out of a WebView

2009-09-22 Thread Eddie Aguirre
I have a simple application which has a WebView and NSTextView and two buttons. Both views are editable. What I'd like to be able to do is edit in either view and then sync with the other view. I can do this in the direction from the NSTextView to the WebView but not vice versa. I'm able