Forums

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

Excerpt macro in blog post doesn't work properly

Habib August 13, 2018

Hi,

We're publishing blog posts on our space, and we want to include excerpts of them on our main page.

For each blog post we used the "Excerpt" macro, and then we configured the "Blog Posts" macro on "excerpts", however, we did not have the intended result

post.png page.png

 

Is this a bug? Maybe related to CONFSERVER-54223

 

Thanks!

4 answers

1 vote
Ashley Renlund
Contributor
September 14, 2018 edited

I'm having the same problem as Habib, also in a cloud environment.

I have used the Excerpt macro in several blog posts.  But this seems to be ignored by the Blog Posts macro elsewhere in the space.  It includes much more text than is in my Excerpt.

If I use the Include Excerpt macro, the excerpt appears as I would expect.  But I don't want to have to manually update the page each time a blog post is published.

Ossi Heimo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 8, 2019

Same here. I did a bug report from this.

Like • Ashley Renlund likes this
David Florey
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 4, 2019

I am also having the same problem.

Martin Sutherland
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 18, 2020

I'm having the same problem here. The "content type: excerpts" option for the blog posts macro ignores the excerpt provided, and also all formatting. 

Like • Scott Beeson likes this
Scott Beeson
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.
September 11, 2020

Same. 2 years later and still an issue. Neat.

Like • Ian Turner likes this
Ian Turner
Contributor
September 11, 2020

@Scott Beeson nothing unusual in that kind of lead time... you'd think they'd purchase some kind of bug/issue tracking system to help them manage their backlog

Like • 2 people like this
0 votes
Ashley Renlund
Contributor
October 23, 2020
0 votes
Ian Turner
Contributor
June 22, 2020

Did this ever get logged as a ticket as i get the same problem - in 2020 using the cloud based confluence.

Ashley Renlund
Contributor
August 3, 2020
0 votes
Grigory Salnikov
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.
August 13, 2018

Hi and welcome to the community!

What is your intended result by the way?

Habib August 13, 2018

Hi Greg, thank you for your reply.

My intended result would to display what inside the Excerpt macro "This is the test excerpt" in the main page. Currently, the Excerpt macro is ignored, and the "Blog post" macro displays the first few lines of text

Grigory Salnikov
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.
August 13, 2018

Oh, I see.

Have you added the "Excerpt Include" macro to the main page?

excerpt.jpg

Habib August 13, 2018

No, I used the "Blog post" macro with the excerpt option (as documented in https://confluence.atlassian.com/doc/blog-posts-macro-139470.html)

 

blog post macro.png

I tested the "Excerpt include" macro in the main page, it worked as expected, but we'd rather prefer the display of the "Blog Post" macro (which is supposed to display excerpts).

main page.png

Thank you

Grigory Salnikov
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.
August 13, 2018

Oh, I see now.

Let me reproduce it in my environment and I'll get back to you with the results.

Habib August 13, 2018

Thank you!!

Grigory Salnikov
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.
August 13, 2018

I've managed to reproduce the issue and it seems ok in my environment:

blogpost.jpg 1st blog.jpg

Habib August 13, 2018

Hmmm, I tried on another page and I still have the same problem. We're using confluence cloud so we should have the last version. What can we do to further analyze the problem?

Grigory Salnikov
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.
August 13, 2018

You said "on another page" but in my example there're 2 different pages (the main one and the blog post itself). I do it the following way:

1. Create a new page and put a blog post macro on it:

1bp.jpg

2. Make sure I choose "excerpts" as Content Type to Display:

2bp.jpg

3. Use the "Create blog post" button to create my first blog post:

3bp.jpg

4. Make a blog post entry with the excerpt in it:

4bp.jpg

And here we go:

resultbp.jpg

 

Is the process the same with you?

Habib August 13, 2018

Yes, I even redid the exact same steps on my personal space, and I have the same problem.

Is this a bug, or a configuration issue?

Grigory Salnikov
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.
August 13, 2018 edited

Actually, it's hard to tell. We have different environments (I have a server and you - cloud) so there may be something different.

Let's see if anyone else here has any suggestions or reports the same behavior.

Scott Beeson
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.
September 11, 2020

I'm having this problem and it's 2 years later...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events