blog post macro does not list all blog posts

Andreas Ljungström June 7, 2019

Hi,

I have a page that lists blog posts using the macro. 

It is not limited by a specific label or anything but should simply list all the recent (last 200d) blog posts on that space. It works for 3 posts, but I just created a new blog post (using the ... > blog post function) and the created blog post will not appear through the macro.

Under Site Admin-> Blog I can see all 4 posts. 

The only difference I can tell between them is that the newest one has a different URL than the others - the pages are "blabla+blabla+blabla" whereas the one post that does not appear is "....pageId=127404549"

 

Any clues?

Andreas

2 answers

1 accepted

0 votes
Answer accepted
Andreas Ljungström June 14, 2019

I found the cause and was able to fix it myself. Indeed, the special characters were the culprit.

I had quotation marks around a phrase in the title of the blog post. I removed those and voilà, the post now appears in the macros. :)

 

Thanks @JP _AC Bielefeld Leader_ for leading me on the right path.

 

Andreas

0 votes
JP _AC Bielefeld Leader_
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.
June 7, 2019

Try rebuild your search index. Once in a while it might need a refresh. Is the application log printing anything? Is the new blog post already published?

Confluence creates URL with a pageId, if the title of the page or blog post contains any "special" characters, so this shouldn't be a problem.

Andreas Ljungström June 11, 2019

thanks, @JP _AC Bielefeld Leader_ ! I'll ask the admins to re-index. We haven't checked the logs yet - will do if needed. 

Yes, the blog post was published immediately, just strange that the macro is not picking it up.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events