Thanks everyone! I have now completed the initial version of this tool. You can now use it as follows: How to run
1. Install pip by following this guide <https://pip.pypa.io/en/latest/installing.html#install-pip>: 2. Install python dependencies: pip install requests[security] 3. Update Confluence endpoint and space name in client.py: endpoint = 'https://cwiki.apache.org/confluence' space = 'STRATOS' 4. Execute client: python client.py ------------------------------------------------- Confluence Client Menu ------------------------------------------------- 1: Find Pages Recursively 2: Find and Replace Text 3: Exit ------------------------------------------------- Select a menu item: 1 ------------------------------ Find Pages Recursively ------------------------------ Enter page title: 4.1.0 Features Found page: 4.1.0 Features Found page: 4.1.0 Composite Applications Found page: 4.1.0 Smart Policies Found page: 4.1.0 Cartridge Found page: 4.1.0 Apache Stratos Mock IaaS Found page: 4.1.0 Persistence Volume Mapping Found page: 4.1.0 CLI Tool Found page: 4.1.0 Cloud Partitioning Found page: 4.1.0 Logging Found page: 4.1.0 Load Balancer Extensions Found page: 4.1.0 LVS Load Balancer Found page: 4.1.0 Setting Up the LVS Load Balancer Found page: 4.1.0 Testing the LVS Load Balancer on OpenStack Found page: 4.1.0 Troubleshooting Tips for LVS Load Balancer ------------------------------------------------- Find and Replace Text ------------------------------------------------- Enter page title: Temp Find text: _PAGE4_ Replace with: page Updating page 'Temp'... Page 'Temp' updated successfully: [_PAGE4_] -> [page] On Sat, Aug 15, 2015 at 10:24 AM, Shavindri Dissanayake <shavin...@wso2.com> wrote: > Thank you Imesh! This is a really great initiative. > > Thanks & Regards > Shavindri Dissanayake > Technical Writer > > WSO2 Inc. > lean.enterprise.middleware > > On Fri, Aug 14, 2015 at 7:49 PM, Lahiru Sandaruwan <lahi...@wso2.com> > wrote: > >> Indeed helpful, not only for us, for a lot of people in business. >> >> Thanks. >> >> On Fri, Aug 14, 2015 at 7:52 AM, Mariangela Hills <mariang...@wso2.com> >> wrote: >> >>> Imesh, thanks for taking the initiative to come up with a solution for >>> this issue! This sure will be a very useful tool! >>> >>> Regards, >>> Mariangela >>> >>> >>> *Mariangela Hills* >>> Senior Technical Writer - WSO2, Inc. http://wso2.com >>> Committer and PMC member - Apache Stratos >>> email:mariang...@wso2.com | mobile: +94 773 500185 >>> >>> On Fri, Aug 14, 2015 at 5:55 PM, Imesh Gunaratne <im...@apache.org> >>> wrote: >>> >>>> Hi Devs, >>>> >>>> I'm implementing a python client for updating content in Wiki. It seems >>>> like we now have around 400+ pages in 4.1.0 space and it's nearly >>>> impossible to copy this to a new space and update the version when we are >>>> preparing for a new product release. >>>> >>>> The initial implementation can be found here [1]. This supports to >>>> query all the pages under 4.1.0 space recursively. The next step is to add >>>> a features to update the content (find & replace the version). >>>> >>>> [1] https://github.com/imesh/confluence-client/blob/master/client.py >>>> >>>> Thanks >>>> >>>> -- >>>> Imesh Gunaratne >>>> >>>> Senior Technical Lead, WSO2 >>>> Committer & PMC Member, Apache Stratos >>>> >>> >>> >> >> >> -- >> -- >> Lahiru Sandaruwan >> Committer and PMC member, Apache Stratos, >> Senior Software Engineer, >> WSO2 Inc., http://wso2.com >> lean.enterprise.middleware >> >> phone: +94773325954 >> email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ >> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >> >> > -- Imesh Gunaratne Senior Technical Lead, WSO2 Committer & PMC Member, Apache Stratos