Multiple excerpts from one Confluence page?
Asked by Albert Schweitzer Stiftung:

We like the possibility of using excerpts (as described here: <https://confluence.atlassian.com/doc/excerpt-macro-148062.html> ) to avoid duplicate content. However, we don't like the limit of one excerpt per page. Is there a plugin or workaround to solve this? Thank you!


Answers:
author: Davin Studer
body: Here are a couple add-ons that can do what you want.

[Multi Excerpt](https://marketplace.atlassian.com/plugins/biz.artemissoftware.confluence.multiexcerpt.MultiExcerptMacro/cloud/overview) (Paid)

[Include Content](https://marketplace.atlassian.com/plugins/com.keysight.include-content/server/overview) (Free)

comments: author: Rainee Rohrbacher
body: :( Include content is just for server.


author: Sascha Ziemann
body: Include content is great!


author: Andrey Khaneev _StiltSoft_
body: Another approach is to use [Table Excerpt and Table Excerpt Include](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Table+Excerpt+and+Table+Excerpt+Include+macros) macros ([Table Filter and Charts](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Chart+from+Table+macro#HowtouseChartfromTablemacro-Ganttchart) app) that can be used for multi-excerption within multiple pages and spaces searched by page names, page trees and labels.

comments: author: Yevinka
body: Thanks Andrey !

I will give this a go and see if it helps.


author: Robert Reiner _smartics_
body: If the solution proposed by Rafael does not meet your requirements, there are additional [plugins available](https://marketplace.atlassian.com/search?query=multi-excerpt) on the Atlassian Marketplace that support the *multi-excerpt* feature you may want to check out.

Biased alert: Since I am one of the authors of the *projectdoc Toolbox*, I have not tried any of the other add-ons by myself. :-)


author: Jeff Shepherd
body: I get around multiple excerpts on a page with this technique, which requires no additional add-ons.

Take the multiple excerpts you want from the original page and put each excerpt on its own page. Then include those excerpts on the original page as well as any other pages that need them.


author: Parva C. - Narva Software
body: Hello everyone,

As an alternative, please try our add-on **[Multiple Excerpts \& Include Macros](https://marketplace.atlassian.com/apps/1224825/multiple-excerpts-include-macros?hosting=cloud&tab=overview).**

As name suggests, it allows adding multiple excerpts in a page which are identified by excerpt key.

You can then use 'Multiple Excerpts Include' macro to include defined excerpts in another page. This way, you can include as many excerpts as you need.

comments: author: Heather Blue
body: Hi Parva, what is the difference between the excerpts/excerpts include and multiple excerpts/multiple excerpts include macros? The only difference I've found by googling is that a page is limited to 1 excerpt, and the multiexcerpt is a workaround, however it looks like you *can* have more than one excerpt and excerpt include in a page, given that you can assign excerpt keys and call multiple on the same page. So I'm not sure what sets multiple excerpts apart from excerpts?


author: Rafael Franco
body: Hi Mahi,

What you could do is use a [Script Macro](https://scriptrunner.adaptavist.com/latest/confluence/macros/CustomMacros.html) from [ScriptRunner for Confluence](https://marketplace.atlassian.com/plugins/com.onresolve.confluence.groovy.groovyrunner/server/overview) to build your own Excerpt Macro that does not include this restriction.

Let me know if you need help doing it.

Cheers,

Rafael

comments: author: Al Ba
body: Hi Rafael, I would be interested in such a ScriptRunner Macro for multiple excerpts. As I have only very little SR experience I would be happy for some guidance. Thanks, Alexander


author: Yevinka
body: Hi Rafael,

do you believe that if I use script macro from script runner, it would able to mitigate the following problem I am facing?

-------------

I am pulling information from 2 separate pages (text paragraphs).

1 page will be a page excerpt entirely, and the other will be multiple text excerpts from page 2. (I will be using the multiple excerpt add-on for this)

my question is, can I select where the multiple text excerpts are to be included in the page excerpt?

or should I use individual text excerpts for individual paragraphs (from page 1) and then add the multiple individual text excerpts (from page 2) in between the paragraphs (from page 1), ie should I not excerpt the entire page (page 1) ?


author: Amna Shahbaz
body: [Rafael Franco](https://community.atlassian.com/t5/user/viewprofilepage/user-id/781602) yes i need help i wanna do this how i made this that my parent page automatically connect with the child page excerpt macros


Tags: excerpt