# Blogger Integration Plugin

**URL:** <https://meta.discourse.org/t/blogger-integration-plugin/34950>\
**Category:** Plugin\
**Tags:** broken\
**Created:** [October 27, 2015, 4:15am UTC](https://meta.discourse.org/t/blogger-integration-plugin/34950 "2015-10-27T04:15:10Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![kcoop](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kcoop/32/108612_2.png) [@kcoop](https://meta.discourse.org/u/kcoop)\
**Post date:** [October 27, 2015, 4:15am UTC](https://meta.discourse.org/t/blogger-integration-plugin/34950/1 "2015-10-27T04:15:10Z")

</div>

Here’s a plugin that automatically posts topics from a Blogger blog to a Discourse site, and maintains a link and comment counts on the Blogger site. It doesn’t embed comments, just links them, requiring readers to go to the associated Discourse site to discuss the topic.

It also provides an optional ‘chained flow’, where a notification post is added to the previous topic when a new topic appears, containing links to the new blog post and topic.

[https://github.com/kcoop/discourse-blogger-plugin](https://github.com/kcoop/discourse-blogger-plugin)

---

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [October 27, 2015, 5:37am UTC](https://meta.discourse.org/t/blogger-integration-plugin/34950/2 "2015-10-27T05:37:44Z")

</div>

Cool, added you to the plugin authors group, any screen shot?

---

<div class="post-metadata">

**Author:** ![kcoop](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kcoop/32/108612_2.png) [@kcoop](https://meta.discourse.org/u/kcoop)\
**Post date:** [October 27, 2015, 6:03am UTC](https://meta.discourse.org/t/blogger-integration-plugin/34950/3 "2015-10-27T06:03:51Z")

</div>

Good idea. I’ll wait for the next blog post to get an accurate screen shot. :allthethings:

---

<div class="post-metadata">

**Author:** ![kcoop](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kcoop/32/108612_2.png) [@kcoop](https://meta.discourse.org/u/kcoop)\
**Post date:** [October 27, 2015, 5:23pm UTC](https://meta.discourse.org/t/blogger-integration-plugin/34950/4 "2015-10-27T17:23:03Z")

</div>

I’ve added screen shots to the readme file.

Here’s a new topic being generated.

 ![newtopic](https://global.discourse-cdn.com/meta/original/4X/a/1/2/a122226a780001702fcf36a003271cf0ed974358.png)  
and here’s a “New Post!” notification post added to the previous topic:

 ![newpost](https://global.discourse-cdn.com/meta/original/4X/1/0/6/106712e828ce6333d700869893753a0d7528048c.png)

---

<div class="post-metadata">

**Author:** ![ringgit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ringgit/32/58009_2.png) [@ringgit](https://meta.discourse.org/u/ringgit)\
**Post date:** [June 10, 2016, 4:01am UTC](https://meta.discourse.org/t/blogger-integration-plugin/34950/5 "2016-06-10T04:01:06Z")

</div>

> [@kcoop](#):
>
> Here’s a plugin that automatically posts topics from a Blogger blog to a Discourse site, and maintains a link and comment counts on the Blogger site. It doesn’t embed comments, just links them, requiring readers to go to the associated Discourse site to discuss the topic.
> 
> It also provides an optional ‘chained flow’, where a notification post is added to the previous topic when a new topic appears, containing links to the new blog post and topic.
> 
> [GitHub - kcoop/discourse-blogger-plugin: A Discourse plugin that allows a blogger site to automatically post its posts as topics to a Discourse site. · GitHub](https://github.com/kcoop/discourse-blogger-plugin)

This is what I am looking for. I have installed the plug-in. Is there a way to verify if the installation is done correctly? It is listed in the Discourse plug-in setting page.

I have also put the codes into Blogger. However, when I click on Comment, it launched a new tab with this error:

```plaintext
Invalid URL http://forum.loopgit.com/blogger/topic?ts=&author=&pl=&nojs=y from . Please let us know how you got this link.
```

Is the syntax incorrect?

---

<div class="post-metadata">

**Author:** ![kcoop](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kcoop/32/108612_2.png) [@kcoop](https://meta.discourse.org/u/kcoop)\
**Post date:** [June 10, 2016, 6:18pm UTC](https://meta.discourse.org/t/blogger-integration-plugin/34950/6 "2016-06-10T18:18:45Z")

</div>

The nojs=y attribute in that link suggests that the javascript code that converts the link dynamically didn’t run in the user’s browser when the page was loaded. Take a look at the error logs in the browser when you navigate to the blogger page, that should give you more of a clue.

---

<div class="post-metadata">

**Author:** ![ringgit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ringgit/32/58009_2.png) [@ringgit](https://meta.discourse.org/u/ringgit)\
**Post date:** [June 10, 2016, 11:59pm UTC](https://meta.discourse.org/t/blogger-integration-plugin/34950/7 "2016-06-10T23:59:57Z")

</div>

> [@kcoop](#):
>
> didn’t run in the user’s browser when the page was loaded.

Thank you. I suspect that is the case but is at my hair’s end trying to solve it. In your GitHub page, there are two instructions I haven’t followed:

[quote]  
Follow the directions for creating an embeddable host on your Discourse site.[/quote]  
Is this important as well - I have to include the same script from the link?

And the other one that I’m wondering if it’s necessary is the CORS support.

---

<div class="post-metadata">

**Author:** ![kcoop](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kcoop/32/108612_2.png) [@kcoop](https://meta.discourse.org/u/kcoop)\
**Post date:** [June 11, 2016, 1:10am UTC](https://meta.discourse.org/t/blogger-integration-plugin/34950/8 "2016-06-11T01:10:14Z")

</div>

Both CORS and embedding are necessary.

---

<div class="post-metadata">

**Author:** ![ringgit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ringgit/32/58009_2.png) [@ringgit](https://meta.discourse.org/u/ringgit)\
**Post date:** [June 11, 2016, 8:14am UTC](https://meta.discourse.org/t/blogger-integration-plugin/34950/9 "2016-06-11T08:14:32Z")

</div>

Thanks sir. Regarding the embedding, what should I do with REPLACE\_URL such that it is dynamically assigned for each new post that I created:

[code]

[/code]

---

<div class="post-metadata">

**Author:** ![ringgit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ringgit/32/58009_2.png) [@ringgit](https://meta.discourse.org/u/ringgit)\
**Post date:** [June 11, 2016, 3:19pm UTC](https://meta.discourse.org/t/blogger-integration-plugin/34950/10 "2016-06-11T15:19:12Z")

</div>

Finally! I get 80% of the stuff working. I think the **_placement of the javascript codes is important_**.

I placed @kcoop’s “comment-link” and “DiscourseBlogger” and @eviltrout’s embedded codes BEFORE this:

` <div class='post-footer'>
    <div class='post-footer-line post-footer-line-1'>
      <span class='post-author vcard'>
        <b:if cond='data:top.showAuthor'>
          <data:top.authorLabel/>
            <b:if cond='data:post.authorProfileUrl'>
`

and it works.

And as to how to NOT hardcode the post URL into the discourseEmbedUrl: ‘REPLACE\_URL’ , you can use

```plaintext
discourseEmbedUrl: '<data:blog.url/>'
```

---

<div class="post-metadata">

**Author:** ![ringgit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ringgit/32/58009_2.png) [@ringgit](https://meta.discourse.org/u/ringgit)\
**Post date:** [June 12, 2016, 1:36pm UTC](https://meta.discourse.org/t/blogger-integration-plugin/34950/11 "2016-06-12T13:36:59Z")

</div>

Just a note: Blogger will auto correct and replace the single quote ’ with

```plaintext
&#39;
```

and that will screw up the javascript. I had tried to trouble shoot the inconsistencies of the JavaScript execution, without realizing that the issue was with this innocent looking single quotation code replacement. I am angry at Blogger!

---

<div class="post-metadata">

**Author:** ![ringgit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ringgit/32/58009_2.png) [@ringgit](https://meta.discourse.org/u/ringgit)\
**Post date:** [June 13, 2016, 4:00am UTC](https://meta.discourse.org/t/blogger-integration-plugin/34950/12 "2016-06-13T04:00:03Z")

</div>

I am going to try my luck here, as I think not many people attempted Blogger integration with Discourse, so if you have any knowledge, I’d appreciate any tips.

The integration went on fine but if I view a group of posts base on a tag, or base on month, Blogger returns, say 3 articles with the same tag. Then the embedded Discourse will show 3 times in the first post, as per screenshot below.

I think it has to do with placement of the codes but I am just too tired at this moment to think about it 🙂

 ![](https://global.discourse-cdn.com/meta/original/3X/6/d/6d12c6c96780bee61c0cc3714d05a0001062d8d2.jpg)

---

<div class="post-metadata">

**Author:** ![kcoop](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kcoop/32/108612_2.png) [@kcoop](https://meta.discourse.org/u/kcoop)\
**Post date:** [June 13, 2016, 5:48pm UTC](https://meta.discourse.org/t/blogger-integration-plugin/34950/13 "2016-06-13T17:48:24Z")

</div>

I just looked back at my site, and it follows what I wrote in Blogger Template Configuration in the README.

I’m not sure where you’re getting REPLACE\_URL, there is reference to DISCOURSE\_URL, which is the URL of your Discourse site. Maybe that’s something from the embed documentation? If so, that might have been the misunderstanding; you need to configure your Discourse site for embed, but not put anything in Blogger template for it.

---

<div class="post-metadata">

**Author:** ![ringgit](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ringgit/32/58009_2.png) [@ringgit](https://meta.discourse.org/u/ringgit)\
**Post date:** [June 14, 2016, 2:20am UTC](https://meta.discourse.org/t/blogger-integration-plugin/34950/14 "2016-06-14T02:20:49Z")

</div>

> [@kcoop](#):
>
> If so, that might have been the misunderstanding; you need to configure your Discourse site for embed, but not put anything in Blogger template for it.

The codes containing REPLACE\_URL is a code snippet in the Settings of Discourse, in which you have to include into the Blogger template, according to the embed documentation. I wondered if the embed part is necessary and I guess you meant assigning the host is needed but not including the codes into the Blogger, as illustrated:

 ![](https://global.discourse-cdn.com/meta/original/3X/3/a/3afc86ddd2f33f1b613ec4d3825417fbc9a2277f.png)

Having said that though, embedding Discourse into the blog is pretty cool too, as it shows you a snapshot of the recent replies:

 ![](https://global.discourse-cdn.com/meta/original/3X/3/1/313314d3eac6a9135d3a26c4c0761c02c39aecda.png)

---

<div class="post-metadata">

**Author:** ![icaria36](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/icaria36/32/426431_2.png) [@icaria36](https://meta.discourse.org/u/icaria36)\
**Post date:** [January 7, 2018, 8:46pm UTC](https://meta.discourse.org/t/blogger-integration-plugin/34950/15 "2018-01-07T20:46:07Z")

</div>

Is this plugin still usable? Are there any real life examples available?

The GitHib repository hasn’t seen any updates in a year. The demo blog linked there have no comments as far as I can see, and the link to the Discourse instance gives a Not Found.

---

<div class="post-metadata">

**Author:** ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)\
**Post date:** [July 23, 2026, 5:42pm UTC](https://meta.discourse.org/t/blogger-integration-plugin/34950/16 "2026-07-23T17:42:36Z")

</div>


