advanced_html_dom icon indicating copy to clipboard operation
advanced_html_dom copied to clipboard

can't get it to work

Open LukeMcLachlan opened this issue 9 years ago • 6 comments

Currently using simple html dom and I was under the impression that only 2 changes were necessary:

  1. replace simple_html_dom.php contents with those from advanced_html_dom.php
  2. 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.

LukeMcLachlan avatar Oct 12 '16 20:10 LukeMcLachlan

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:

  1. replace simple_html_dom.php contents with those from advanced_html_dom.php
  2. 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 .

monkeysuffrage avatar Oct 12 '16 23:10 monkeysuffrage

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!

nekromoff avatar Apr 06 '17 22:04 nekromoff

@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 .

monkeysuffrage avatar Apr 06 '17 23:04 monkeysuffrage

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 .

nekromoff avatar Apr 06 '17 23:04 nekromoff

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 .

monkeysuffrage avatar Apr 06 '17 23:04 monkeysuffrage

Hello, I can help in contributing and document the library.

LuxCave avatar Apr 07 '18 11:04 LuxCave