Discussion Forums  >  Uncategorized

Replies: 2    Views: 206

chadh0130
Apple Fan
Profile
Posts: 352
Reg: Nov 05, 2011
Rhode Island
4,020
12/31/11 08:35 PM (14 years ago)

RSS Reader issues- Randomly missing video thumbnail and description text

I have several youtube playlist RSS feeds going through my app. I set the XML element data points as followed: Story XML Element: entry Title XML Element: title Description XML Element: media:description Link XML Element: link Append Value to Link Element: I left this blank Image XML Element: media:thumbnail see screenshot for reference: http://screencast.com/t/kRHWcPdyGyD The video playlist is displayed the way I want it to but I ran into an issue both on the simulator and on my iphone where if you click on a video it brings you to the youtube video and if you hit back you return to the video playlist where the video thumbnail and description appears but sometimes after clicking the feed; the thumbnail image and description text disappears but the row is still selectable to play the video....see screenshot for reference http://screencast.com/t/ZfETIWxgXs How do I fix it so video thumbnail and text always remain there? Another problem is that some of the videos from the RSS youtube playlist feed don't load. It won't load the video at all but only some. Is there a way I could fix this? The youtube playlist feed looks like this http://gdata.youtube.com/feeds/api/playlists/2B3B8DDAE8F71C46 the last bit of the link above is the playlist ID number Any help or feedback is much appreciated at this point.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
01/02/12 05:44 AM (14 years ago)
Hi in Baltimore, We hear this sometimes and you're not alone with the issue - this is good. The bad part is, we've not been able to isolate the problem 100%. Different devices seem to do different things sometimes - super frustrating on our end and a lingering and difficult issue. It's for sure related to the way the UITableViewCells are being re-used (or not reused) for each item in the list. It's a complex thing. Spend a bit of time in the BT_screen_rssReader.m file and try to get your head around how the cells are being used. Have a look at the cellForRowAtIndexPath method on around line 375. This is the method that handles the cell layout. You'll see in this method were a custom BT_cell_menuList is used for the cell. This is different than a built in iOS UITableViewCell. You could try a few different things here to try to get the cell to 'not get reused' to try to get it to work as expected. Because there are so many different settings in the control panel this can get tough and frustrating. You could also just try to use a regular UITableViewCell (instead of the customized BT_cell_menuList cell) to make sure it does what you want. Then, if you're really brave, you could try to create your own cell class (use the BT_cell_menuList as a starting point) to get the behavior you're looking for. Hope this helps? Nerdy for sure but it's the best we can do at this point...
 
ardelio
Code is Art
Profile
Posts: 1
Reg: Jan 10, 2012
location unknow...
10
like
01/19/12 03:58 PM (14 years ago)
have the same issue
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.