Feed thumbnails #12

Closed
romfeo opened this Issue Oct 16, 2012 · 1 comment

Projects

None yet

2 participants

@romfeo
romfeo commented Oct 16, 2012

How should I setup my rss feed in order for the app to recognise the thumbnail and create a "PhotoCell" in WHBlogViewController

Thank you

@romfeo romfeo closed this Oct 16, 2012
@welschp
welschp commented Oct 17, 2012

Great question - thanks for flagging. I see you've closed this issue, but I've added the following to the README...

A thumbnail image is displayed in feed list views when the source feed has a media:thumbnail element. The "width" attribute is required; the parser currently ignores thumbnail elements with no width.

Example:

<item>
     <media:thumbnail url="http://www.whitehouse.gov/example-image-320px.jpg" width="320"/>
     <media:thumbnail url="http://www.whitehouse.gov/example-image-640px.jpg" width="640"/>
</item>

The optimal size for display is chosen depending on the context (e.g. 640px for article feeds on the iPhone 4, or ~70px for photo gallery thumbnails on the iPhone 3GS) and screen density.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment