• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WebKit: List elements in HTML page?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebKit: List elements in HTML page?


  • Subject: Re: WebKit: List elements in HTML page?
  • From: King Chung Huang <email@hidden>
  • Date: Sun, 03 Oct 2004 17:50:28 -0600

While there are no direct DOM accessors in WebKit for Panther, you could probably get the information you want by writing the appropriate javascript and calling stringByEvaluatingJavaScriptFromString: on your webview. Parsing the result should be easy.

King Chung Huang
Learning Commons
University of Calgary

On Oct 3, 2004, at 11:49 AM, Finlay Dobbie wrote:


On 3 Oct 2004, at 18:44, Charles Srstka wrote:

I've got a simple question - is there any way to get a list of all the elements - i.e., all the links, all the images, etc. - that are present in an HTML page which is being displayed in a WebView, and getting an element NSDictionary or some other structure which holds the information for each one?

There are currently no APIs for looking at the DOM. If you would like to see them, file an ER.

-- Finlay

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >WebKit: List elements in HTML page? (From: Charles Srstka <email@hidden>)
 >Re: WebKit: List elements in HTML page? (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: iPod Detection and Development.
  • Next by Date: Re: NSImage gets distorted when scrolled
  • Previous by thread: Re: WebKit: List elements in HTML page?
  • Next by thread: Re: Any news about Cocoa Java ?
  • Index(es):
    • Date
    • Thread