blogapi_blogger_get_post
- Versions
- 4.6 – 6
blogapi_blogger_get_post($appkey, $postid, $username, $password)
Blogging API callback. Returns a specified blog node.
Code
modules/blogapi/blogapi.module, line 304
<?php
function blogapi_blogger_get_post($appkey, $postid, $username, $password) {
$user = blogapi_validate_user($username, $password);
if (!$user->uid) {
return blogapi_error($user);
}
$node = node_load($postid);
return _blogapi_get_post($node, TRUE);
}
?>Login or register to post comments 