Skip to content

ani10030/wordpress_with_xmlrpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

wordpress_with_xmlrpc

Remotely connect to your Wordpress blog with XML-RPC and Python

XML-RPC is one of the good features provided by Wordpress to take control of your blog remotely. Usually, XML-RPC is enabled by default in Wordpress. Wordpress XML-RPC is considered a good option when you need to remotely control your blog, but it has some security concerns.
For Example, XML-RPC can be used to brute-force login to your Wordpress blog.
The security concerns can be handled by using Manage XML-RPC Plugin. Check the below link to see how to setup a secure XML-RPC on your Wordpress installation before posting remotely.
Remotely Post to Wordpress with XML-RPC

Once XML-RPC is setup on your Wordpress installation, you can remotely perform the below operations:
1. Create Posts
2. Edit Posts
3. Delete Posts

wordpress_with_xmlrpc.py is built with Python 2.7 and uses Python's xmlrpclib library.
Note : xmlrpclib library has been renamed to xmlrpc.client in Python 3+
If you are unable to import xmlrpclib, you can download it from below link and import it.
Python xmlrpclib

The complete documentation for Wordpress API used in this script is available at below link.
https://codex.wordpress.org/XML-RPC_MetaWeblog_API

About

Remotely connect to your Wordpress blog with XML-RPC

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages