将Blogger集成到Google App Engine应用程序中 [英] Integrating Blogger into a Google App Engine App

查看:176
本文介绍了将Blogger集成到Google App Engine应用程序中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用博客作为我的博客,并使用Google App Engine作为我的网站。我想无缝地将我的博客嵌入到我的网站中。例如,我想要在我的网站上出现在我的网站中出现的相同导航栏,页脚和一般UI。我还想在我的网站的首页上显示我最新的博客文章的链接,也许有一个句子片段。



下面是链接到一个例子的链接我正在努力。注意UI和所有内容都是相同的,除了博客页面上的内容是帖子: //www.sugarsync.com/products/backup.htmlrel =nofollow> https://www.sugarsync.com/products/backup.html

  • https://www.sugarsync.com/blog/

  • ul>

    我知道GAE有博客应用,但我喜欢博主的编辑和发布功能,我不想离开它。



    我如何最好地将我的博客博客直接整合到我的网站中?我不需要在我的网站发表评论,但它会很好。



    我试过编辑博客模板,但它有一个陡峭的学习曲线。更糟糕的是,每当我对我的网站进行一些小改动时,我都必须单独更改博客模板。

    我应该使用Blogger提供的RSS提要吗? PubSubHubbup是正确的答案吗? 如果您尝试在GAE上托管所有内容并在页面中显示您的帖子,则应查看Blogger API - 抓取帖子非常简单。



    如果您只是想添加一些额外的脚本,但大多数情况下会保留Blogger的内容,我只会导出HTML模板并进行调整以适合您的App-Engine页面,并且在两者之间建立联系。如果您不喜欢看到Blogger网址的用户,则可以添加自定义域名,以便访问者只能在yourcoolwebsite.com和blog.yourcoolwebsite.com之间切换。


    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?

    解决方案

    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.

    这篇关于将Blogger集成到Google App Engine应用程序中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆