Embedding Micro.blog into WordPress

Any suggestions about how best to get my Micro.blog feed to appear on my “proper” WordPress blog?

Thanks, all!

I’d look for something that lets you embed an RSS or JSON feed, as both are available from Micro.blog.

Yep, anything that can embed a feed should work well. Our Sidebar.js is another option: JavaScript include with Sidebar.js

I know just enough about CSS to be dangerous, and I’m not bright enough to figure out how to style a sidebar in a Ghost site. What I’d like to do is to have my micro.blog feed on a page in Ghost…embedded the sidebar no problem, but no idea how to style it? I’ve got this: sandbox, and I’d like to do a divider, something between posts?

I don’t see the sandbox page anymore, but for a dividing line you want something like this CSS:

.microblog_post {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid gray;
}

Let us know how it looks and if you want any other CSS tips.

And…that’s on me. Unpublished apparently in the process of tinkering yesterday. Page is up, and noob question: I’ve inserted the CSS into the footer in code injection in Ghost. It’s showing on page inspection, and I’m playing with line weights, etc. to see if I can get this to work.

However you’re injecting that CSS, I do not see it currently on the linked page.

It’s added back in, but it’s just showing the text of what I’d pasted into the footer. Which, not quite what I’d envisioned. Like I said, noob. I get the concepts(ish) of CSS, styling, but the mechanics are escaping me.

This needs to be inside of <style> tags.

1 Like

Oh. Damn. Yessir, and thank you!

Once you get things working, if you have time to blog about how it works in Ghost, I think people would find that really interesting.

1 Like

Pretty happy with how it looks thus far: updated sandbox. Will post something about this at some point, definitely.

Is there any way to narrow it to certain categories? I’m calling 10 posts, but I’d like to only show microposts, since the rest is just going to be dupes of feeds, uploads, etc.

Not currently. I think we had considered adding a category parameter in the past. It might be useful for us (or someone) to write a separate plug-in that does the same thing but with more control.

1 Like