Feeds | Open Social
Standards Based Development
Images in Feeds
Atom Feed Images
Images included within Atom feeds must have a ratio of 1:1 or 2:1; Use <icon> xml element for urls targeting 1:1 images, and use <logo> xml element for urls targeting 2:1 images; place either element in the <feed> element:
<feed>
<icon>http://domain.tld/path/icon.ico</icon>
<logo>http://domain.tld/path/logo.gif</logo>
</feed>
rss Feed Images
Images including with rss feeds have a maximum width of 144px and a maximum height of 400px; if dimensions are not specified, width default is 31px and height default is 88px.
Note: .ico icons are not currently supported in rss.
rss permits including additional image data via specified xml elements, as shown below:
<channel>
<image>
<url>http://domain.tld/path/site_logo.jpg</url> // *required! - the URL of the image
<title>The alt attribute of the image</title> // *required! - the image alt attribute
<link>http://domain.tld/my_blog/</link> // *required! - the URL of the website
<width>111</width> // the image width
<height>33</height> // the image height
<description>An amazing website</description> // the link title attribute
</image>
</channel>