Can I compare two pages in different spaces in confluence?

 

3 answers

1 vote

Hi Pamela,

there's a similar question here https://answers.atlassian.com/questions/112423

Hope this helps,

Fabio

Hey,
For this case we developed 'Space Admin for Confluence' which allows:

  • copying pages and spaces
  • ordering pages using drag & drop
  • comparing pages
  • managing permissions
  • deleting page trees and much more


Try it out for free and discover the possibilitys you have:


You'll find it here: 
https://marketplace.atlassian.com/plugins/com.decadis.confluence.spaceadmin/server/overview

If you have any questions, please feel free to contact us directly via e-mail to atlassian-marketplace(at)decadis(dot)de
 

With best regards

Nicolas Werle 
(Decadis AG) 

you can accomplish this with python, if you are used to reading the output from the posix diff command:

 

#!/usr/bin/env python

import difflib
import sys try: from xmlrpc.client import ServerProxy from xmlrpc.client import Fault except: from xmlrpclib import ServerProxy from xmlrpclib import Fault def get_page(page_id, confluence_url='https://<confluence_domain>', confluence_login='<username>', confluence_password='<password>'): client = ServerProxy(confluence_url+"/rpc/xmlrpc", verbose=0) try: auth_token = client.confluence2.login(confluence_login, confluence_password) except: print("Can't login to confluence") return [] try: # getting confluence page page = client.confluence2.getPage(auth_token, page_id) except Fault as e: print(e.faultString) return [] return page['content'].split('\n') if len(sys.argv) < 3:
print("usage:" + sys.argv[0] + " page_id_1 page_id_2") for line in difflib.unified_diff(get_page(sys.argv[1]), get_page(sys.argv[2]), fromfile='pageID='+sys.argv[1], tofile='pageID='+sys.argv[2]): print(line[:-1])

this little script could help you

 

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,040 views 2 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you