问题
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