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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published 8 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

85 views 2 4
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