Skip to main content
Skip table of contents

Creating a blog post with predefined content

Unfortunately Confluence doesn't support templates for blog posts. You can use a link with predefined content though, to automatically set up blog posts in a certain space and add a predefined title and content:

Step-by-step guide

Define the link to create a blog post:

CODE
https://your.path/pages/createblogpost.action?spaceKey=BVPROJ


add parameters like title, label

CODE
https://your.path/pages/createblogpost.action?spaceKey=BVPROJ&title=2014-MM-DD%20Teammeeting&labelsString=teammeeting



add HTML content by using an URL encoder tool, like http://meyerweb.com/eric/tools/dencoder/ and encode the HTML. Add it to your URL with the prefix "&wysiwygContent="

your result should look similar to this:

CODE
https://your.path/pages/createblogpost.action?spaceKey=BVPROJ&title=2014-MM-DD%20Teammeeting&labelsString=teammeeting&wysiwygContent=%3Ch2%3ETwitter%3C%2Fh2%3E%0A%3Cul%3E%0A%20%20%3Cli%3EIdee%3F%3C%2Fli%3E%0A%3C%2Ful%3E%0A%3Cp%3E%20%3C%2Fp%3E%0A%3Ch2%3EThemen%3C%2Fh2%3E%0A%3Cul%3E%0A%20%20%3Cli%3E%20%3C%2Fli%3E%0A%3C%2Ful%3E%0A%3Cp%3E%20%3C%2Fp%3E%0A%3Ch2%3EAnfragen%3C%2Fh2%3E%0A%3Cul%3E%0A%20%20%3Cli%3E%20%3C%2Fli%3E%0A%3C%2Ful%3E%0A%3Cp%3E%20%3C%2Fp%3E%0A%3Ch2%3EDiverses%3C%2Fh2%3E%0A%3Cul%3E%0A%20%20%3Cli%3E%20%3C%2Fli%3E%0A%3C%2Ful%3E

You may want to add this link as a button on a page with the Enterprise theme button macro.


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.