Forums

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

Pull wordpress post into Confluence blog post

Matt Shelton
Contributor
June 23, 2013

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

1 vote
Bruna Griebeler
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 24, 2013

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

Matt Shelton
Contributor
June 29, 2013

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.

0 votes
Deleted user April 3, 2014

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

salehparsa
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.
April 4, 2014
0 votes
SarahA
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 24, 2013

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

Matt Shelton
Contributor
June 29, 2013

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events