Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Possible to view page as XML?

Aaron Cohen December 11, 2011

Is there a way to view a page in confluence as XML by passing a url parameter or the like? I am not interested in exporting as XML to an archive, I just want to be able to view the page in XML live from the server.

I could of course write a script that gets the page content and create xml out of that, but would rather not.

3 answers

1 accepted

2 votes
Answer accepted
Remo Siegwart
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 11, 2011

You could use the REST API for that. To get a single page as XML use the following URL: http://path.to.your.confluence/rest/prototype/1/content/12345 (replace 12345 with the id of the page)

Hope this helps

Aaron Cohen December 11, 2011

yes that's wonderful. Thanks.

0 votes
Robert Lauriston
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 12, 2011

The Tools > View Storage Format command does that.

0 votes
Robert Lauriston
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 12, 2011

The Tools > View Storage Format command does that.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events