I am new to parsers. I want to extract/parse the HTML documents. I have heard of this HTML DOM using PHP. Can ypu tell me some links or some basic introduction to start with? How can I use it to extract info from HTML document? Thanks in advance.

Recommended Answers

All 2 Replies

I have done some basic scrapping using DOMXPath class which works pretty efficiently.

I'm sure you can find some information online about using it to parse html to do what you want.

Here is another one. Make sure to use it with cURL.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.