I need to find a way to reliably trigger code only when a new post is received via XML_RPC. Using if ( defined( 'XMLRPC_REQUEST') && XMLRPC_REQUEST ) seems like it should work... Famous last words.