Beispiel #1
0
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
Beispiel #2
0
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)