我可以将 google 博客网站嵌入我的网站吗

Can I embed google blogger site into my website

我有一个博主博客,我已经成功地将域设置为我网站的子域,例如 http://blog.jthink.net

但是我如何将博客实际嵌入到我的网站中,以便它具有与我的主网站相同的页眉和页脚(http://www.jthink.net ) so it's more like the way they have done it here

Blogger 有可能吗?

您可以使用 iframe 将您的博客嵌入网站。
例如,http://jsfiddle.net/pablofiumara/mCfAe/

参考文献:https://developer.mozilla.org/ko/docs/Web/HTML/Element/iframe

只需为此目的使用 iFrame。在您自己的网站博客中的 iFrame 中嵌入网页相当于将该网页复制到您自己的网站或博客中。

widthheight 调整为您想要使用的值。

 <iframe src ="URL of the website you want to embed" width="100%" height="500"> </iframe>

您还可以添加

<p>Your browser does not support iFrames.</p>

在用户使用不支持 iFrame 的浏览器时通知。

所以完整的代码将是

<iframe src ="URL of the website you want to embed" width="100%" height="500">
<p>Your browser does not support iFrames.</p>
</iframe>

您可以使用 iFrame,也可以为特定站点使用 Individual div。 然后您可以将其嵌入到网站中。

请确保您可以通过 CSS 调整框架的宽度和高度或 div。 这是一个简单的代码,可帮助将博客网站嵌入到您现有的网站中。

<iframe src ="www.xyz.com" width="100%" height="100%"> </iframe>

如果浏览器出于任何原因不支持 iFrame,您可以通知用户。通过使用段落或任何其他标签。

iframe 最适合这种情况。大多数浏览器都支持它们。
也许您可以使用 adobe business catalyst 页面模板?

虽然 iFrame 从字面上讲是将博客嵌入您的网页的方式,但这意味着您不能向人们提供指向博客中特定 post 的链接,因此它的效果并不是很好。

最后我发现您可以简单地自定义 blogger 模板,使您的博客看起来像您的其他页面,我发现这比使用 iframe 效果更好。

我很惊讶没有人建议订阅 RSS 提要。

如果它是博客网站,那么您只需订阅当前 CMS(内容管理系统)中的标准网站供稿即可。有关详细信息,请参阅此 link:support.google.com/blogger/answer/97933?hl=en

事实上,我认为这正是您 link 的博客达到其效果的方式。原博客站点的所有导航包袱都被留下,只有每个 post 的内容通过 RSS 内容订阅 -> blog.beatunes.com/atom 自动重新post。 xml

Tools to achieve this:
-Wordpress: wordpress.org/plugins/wp-rss-aggregator
-Joomla!: extensions.joomla.org/extension/simple-rss-feed-reader
-Drupal: drupal.org/node/326575  
-SharePoint: lol *highfive*

我来晚了一点,但如果你想直接嵌入你的博客,你可以使用 Blogger api?

在我看来,这将是最好的解决方案。