Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I export all pages below a page in confluence using a script

I'm capturing meeting notes in a page structure in confluence. I want to export all the meeting notes to a share drive for others to read. I've found notes on how to export a page or a space but not the pages below a page. e.g. I want everything below "Parent Page" but not anything else.

e.g.

  Space
    Unrelated Pages
    Unrelated Pages
    Parent of Parent
      Parent Page
          Child Page 1
          Child Page 2
          Child page 3

I want to drag the child pages to a share drive. I'm looking to use one of the following e.g. curl, .bat files, python, R etc.

This is on the cloud version of confluence

like image 581
user1605665 Avatar asked Mar 11 '23 22:03

user1605665


1 Answers

Go to the Space directory, find the relevant space and click the (i) icon there to get to the space details page. From there, click either Space Operations/PDF Export, or Content Tools/Export, then choose Custom Export. You’ll be able to select the list of pages to be exported. (All pages under a given page can be selected by clicking Deselect All and then clicking the checkbox for the parent page. All child pages will be selected automatically.)

like image 74
Mormegil Avatar answered Apr 26 '23 23:04

Mormegil