Children Tree with Summaries

With the previous company I worked for, we utilized Confluence and liked using Children trees w/ summaries on top-level pages. Is there any way to replicate that feature in XWiki, such as using the first paragraph of an article or something? Otherwise, I’m also open to other suggestions as to what to include on my top level pages.

Thanks in advance!

Hi, maybe you could use the Children macro: https://extensions.xwiki.org/xwiki/bin/view/Extension/Children%20Macro/

However there’s no built in feature to display the first paragraph of the children pages in the tree.

Where would you display these summaries in the tree? Do you have a screenshot of what you’d like to achieve.

In XWiki, through scripting you have access to the XDOM of each page (its content as an AST), so it’s easy for example to get the first paragraph. See https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/Tutorials/CreatingATreeView/ too.

Thx

Children Display Macro | Confluence Data Center 8.9 | Atlassian Documentation One of the options Confluence had when displaying Children was to include the Excerpts (on each page you could define a section of text with an Excerpt macro). I guess, I’m curious how much effort it would take to define the first paragraph of each article as the Excerpt (either by default or specified), and then have the Children macro show it. Unfortunately, I don’t have a real example, but a mock-up of it would look something like the following.

It would look something like this, of course with some word wrap and lighter colored text for the summary.

I’ll take a look at the Creating a Tree View page as well. Thanks!

It’s not too hard. As I mentioned above this can be achieved with:

If you don’t have the dev knowledge to implement this, you could create a jira issue for it at XWiki Platform - XWiki.org JIRA. There’s ofc no guarantee that a community member will want to implement it for you but it can happen! Another option is to sponsor its development, see https://www.xwiki.org/xwiki/bin/view/Main/Support#HXWikiSAS for example.

Thanks