Loading...
 
Skip to main content

Development


You are viewing a reply to Python client for editing wiki pages

Re: Python client for editing wiki pages

Hi Damian,

I won't connect directly to the database. That's a way to make entries in the database without controll about the permission for a wikipage.

The client should do the following:

  • login at the client (with the same login as for TW)
  • request a wiki page over XMLRPC (or SOAP???)
  • TW looks at the permissions for the requested page, if ok, TW sends the wiki page to the client.
  • the client stores this page local in a file or maybe in a database table (sqllite???)
  • then I can edit the page local on my notebook
  • after editing I can put the page back to TW
  • TW is sending a warning back to the client, if there was another revision of this page created while I was editing this page localy (conflict management)
  • now I decide what is to do:
    • stop sending my local changed page, get the page again and solve the conflict
    • send the page to TW and solove the conflict in TW
  • conflict handling is another, important point of discussion!


My opinion is, that we should create a good working API based on XMLRPC / SOAP to use the TW functions that already exist in TW.

The use of w.Bloggar is a good way.

Andreas