WordPress.org

Support

Support » Plugins and Hacks » Hacks » how? parsing a webpage then insert contents into wordpress wp_post table

how? parsing a webpage then insert contents into wordpress wp_post table

  • help me!
    i think parsing a webpage then insert contents into wordpress wp_post table.
    but, when i require(‘wp-load.php’); it throw Fatal error: Call to a member function find() on a non-object in C:\wamp\www\simple_html_dom.php on line 879.

    when i disable //require(‘wp-load.php’); it throw Fatal error: Call to undefined function wp_insert_post() in C:\wamp\www\testinclud.php on line 22

    the wp_insert_post($post); can not to run, why?

    [Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘how? parsing a webpage then insert contents into wordpress wp_post table’ is closed to new replies.
Skip to toolbar