Integrating Blogger into a Google App Engine App

2019-04-10 23:27发布

I use blogger for my blog and I am using Google App Engine for my site. I want to seamlessly embed my blog in my site. For example, I want the same nav-bar, footers and general ui that appear in my site to appear around my blog. I would also like to display links to my latest blog entries, perhaps with one sentence clips, on the front page of my site.

Below are links to an example of what I am trying to do. Notice how the UI and everything are identical, except the content on the blog-page is the posts:

I know there are blogging apps for GAE, but I like the editing and posting features of blogger and I don't want to leave it.

How do I best integrate my blogger blog directly into my site? I don't need commenting in my site, although it would be nice.

I've tried editing blogger templates but it has a steep learning curve. Worse, every time I make a small change to my site, I'll have to separately change the blogger templates.

Should I use blogger provided RSS feeds? Is PubSubHubbup the right answer?

1条回答
三岁会撩人
2楼-- · 2019-04-11 00:12

If you're trying to host everything on GAE and display your posts in pages there, you should look at the Blogger API - it's pretty simple to fetch posts.

If you just want to add some extra scripts but mostly leave the Blogger stuff as it is, I would just export your HTML template and adjust it to fit your App-Engine pages, and create links between the two. If you don't like people seeing the Blogger URL, you can add a custom domain so that the visitors only switch between yourcoolwebsite.com and blog.yourcoolwebsite.com.

查看更多
登录 后发表回答