Langsung ke konten utama

Autodiscover Your Twitter Feed With Blogger

When using Blogger, the RSS autodiscovery tags for our blog feeds are automatically generated, enabling visitors to easily subscribe for updates by clicking the orange icon in our browser's address bar:



Many bloggers use Twitter to promote their website and add an extra stream of conversation to our blog. In addition to adding a Twitter photostream or link to our Twitter profile in our layout, we can add autodiscovery tags to our template, enabling visitors a simple and alternative means of subscribing for updates.

It's very easy to add autodiscovery for alternative feeds to our Blogger templates. Simply go to Design>Edit HTML in your Blogger dashboard and locate the closing </head> tag in your template.

Immediately before this, paste the following code, replacing YOUR-TWITTER-USERNAME with your own username:

<link rel="alternate" type="application/atom+xml" title="Autodiscover your Twitter Feed with Blogger" href="http://twitter.com/YOUR-TWITTER-USERNAME" />

Then save your template.

Now when you visit any page of your Blogger site and click the RSS icon in the address bar, the drop down list will include a link to view your Twitter profile page and updates. I'm not able to get a screenshot on my computer, so if you'd like an example click the RSS icon in the address kafetaria when visiting to see this function in action.

This method may also be used to add other RSS feeds for discovery, such as your Flickr photostream or a feed for a specific label. Simply replace http://twitter.com/YOUR-TWITTER-USERNAME with the URL of the feed you'd like to add.

I hope you find this short tutorial offers a useful method of adding autodiscovery to your Blogger template. Please feel free to add your opinions and comments below.

Update: I've updated the code to use a slightly altered syntax which should be more compatible with newer browsers. Please let me know if this works for you (or not) in the comments section.

Komentar

Postingan populer dari blog ini

Another Blog Is Already Hosted At This Address - How To Fix

When attempting to set up their Blogger custom domain, many Blogger users have received the following error message: Another blog is already hosted at this domain Although I have set up many custom domains to use with Blogger , until this weekend I had never experienced this issue for myself (and was unable to offer any definitive solution for those experiencing this problem). My friend was experiencing this very persoalan after setting up her new blog a few days ago. We have been able to find some solutions which I hope may help others who see this error message when attempting to set up their custom domain. Assuming you have already configured the DNS settings for your particular domain provider and have attempted to publish to a custom domain through your Blogger dashboard, here are the steps you should take: 1. Publish back to your Blog*Spot domain In order to make your blog accessible while troubleshooting your custom domain, it is advisable to publish back to your Blog*Spot...

Google Blogger For Dummies To Be Released In February!

If you're familiar with the "Dummies" series of books, you'll understand how helpful and insightful these textbooks can be in dealing with any subject. That being said, I'm happy to announce that Google Blogger for Dummies is due to hit bookshops on February 3rd. It's available to pre-order now from Amazon.com  (priced at $16.49) and will be available in Barnes and Noble, Waterstones and other bookshops, and also directly from Wiley. The author, Susan Gunelius, has been kind enough to send me a 60 page preview of this book, complete with a full and detailed table of contents and two sample chapters for my preliminary review. Also, when the book is released early next month, Susan has graciously offered me a copy of the book so that I can review it in it's entirety and offer readers my insights. What Google Blogger for Dummies will cover Being a "Dummies" guide, Google Blogger for Dummies will cover both the basics of using Blogger (crea...

16 Useful Twitter Tools For Blogger

Since it's launch back in 2006, Twitter has become a leading pioneer in the world of social media. Bloggers in particular find this service an invaluable tool for syndication, news stories and community conversation. For this post, I have rounded up 16 of the most useful tools, tips and free resources to help you get the most out of Twitter through your Blogger powered blog. Display your Latest Tweets Visitors to your blog may also enjoy reading your Tweets, particularly if they are of relevance to your blog's niche subject. Here is a selection of the best tools for displaying Twitter updates in your Blogger layout: The Official Twitter Badges Twitter provides an animated "Profile" badge which you can use to display your latest updates as a widget in your blog layout: You can configure the size, colours and number of updates for your badge in the settings, then grab the code which can be pasted in an HTML/JavaScript widget in your Blogger layout page. Ano...