How do I get my favicon to show in my blog feed?

My website has a favicon that shows up in my browser, but when I look at my feed it doesn’t seem to get picked up. How do I reuse it?


I came across this question on Twitter asked by WolfieB from The Wolf’s Howl. A favicon is a great way to add a touch of branding to your website which shows up when people look at your URL or even at their bookmarks. For example, here’s one I use on Cruelcard (which I haven’t updated in years!)

cruelcard.JPG

It’s a little icon that can be created quite easily and uploaded to your website and browsers will automatically pick it up. And it can make a difference to your site in the same way the best acne treatment in the world can help a teenager. But using it in your RSS feed is not as simple unfortunately. First of all, not all blog readers will actually acknowledge or use your feed icon, and then, to compound matters, RSS feeds and Atom feeds; the two methods for broadcasting RSS feeds, use different mechanisms.

RSS Feeds

The RSS specification doesn’t actually specify that you can include an icon for your field. However, it does allow you to add a feed image which some readers will parse correctly. You need to specify the image to use, as well as the dimensions of the image to make sure it’s displayed correctly. Here’s an example of one I’ve just added to Ugh!!’s Greymatter Honeypot:

<channel>
...
<image>
<link>http://www.u-g-h.com</link>
<url>http://www.u-g-h.com/webcam.jpg</url>
<title>Owen Cutajar's blog</title>
<width>80</width>
<height>60</height>
</image>
...
</channel>

Atom Feeds

Atom Feeds are slightly easier in that there are specific elements that can be used for the icon and logo of a feed. Here’s what they would looks like:

<feed>
...
<icon>http://www.u-g-h.com/webcam_small.jpg</icon>
<logo>http://www.u-g-h.com/logo.jpg</logo>
...
</feed>

Tools you can use

One extra pointer I’d like to finish with. If you’re using FeedBurner for your feed, then you can add your feed by going to “Optimize Feed” and “Feed Image Burner”. Here’s a screenshot of what this looks like:

optimize-feed-image-burner.png

There you go, everything you ever wanted to know about logos/icons in your blog feed.

2 thoughts on “How do I get my favicon to show in my blog feed?

  1. Hi

    Its really very useful for me. Exactly I am searching for this. I bookmarked this post to use favicon in my blog feed. Thanks for such a wonderful info.

    Shimul

Leave a Reply

Your email address will not be published. Required fields are marked *