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.
| Comment | File | Size | Author |
|---|---|---|---|
| blogapi.patch | 1.36 KB | eaton |
Comments
Comment #1
eaton commentedPinging this patch - it's pretty critical for the proper functioning of desktop clients.
Comment #2
damien tournoud commentednode_invoke_node() is gone, so this needs a reroll.
Comment #3
lilou commentedBlog API is removed : #537434: Drop the blog API from core
So this won't be necessary anymore.