Ads 468x60px

Pages

Saturday, February 9, 2008

Embed feed of another blog into a blog post

To see an example of a post with the feed of a blog embedded, surf over to Blogger, blogging, blogs.

How to embed a blog feed into a post

The above is a post from a test blog Cool Blue template and uses the feed for the demonstration blog Blogger, blogging, blogs. The feed I used is

http://blogger-blogging-blog.blogspot.com/feeds/posts/default?alt=rss


The last portion of the feed URL is

feeds/posts/default?alt=rss

To get the feed URL for the blog you want to embed in a blog post, all you need to do is to replace

http://blogger-blogging-blog.blogspot.com/

in front of that with the URL of the blog you want and surf over to Feed2JS into the field for the feed URL:

feed2js for generating script to embed feed into blog post

If you want to be sure that the feed URL is valid, click "check that it is valid", otherwise, just proceed to select the options you want. Preview, and if satisfied, click "Generate script". There will be 2 scripts generated, one a Javascript, the other HTML. For the demonstration I used in Blogger, blogging, blogs, I just highlighted the one for Javascript, press ctrl+C to copy the script into clipboard. Now I always use a web browser with tabbed browsing. In another tab in the same browser window, I sign into blogger.com (Dashboard), create a new post and paste the script from clipboard into the post editor window, fill in an appropriate title, add labels if you want, then publish. You will get different results depending on whether you have chosen to set the feed to "full" or "short". By right, when you set the feed to "short", what should be displayed should be just the first few sentences of posts, but in my test, I only got the post titles. So for the demonstration, I set the feed to "full" and you can see the result in Blogger, blogging, blogs.

I hope you yourself may do a little experimenting and update us with your results by leaving a comment. You are encouraged to do so plus add active (clickable) link or links (click BACK button to get back to this page) to your post or add a signature line with a link to your blog. This will help link popularity, PageRank and search engine visibility (click BACK button to get back to this page) of your blog as the "nofollow" attribute has been removed for links in the comments of this blog (but please don't spam).

Peter Chen's nice graphic signature

0 comments:

Post a Comment