Google Blogger News Feed for Website

不打扰是莪最后的温柔 提交于 2019-12-05 07:29:54

问题


I have a website and a google blogger site in conjunction. I would like to add a section to my website home page that displays the 3 or 4 most recent blog posts (post title and the first 100-200 words of the post).

Is there a widget that will do this or any suggestion on how to set this up?

Thanks!


回答1:


I found a really useful tutorial that does exactly what I want very easily. Inputs the post title, date/time of the entry, and the first 150 characters in the post. Very easy to set up. http://alt-web.blogspot.com/2011/06/adding-blogger-rss-feed-to-html-page.html Thanks!




回答2:


I would suggest writing a short PHP script to print out the first 4 items from the RSS feed...




回答3:


Check out feedburner. https://feedburner.google.com/

Specifically, look at the BuzzBoost option under publicize. This allows you to embed javascript in your HTML that will generate HTML of your last few posts.



来源:https://stackoverflow.com/questions/10220579/google-blogger-news-feed-for-website

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