Can I compare two pages in different spaces in confluence?

 

3 answers

This widget could not be displayed.

Hi Pamela,

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

Hope this helps,

Fabio

This widget could not be displayed.

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) 

This widget could not be displayed.

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
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

495 views 7 6
Join discussion

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