ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

HTML DOM parser

April 13, 2011 8:19pm

Subscribe [3]
  • #1 / Apr 13, 2011 8:19pm

    alex michaud

    3 posts

    Hi everyone,

    I wrote a simple HTML DOM parser, very similar to simple html dom, php query and query path. It’s lightweight and very fast, much faster then simple html dom, yet it’s easy to use. If you need a HTML parser, give it a try, feedback is welcome.

    HTML DOM

  • #2 / Apr 05, 2012 6:39am

    playaz

    17 posts

    This looks like an awesome class!!

    I will be trying this out on some projects soon! 😊

  • #3 / Apr 13, 2012 9:29pm

    xtarx

    3 posts

    seems like a good one but can you post some example from the begining , i mean from parsing from the URL. since i didnt know how to grab html from url using your libary ..

    thanks in advance

  • #4 / Apr 13, 2012 11:01pm

    cPage

    39 posts

    $this->page->set_html('h2','titre','Informations');
    foreach($this->db->data['textes'] as $cle=>$valeur)
    {
      $this->page->set_html('h4',$valeur['titre']);
      $this->page->set_html('p',$valeur['texte']);
    }
    
    $this->html_dom->loadHTML($this->page->create_html());

    😉

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases