コード例 #1
0
ファイル: mt.py プロジェクト: merenbach/project
def edit_post(post_id, username, password, post, publish):
    """metaWeblog.editPost(post_id, username, password, post, publish)
    => boolean"""
    success = metaweblog.edit_post(post_id, username, password, finesse_fields_to_commit(post), publish)
    update_post_status(post_id, username, password, post)
    return success
コード例 #2
0
ファイル: posts.py プロジェクト: merenbach/project
def edit_post(blog_id, username, password, post_id, content):
    """wp.editPost(blog_id, username, password, post_id, content)
    => boolean"""
    return metaweblog.edit_post(post_id, username, password, finesse_fields_to_commit(content), publish)