Atom 1.0 Syndication Feed 图标和徽标尺寸

Atom 1.0 Syndication Feed Icon and Logo Sizes

Atom 1.0 规范包含以下关于提要中的图标和徽标元素的行:

icon - The image SHOULD have an aspect ratio of one (horizontal) to one (vertical) and SHOULD be suitable for presentation at a small size.

logo - The image SHOULD have an aspect ratio of 2 (horizontal) to 1 (vertical).

大多数 Atom 订阅源阅读器可以使用的图标和徽标图像的推荐大小是多少?

我找到了一个博客 post 讨论你的问题 http://snook.ca/archives/rss/add_logo_to_feed/

The Atom specification details two separate XML elements that can contain a URL to an image: icon and logo. For icon, it indicates that the image should have a 1:1 ratio and should be appropriate for small sizes. Not much more is spelled out, such as appropriate image types.

...进一步...

Now, the RSS specification is a little more specific when it comes to possible image sizes.

Maximum value for width is 144, default value is 88. Maximum value for height is 400, default value is 31.

由于提要阅读器可能会同时显示 ATOM 和 RSS 提要,因此这是他们期望的大致图像大小。所以我查看了 FlickR ATOM 提要 (http://api.flickr.com/services/feeds/groups_discuss.gne?id=34427469792@N01&lang=en-us&format=atom),它使用了一个 48 像素的方形图标。也许你可以坚持使用那个适合你的图标。虽然它不提供徽标。