I guess the node object of drupal 7 is different from drupal 6, however, I modified something about language and the node object structure, and It can work a little.

I'll post my patch, with which I can post articles via blogapi now(just a simple post, contains title, mt_excerpt, description, etc), but the taxonomy still can't be set, and newMedia feature has not test yet.

CommentFileSizeAuthor
new-post-function.patch5.2 KBalan.liu

Comments

paul o brien’s picture

using Ecto on Mac.
applied patch new-post-function.patch.
but still get message 'Received HTML from server instead of XML. Is the access point correct?'

any suggestions?

rjohnson42’s picture

As I said in my issue post, when the blogapi module is called from ScribeFire and Word to create a post, the blogapi code calls drupal_submit_form to simulate a login by the user, but for some reason this call fails and does not return code to the blogapi module, but returns some kind of error to the application. If I use the Python xmlrpc client to make a blogapi call, it all works fine. I have not yet seen what is different about these two cases. My Python tester is able to create a new media object, create a post, get a post and edit a post using metaWeblog.

cweagans’s picture

Status: Patch (to be ported) » Closed (won't fix)

The 2.x rewrite will fix this.