Return to Snippet

Revision: 9213
at October 26, 2008 01:28 by matthewnovak


Initial Code
import wordpresslib

url = 'http://www.MYDOMAIN.com/xmlrpc.php'
wp = wordpresslib.WordPressClient(url, 'USERNAME', 'PASSWORD')
wp.selectBlog(0)
post = wordpresslib.WordPressPost()
post.title = 'Sample Post'
post.description = 'Sample Content'
idPost = wp.newPost(post, True)

Initial URL
http://blackcodeseo.com/automating-wordpress-postsautomating-wordpress-posts/

Initial Description

                                

Initial Title
Automatically Posting To Wordpress

Initial Tags

                                

Initial Language
Python