Blogapi receives a $content array when blogapi requests are posted to the site. We invoke hook_nodeapi_blogapi_edit and hook_nodeapi_blogapi_new when this happens so other modules get a chance to alter the node, BUT we never pass along the $content array containing the original data from the blogging client!

This makes the hook essentially useless.

The attached patch passes along both the node AND the raw content from the request. This would allow third-party modules to enhance handling of extended properties like post-slug and so on.

CommentFileSizeAuthor
blogapi.patch1.36 KBeaton

Comments

eaton’s picture

Pinging this patch - it's pretty critical for the proper functioning of desktop clients.

damien tournoud’s picture

Status: Needs review » Needs work

node_invoke_node() is gone, so this needs a reroll.

lilou’s picture

Status: Needs work » Closed (won't fix)

Blog API is removed : #537434: Drop the blog API from core
So this won't be necessary anymore.