RSS feed site icon resolution
This post shows how you can increase the resolution of the RSS feed site icon from the default 32×32 to 300×300.
I had the issue that on the feed reader I use (Podcast Addict) the blog icon (not the featured images of the posts) were blurry. After some investigation it turns out that the default wordpress RSS generator uses a 32×32 pixel resolution of the site icon (The site icon was already set in WordPress under Dasboard => Settings => General => Site icon). The 32×32 resolution can be seen from the RSS feed xml file (click).
To change the resolution to 300×300 we need to adjust the function rss2_site_icon in the file feed.php in the wp-includes folder of the wordpress installation.
Here are the three lines that we need to change in the original form:
$url = get_site_icon_url( 32 );
<width>32</width>
<height>32</height>
And in the fixed form:
$url = get_site_icon_url( 300 );
<width>300</width>
<height>300</height>
After that we can see the change on the RSS feed xml file and we can refresh (or re subscribe) to the RSS feed to see the changed site icon.
Leave a Reply