function _blogapi_blogid in Drupal 4
Same name and namespace in other branches
- 5 modules/blogapi/blogapi.module \_blogapi_blogid()
3 calls to _blogapi_blogid()
- blogapi_blogger_get_recent_posts in modules/
blogapi.module - Blogging API callback. Returns the latest few postings in a user's blog. $bodies TRUE <a href="http://movabletype.org/docs/mtmanual_programmatic.html#item_mt%2EgetRece... returns a bandwidth-friendly list</a>.
- blogapi_blogger_new_post in modules/
blogapi.module - Blogging API callback. Inserts a new blog post as a node.
- blogapi_metaweblog_get_category_list in modules/
blogapi.module - Blogging API callback. Returns a list of the taxonomy terms that can be associated with a blog node.
File
- modules/
blogapi.module, line 716 - Enable users to post using applications that support XML-RPC blog APIs.
Code
function _blogapi_blogid($id) {
if (is_numeric($id)) {
return 'blog';
}
else {
return $id;
}
}