python - How to automate updating a trac wiki page? -


I have a Trek wiki page that I want to update with data regularly on a regular basis (say, Once an hour) received by a script.

I can get the script to generate Wiki markup.

How do you upload after that? I want to change the entire body of the page.

I like a solution in Python because the remaining stacks (tracks, framing scripts) also use it. Just one indicator should be enough in the right direction;)

You can install Trac XMLRPC plugin:

And then use the xmlrpc client library from the standard library. After this you will be able to manipulate most aspects of the track (tickets, wiki pages, etc.) from a Python script.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -