Title: xml-rpc problem posting with python
Last modified: August 19, 2016

---

# xml-rpc problem posting with python

 *  [gschaden](https://wordpress.org/support/users/gschaden/)
 * (@gschaden)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/xml-rpc-problem-posting-with-python/)
 * I try to send a new post via xmlrpc to my wp blog.
 *     ```
       mo = wp.newMediaObject('/tmp/test.mp3')
       post = wordpresslib.WordPressPost()
       post.title = 'New mp3'
       post.description = '''
       Listen to mp3
       <object type="application/x-shockwave-flash" data="/player_mp3.swf" width="200" height="20">
       <param name="movie" value="player_mp3.swf" />
       <param name="FlashVars" value="mp3=%s" />
       </object>
       <a href="%s">listen</a>
       ''' % (mo, mo)
       idNewPost = wp.newPost(post, False)
       ```
   
 * but when looking at the draft the object section is missing
 *     ```
       Listen to mp3
   
       <a href="http://XXX/wp/wp-content/uploads/2009/07/test.mp3">listen</a>
       ```
   
 * Any hints how to debug the problem, is it related to the content filters? It 
   does not look like an libxml2 bug.
 * -GES

The topic ‘xml-rpc problem posting with python’ is closed to new replies.

## Tags

 * [problem](https://wordpress.org/support/topic-tag/problem/)
 * [python](https://wordpress.org/support/topic-tag/python/)
 * [xmlrpc](https://wordpress.org/support/topic-tag/xmlrpc/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [gschaden](https://wordpress.org/support/users/gschaden/)
 * Last activity: [16 years, 11 months ago](https://wordpress.org/support/topic/xml-rpc-problem-posting-with-python/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
