Tag: metaweblog
WordPress XML-RPC – MetaWeblog API
posted in Blog, PHP and tagged metaweblog, wordpress, xmlrpc by Ilya Ber.
metaWeblog.newPost Function: Creates a new post on your blog. Parameters: Blog ID – For use in multisite installations, typically 0 for single sites Username – WordPress username Password – WordPress password Content – Your blog post defined as an associate array with the following fields ‘post_type’ – ‘post’ or ‘page’ ‘wp_slug’ – Post slug (optional) ‘wp_password’ – Post password (optional) ‘wp_page_parent_id’ – ID of the parent post (optional) ‘wp_page_order’ – Menu order (optional) ‘wp_author_id’ – Identify an author other than the … read more