root/doc/update-site.py

Revision 12745, 351 bytes (checked in by sfermigier, 2 years ago)

Script for updating nuxeo.org with the latest version of the quickstart howto.

  • Property svn:executable set to *
Line 
1 #!/usr/bin/python
2
3 from xmlrpclib import ServerProxy
4
5 login = raw_input("login: ")
6 password = raw_input("password: ")
7
8 proxy = ServerProxy("http://%s:%s@www.nuxeo.org/portal_remote_controller/"
9                 % (login, password))
10                
11 proxy.editDocument("sections/documentation/nuxeo5-developer",
12     {'content_f0': open("nuxeo5-dev-quickstart-howto.txt").read()})
13
Note: See TracBrowser for help on using the browser.