Pull wordpress post into Confluence blog post

I have a personal wordpress blog that I maintain outside of my company's network. I'd like to be able to pull individual posts from my personal blog into my confluence blog. I know there are wordpress plugins to do this on publish, however I'd like to do this on an individual ad hoc basis. I also know that I can export my post as HTML and copy it over to Confluence manually. A more user-friendly option would be preferable. :-)

Do any such plugins exist?

3 answers

Hi Matt,

There are two ways that I know about, but I'm not sure if they are applicable for you:

1) Using plugins or a python script on the server as you can see here: http://cysquatch.net/blog/software/?p=11


2) Trying and old fashion way: Include the HTML directly on Confluence. Here is an example, but related do PHP pages: https://confluence.atlassian.com/display/CONFKB/How+to+Use+PHP+inside+Confluence+Pages

Hope it helps!

Kind Regards

Thanks Bruna -- the first option would work if I was trying to port one blog to another, but I'm really trying to selectively bring posts over at the time of their publishing or shortly thereafter.

Hallo Matt

In addition to Bruna's answer, you could use the HTML Include macro. It's shipped with Confluence, but disabled by default because of security concerns. If your site is locked down (no input allowed in any way by any untrusted users) then you can enable the macro. It will suck in the HTML from a given web page.

Here are the docs:

https://confluence.atlassian.com/display/DOC/HTML+Include+macro

If you wanted to display the latest blog post or posts (as opposed to specific selected posts) you can use the RSS Feed macro. Note that you can define a "white list" of trusted URLs.

https://confluence.atlassian.com/display/DOC/RSS+Feed+Macro

I hope this helps!

Cheers

Sarah

Thanks Sarah. I considered both of those options. The HTML Include would work if I wanted the entire page or site included, but that's not my goal.

The RSS Feed could work for referencing all posts from a given wordpress category (e.g. I could have a category or tag like "cross-post" or something, and embed that feed in my Confluence site). This is a plausible option, but it means that I'm really referencing someone to my other site rather than keeping them in Confluence, which is my goal.

unfortunately the two links indicated by Bruna lead to non-existent pages of content.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,552 views 25 14
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you