PHP simple html-dom parse, how parse javascript?

No. You can only parse the DOM as it exists. You would need an entire javascript engine integrated into the parser in order to do that.

I suppose it could potentially be done with other external tools (i.e. Handing off to node. Js or something and then gettign the final DOM back fro parsing by php) but thats a whole lot of complication.

No. You can only parse the DOM as it exists. You would need an entire javascript engine integrated into the parser in order to do that.

I suppose it could potentially be done with other external tools (i.e. Handing off to node. Js or something and then gettign the final DOM back fro parsing by php) but thats a whole lot of complication.

One could also attempt to make a js analyzer for a specific set of use cases but this is bound to be error prone expecially if the html in question is coming from a site you don't control.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions