Can I embed google blogger site into my website

若如初见. 提交于 2020-12-29 06:11:29

问题


I have a blogger blog and I have already successfully had the domain set to a subdomain of my website e.g http://blog.jthink.net

But how do I actually embed the blog onto my website so that it has same header and footer as my main website ( http://www.jthink.net ) so it's more like the way they have done it here

Is it even possible with blogger?


回答1:


Just use an iFrame for this purpose. To embed a webpage in an iFrame in your own blog of a website is equivalent to copying that webpage into your own website or blog.

Adjust the width and height to your own values that you would like to use.

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

You could also add

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

To notify if a user uses a browser that does not support iFrame.

So the complete code will be

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



回答2:


Whilst iFrames is literally speaking the way to embed the blog on your webpage it means you cant give people links to a particular post within the blog, so it doesnt treally work very well.

In the end I found you could simply the customize the blogger template to make your blog look like your other pages, I found this worked better than using iframes.




回答3:


Either you can used an iFrame or you can used an Individual div for the Particular site. Then you can embedded it within the site.

Be assure that you can adjust the Width and height of the frame or div through the CSS. here is a simple code which help to embedded the blogger site within your existing site.

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

If for any reason the browser doesn't support iFrame you can notify the user for it. By Using the Paragraph or any other tag.




回答4:


I'm surprised nobody suggested RSS feed subscriptions.

If it's a blogger site then you can just subscribe to the standard site feed in your current CMS (content management system). See this link for more information: support.google.com/blogger/answer/97933?hl=en

In fact, I think this is exactly how the blog you linked to achieved their effect. All the navigation baggage of the original blogger site is left behind and only the content of each post is automatically reposted via RSS content subscription -> blog.beatunes.com/atom.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*



回答5:


I'm a bit late to the party but If you want an alternative to straight out embedding your blog you could use the the Blogger api?

To my mind that would be the best solution.




回答6:


You can use iframe to embed your blog onto the website.
for example, http://jsfiddle.net/pablofiumara/mCfAe/

References: https://developer.mozilla.org/ko/docs/Web/HTML/Element/iframe




回答7:


iframes are best for this. Most browsers support them.
Maybe you could use adobe business catalyst page templates?



来源:https://stackoverflow.com/questions/34313391/can-i-embed-google-blogger-site-into-my-website

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!