def createoldpublicpost(blogger_service, blog_id, title, content, published, updated): entry = gdata.gdataentry() entry.title = atom.title('xhtml', title) entry.published = atom.published(published) entry.updated = atom.updated(updated) entry.content = atom.content(content_type='html', text=content) print entry return blogger_service.post(entry, '/feeds/%s/posts/default' % blog_id)