| | 31 | def migrateToAPIs(self): |
|---|
| | 32 | """ migrate existing SimpleBlog instance to support BloggingAPIs """ |
|---|
| | 33 | RPCAuth = self.simpleblog_tool.findRPCAuth(self) |
|---|
| | 34 | # Setup the MetaWeblog API |
|---|
| | 35 | self.metaWeblog = MetaWeblogAPI.MetaWeblogAPI().__of__(self) |
|---|
| | 36 | self.metaWeblog.setupRPCAuth(RPCAuth) |
|---|
| | 37 | # Setup the Blogger API |
|---|
| | 38 | self.blogger = BloggerAPI.BloggerAPI().__of__(self) |
|---|
| | 39 | self.blogger.setupRPCAuth(RPCAuth) |
|---|
| | 40 | # Setup the MovableTypeAPI API |
|---|
| | 41 | self.mt = MovableTypeAPI.MovableTypeAPI().__of__(self) |
|---|
| | 42 | self.mt.setupRPCAuth(RPCAuth) |
|---|