I want to use this function:
http://www.frankmacdonald.co.uk/php/post-to-wordpress-with-php.html
Its used to post to WordPress using XMLRPC, can anyone give me the basics for using this function and maybe a brief over view?
I want to learn how functions work and how to use them.
EDIT:
The below guideance works like a dream.
I want to use a foreach loop to cycle through a number of entries and post them all to WP, wonder if anyone could advise?
Nothing much to do here, it’s pretty much ready to run already.
Just replace the example values given in the first lines:
with some actual data. (The link to xmlrpc.com should be
www.yourdomain.com/xmlrpc.phpif your blog resides in the root directory.)Put the whole thing into a PHP file, and run it. If you’re lucky, everything will run fine on the first go. If it doesn’t, come back and edit your question.