So I just found the function wp_insert_post. The thing is, I know little PHP and not sure how I can start to tie this into what I want to do.
I have a python script that inserts a list of urls and titles each day into a file on my server. I want to be able to insert these urls and titles into the mysql db a couple times a day.
It looks like I need to somehow tie this into using the wp_insert_post function in PHP somehow. What I think I need to do is have a PHP script or something with that function read from this file that has my data, I’m not totally sure.
How should I go about attacking this, can the community please provide me with some guidance as to how they would go about doing this?
- The topic ‘Auto creation of posts using wp_insert_post function’ is closed to new replies.