def run(self):
    """Runs each of the example methods defined above, demonstrating how to
    interface with the Blogger service.
    """

    # Demonstrate retrieving a list of the user's blogs.
    self.PrintUserBlogTitles()
  
    # Demonstrate how to create a draft post.
    draft_post = self.CreatePost("Snorkling in Aruba",
      "<p>We had <b>so</b> much fun snorkling in Aruba<p>",
      "Post author", True)
    print "Successfully created draft post: \"" + draft_post.title.text + "\".\n"
  
    # Demonstrate how to publish a public post.
    public_post = self.CreatePost("Back from vacation",
      "<p>I didn't want to leave Aruba, but I ran out of money :(<p>",
      "Post author", False)
    print "Successfully created public post: \"" + public_post.title.text + "\".\n"
  
    # Demonstrate various feed queries.
    print "Now listing all posts."
    self.PrintAllPosts()
    print "Now listing all posts between 2007-04-04 and 2007-04-23."
    self.PrintPostsInDateRange("2007-04-04", "2007-04-23")

    # Demonstrate updating a post's title.
    print "Now updating the title of the post we just created:"
    public_post = self.UpdatePostTitle(public_post, "The party's over")
    print "Successfully changed the post's title to \"" + public_post.title.text + "\".\n"
  
    # Demonstrate how to retrieve the comments for a post.

    # Get the post ID and build the comments feed URI for the specified post
    self_id = public_post.id.text 
    tokens = self_id.split("-")
    post_id = tokens[-1]
    
    print "Now posting a comment on the post titled: \"" + public_post.title.text + "\"."
    comment = self.CreateComment(post_id, "Did you see any sharks?")
    print "Successfully posted \"" + comment.content.text + "\" on the post titled: \"" + public_post.title.text + "\".\n"
    
    comment_id = comment.GetEditLink().href.split("/")[-1]
    
    print "Now printing all comments"
    self.PrintAllComments(post_id)
    
    # Delete the comment we just posted
    print "Now deleting the comment we just posted"
    self.DeleteComment(post_id, comment_id)
    print "Successfully deleted comment." 
    self.PrintAllComments(post_id)

    # Get the post's edit URI    
    edit_uri = public_post.GetEditLink().href
    
    # Demonstrate deleting posts.
    print "Now deleting the post titled: \"" + public_post.title.text + "\"."
    self.DeletePost(edit_uri)
    print "Successfully deleted post." 
    self.PrintAllPosts()
Runs each of the example methods defined above, demonstrating how to
    interface with the Blogger service.
    
recipes/Python/576441_modificatiblogger_exemple_adding/recipe-576441.py