The Atom API is still very unestablished, from what I see there are still five different drafts on how it should accomplish certain things.
XML-RPC should allow you to post anything that you could post in the admin, as it works wonderfully, and browsing over the code I see nowhere where it would strip HTML tags.
There are some open source implementations of the MetaWeblog API and the Blogger API, maybe you should consider looking some of those up.
http://codex.ww.wp.xz.cn/XML-RPC_Support
There’s a couple links there to coding resources.
I have visited the XML-RPC support page, but have not found anything that helps me. Most of the links are dead (thank god for Google cache). Anyways, I have tried to pass html in the following methods. Maybe my content-type is not correct or something.
— First Attempt —
‘<?xml version=”1.0″?>
<methodCall>
<methodName>blogger.newPost</methodName>
<params>
<param><value><string>a</string></value></param>
<param><value><string>1</string></value></param>
<param><value><string>username</string></value></param>
<param><value><string>password</string></value></param>
<param><value><string>Title of post</string></value></param>
<param><value><string>Post 1</string></value></param>
<param><value><boolean>true</boolean></value><param>
etc…
‘
I then changed it to use the following for the content param
‘<param><value><string><HTML:strong>Post 1</HTML:strong></value></param>’
This still had no luck. Each of these attempts ended up with a post with no formatting. I then tried to use BBcode within my content tag, but still no luck.
lol – the Post 1 actually got formatted on my post. Anyways, it should read “< strong >Post 1< / strong >” without the spaces.
Okay, so looking into it, I think I am out of luck on using XML-RPC. So I decided to give a try at “MetaWeblog API”. At least this way I can also post with a title, but still no luck on the html formatting. So my next thought is to use the ATOM API, but I don’t see any documentation on this. Does wordpress support Atom API or is there a plugin for this?