advanced_html_dom
advanced_html_dom copied to clipboard
can't get it to work
Currently using simple html dom and I was under the impression that only 2 changes were necessary:
- replace simple_html_dom.php contents with those from advanced_html_dom.php
- change
$html = new simple_html_dom();to$html = new AdvancedHtmlDom()However this isn't working . It would be very useful if you can include examples where your code works, because at the moment it does not. If you included example code it would make it so much easier to debug. For your information I am using curl to grab the page contents.
Try using str_get_html or file_get_html. I don't consider this an issue.
On Thu, Oct 13, 2016 at 4:14 AM, Luke McLachlan [email protected] wrote:
Currently using simple html dom and I was under the impression that only 2 changes were necessary:
- replace simple_html_dom.php contents with those from advanced_html_dom.php
- change $html = new simple_html_dom(); to $html = new AdvancedHtmlDom() However this isn't working . It would be very useful if you can include examples where your code works, because at the moment it does not. If you included example code it would make it so much easier to debug. For your information I am using curl to grab the page contents.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/monkeysuffrage/advanced_html_dom/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AA1afDckb9euEWksHFx69RPy02dTWCZXks5qzT-ygaJpZM4KVLAg .
I agree that the README is pretty lousy. Definitely not a friendly drop-in replacement.
There is not even a mention of what should be added to composer.json!
@Galimatias - feel free to contribute.
On Fri, Apr 7, 2017 at 6:51 AM, Galimatias Nekromoff < [email protected]> wrote:
I agree that the README is pretty lousy. Definitely not friendly drop-in replacement.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/monkeysuffrage/advanced_html_dom/issues/3#issuecomment-292349679, or mute the thread https://github.com/notifications/unsubscribe-auth/AA1afMiUhZWz5pNVC8oPKIbPRYO0KVZJks5rtWx5gaJpZM4KVLAg .
No, thank you, not contributing to basically an undocumented library.
On Fri, Apr 7, 2017 at 1:48 AM, monkeysuffrage [email protected] wrote:
@Galimatias - feel free to contribute.
On Fri, Apr 7, 2017 at 6:51 AM, Galimatias Nekromoff < [email protected]> wrote:
I agree that the README is pretty lousy. Definitely not friendly drop-in replacement.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/monkeysuffrage/advanced_html_ dom/issues/3#issuecomment-292349679>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ AA1afMiUhZWz5pNVC8oPKIbPRYO0KVZJks5rtWx5gaJpZM4KVLAg> .
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/monkeysuffrage/advanced_html_dom/issues/3#issuecomment-292365000, or mute the thread https://github.com/notifications/unsubscribe-auth/AIJ3zSLt3Zm_CWN5GmzYuOlJx2UUoKIaks5rtXnSgaJpZM4KVLAg .
Read the simple html dom documentation in that case. All the common simple html dom methods are available in this library.
On Fri, Apr 7, 2017 at 7:55 AM, Galimatias Nekromoff < [email protected]> wrote:
No, thank you, not contributing to basically an undocumented library.
On Fri, Apr 7, 2017 at 1:48 AM, monkeysuffrage [email protected] wrote:
@Galimatias - feel free to contribute.
On Fri, Apr 7, 2017 at 6:51 AM, Galimatias Nekromoff < [email protected]> wrote:
I agree that the README is pretty lousy. Definitely not friendly drop-in replacement.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/monkeysuffrage/advanced_html_ dom/issues/3#issuecomment-292349679>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ AA1afMiUhZWz5pNVC8oPKIbPRYO0KVZJks5rtWx5gaJpZM4KVLAg> .
— You are receiving this because you commented. Reply to this email directly, view it on GitHub <https://github.com/monkeysuffrage/advanced_html_ dom/issues/3#issuecomment-292365000>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AIJ3zSLt3Zm_ CWN5GmzYuOlJx2UUoKIaks5rtXnSgaJpZM4KVLAg> .
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/monkeysuffrage/advanced_html_dom/issues/3#issuecomment-292366739, or mute the thread https://github.com/notifications/unsubscribe-auth/AA1afLSG-1N79ILWb09-GWCVbalENWoVks5rtXtfgaJpZM4KVLAg .
Hello, I can help in contributing and document the library.