9 text = render.render_template('templates/users.tmpl')
11 XMLRPC_ENDPOINT = 'http://iron-blogger.mit.edu/xmlrpc.php'
17 subprocess.call(['stty', '-echo'])
18 passwd = raw_input("Password for %s: " % (USER,))
21 subprocess.call(['stty', 'echo'])
23 x = xmlrpclib.ServerProxy(XMLRPC_ENDPOINT)
24 page = x.wp.getPage(BLOG_ID, PAGE_ID, USER, passwd)
26 page['description'] = text
28 x.wp.editPage(BLOG_ID, PAGE_ID, USER, passwd, page, True)
38 # int wp_page_parent_id
42 # string description (content of post)
45 # int mt_allow_comments (0 = closed, 1 = open)
46 # int mt_allow_pings (0 = closed, 1 = open)
47 # datetime dateCreated