We keep our story descriptions in Confluence and it would be nice to be able to import them to filesystem similarly to what is done for Redmine and XWiki.
There's currently a basic REST interface for newer Confluence versions which can be used to access content. Also the rich text editor adds quite some noise to the page content, which we have to deal with. We propose following conventions for an import:
Import starts at a given root page and looks into all the child pages traversable from there. The root page is entered as the browser navigates to it (/display/space/pagename)
JBehave Story relevant parts are kept in containers. For a start we can use panel and info.
A table in the page is considered as example table.
Attached are some samples how this looks in Confluence.
Pull request will follow.