Sunday, 25 December 2011

Integrating Blogger with Google Sites

I wanted to integrate my blogger site (this is the first post on blogger) to be shown on my site hosted by google sites.

Though both Google Sites and Blogspot are owned by Google, apparently there isn't enough market base for google to have them integrated.

On  Google Forum some people suggest to integrate them using RSS Feed, blogpost being the rss provider and placing a widget for RSS consumer, but that would only show the recent blogs (depending upon settings) and the other method is to use iFrame, page within a page.

I went ahead with tsinn implementation, downloading his xml template for blogspot, chose not to delete the widgets (I was not sure whether I needed them or not). Hid the widgets using css.
header, .Profile, .Followers, .Attribution,.blog-feeds {
  display: none;
}
[Note: I could not identify a rational of the structure, naming and capitalization, and in absense of this understanding did not like the inconsistency in Template XML for blogspot]

Added the iFrame with height = 900px and width = 400px. And viola my Empt blog appeared just fine on my site. I hope after writing this blog it is still fine.

1 comment:

  1. I gave up on the idea of integrating. And have moved towards taking every thing to Blogger.

    Perhaps the most salient point was that anonymous users cannot comment in Google sites.

    ReplyDelete