Quantcast
Channel: Comment feed for "Extract HTML with PHP’s DOM extension"
Browsing latest articles
Browse All 24 View Live

Comment on "Post: Extract HTML with PHP’s DOM extension (en)" by...

Not bad, could come handy in certain situations but why didn't you use javascript (maybe even with jquery or mootools) to extract DOM content?

View Article


Comment on "Post: Extract HTML with PHP’s DOM extension (en)" by...

Because I needed to do it on the server. Are you suggesting I use a server-side JavaScript interpreter?

View Article


Comment on "Post: Extract HTML with PHP’s DOM extension (en)" by...

Nope, Atm I don't see why someone should use JavaScript as a server side language of choice..if you need to do sth on server-side php is just fine (ok, not as cool as python but anyway ;-)). Mind you...

View Article

Comment on "Post: Extract HTML with PHP’s DOM extension (en)" by...

great !! thanks alot

View Article

Comment on "Post: Extract HTML with PHP’s DOM extension (en)" by Jazza

Ahh thanks! Just what I was looking for, Cheers!

View Article


Comment on "Post: Extract HTML with PHP’s DOM extension (en)" by...

Nicolas! Ta for the handy pointers here, but you forgot to take account of self-closing tags! Just putting your three tag-closing lines inside a wee regex conditional seems to sort it out, though. :-)

View Article

Comment on "Post: Extract HTML with PHP’s DOM extension (en)" by Ode

Awesome, this was just what i needed! Thank you very much! Working like a charm :)

View Article

Comment on "Post: Extract HTML with PHP’s DOM extension (en)" by...

This is a very nice code. But what id I had only a space inside a node (). How could I preserve that?

View Article

Browsing latest articles
Browse All 24 View Live