Daily Archives: July 13, 2011

WordPress autopost

Download redstone xml rpc from source forge: http://sourceforge.net/projects/xmlrpc/files/%28New%29%20Redstone/ Set classpath to include the jar file. Enable rpc at  http://<wordpress site>/wp-admin/options-writing.php compile and run the following code: import redstone.xmlrpc.XmlRpcClient; import java.util.HashMap; public class XmlRpcPoster { public static void main( String[] args ) { // Check command-line arguments if( args.length < 3 ) { System.out.println( “Usage: java XmlRpcPoster […]