Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-23752

blog-post macro stripping out formatting if content not in excerpt macro

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Low Low
    • 4.1.3
    • None
    • None

      The blog-post macro is currently stripping all formatting out of the blogs it is displaying unless the desired content is within an excerpt macro.

      Steps to replicate:

      1. Create a new blog post with a small amount of paragraph text, a short heading and an image.
      2. Create another blog post as above but include all of that content within an 'excerpt' macro.
      3. Set the 'content type to display' to excerpts

      Result:

      The blog post in 1 will have no formatting and the image won't show, and the blog post in 2 will be formatted correctly. It is expected that the blog post in 1 display correctly.

            [CONFSERVER-23752] blog-post macro stripping out formatting if content not in excerpt macro

            I also believe that this approach is very unfortunate and against regular user expectations. I believe that an excerpt this different from an abstract. True in an abstract I describe content with 3 - 4 sentences in plain english. A blog excerpt should work as a small teaser thus it must contains style, url and images. In fact it should just show the first N lines of an larger article. 

            Deleted Account (Inactive) added a comment - I also believe that this approach is very unfortunate and against regular user expectations. I believe that an excerpt this different from an abstract. True in an abstract I describe content with 3 - 4 sentences in plain english. A blog excerpt should work as a small teaser thus it must contains style, url and images. In fact it should just show the first N lines of an larger article. 

            I think this approach is unfortunate. We often use very short blog posts to inform users about new content/documents/how-to guides/etc and include a link to the appropriate page in the blog. Having this link active in the excerpt would be very useful as the user could then click straight to the new content from the Space's main page without having to click through to the blog post itself.

            I'll admit that I can't understand the reasoning behind your approach beyond stripping images out which I do agree with on space grounds.

            What do you gain by stripping the formatting out? You only +decrease +the usefulness of the excerpt.
            Why do you think an excerpt should be text only?

            I hope that this can be reconsidered at some point as in its current form this is all pain and no gain as far as I'm concerned.

            Adam Bartlett added a comment - I think this approach is unfortunate. We often use very short blog posts to inform users about new content/documents/how-to guides/etc and include a link to the appropriate page in the blog. Having this link active in the excerpt would be very useful as the user could then click straight to the new content from the Space's main page without having to click through to the blog post itself. I'll admit that I can't understand the reasoning behind your approach beyond stripping images out which I do agree with on space grounds. What do you gain by stripping the formatting out? You only +decrease +the usefulness of the excerpt. Why do you think an excerpt should be text only? I hope that this can be reconsidered at some point as in its current form this is all pain and no gain as far as I'm concerned.

            Hi Matthew,

            Our apologies, but we will not be addressing this particular issue.

            We believe that an excerpt is essentially a short text only sample that provides the user a sense of what is on the page. It should not contain any images or styling.

            When someone inserts a blog posts macro with the "excerpts" parameter, it should:

            1. in the absence of any excerpt macros on the page, provide a text only summary of text on the un-rendered version of page, starting from the beginning (which it is currently doing)
            2. in the presence of an excerpt macro, provide a text only summary of the body of the excerpt macro (which is is not currently doing)

            We have created a ticket for issue #2 here: CONF-24329.

            dave (Inactive) added a comment - Hi Matthew, Our apologies, but we will not be addressing this particular issue. We believe that an excerpt is essentially a short text only sample that provides the user a sense of what is on the page. It should not contain any images or styling. When someone inserts a blog posts macro with the "excerpts" parameter, it should: in the absence of any excerpt macros on the page, provide a text only summary of text on the un-rendered version of page, starting from the beginning (which it is currently doing) in the presence of an excerpt macro, provide a text only summary of the body of the excerpt macro (which is is not currently doing) We have created a ticket for issue #2 here: CONF-24329 .

            Joe Clark added a comment -

            Related issue.

            Joe Clark added a comment - Related issue.

              dave@atlassian.com dave (Inactive)
              mhunter Matthew Hunter
              Affected customers:
              1 This affects my team
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: