Having Trouble Parsing Youtube Video Description with MWFeedParser

Mido Crazy

New Member
So first off, I'm using MWFeedParser so please don't recommend any other parser, I know there are many different alternatives, but MWFeedParser has done 99% of what I want.The problem is that although I have figured out how to pull in youtube thumbnails, videoIds, & duration, I can't grab the description of each video no matter how much I try,I want this:\[quote\] "Marvel's ultimate team of heroes, the Avengers, storm into UK cinemas on 26th April in 'Marvel Avengers Assemble'. Assemble at the Avengers official UK Facebook page: www.facebook.com Visit the official website uk.marvel.com See the new trailer in 3D and IMAX 3D in cinemas exclusively on John Carter 3D from March 9 2012. When an unexpected enemy emerges that threatens global safety and security, Nick Fury, Director of the international peacekeeping agency known as SHIELD, finds himself in need of a team to pull the world back from the brink of disaster. Spanning the globe, a daring recruitment effort begins. Starring Robert Downey Jr., Chris Evans, Mark Ruffalo, Chris Hemsworth, Scarlett Johansson, Jeremy Renner and Tom Hiddleston, with Stellan Skarsg?rd and Samuel L. Jackson, and written and directed by Joss Whedon, "Marvel Avengers Assemble" is based on the ever-popular Marvel comic book series "The Avengers," first published in 1963 and a comics institution ever since. Prepare yourself for an exciting event movie, packed with action and spectacular special effects, when "Marvel Avengers Assemble" arrive in cinemas on April 26th 2012."\[/quote\]But I keep getting this:\[quote\] MWFeedItem:"Marvel's Avengers Assemble (2012) Watch the Official trailer | HD 2012-02-29 16:13:07 +0000"\[/quote\]Which is really the title of the video. The xml line looks like this:\[code\]<media:description type='plain'>Marvel's ultimate team of heroes, the Avengers, storm into UK cinemas on 26th April in 'Marvel Avengers Assemble'. Assemble at the Avengers official UK Facebook page: www.facebook.com Visit the official website uk.marvel.com See the new trailer in 3D and IMAX 3D in cinemas exclusively on John Carter 3D from March 9 2012. When an unexpected enemy emerges that threatens global safety and security, Nick Fury, Director of the international peacekeeping agency known as SHIELD, finds himself in need of a team to pull the world back from the brink of disaster. Spanning the globe, a daring recruitment effort begins. Starring Robert Downey Jr., Chris Evans, Mark Ruffalo, Chris Hemsworth, Scarlett Johansson, Jeremy Renner and Tom Hiddleston, with Stellan Skarsg?rd and Samuel L. Jackson, and written and directed by Joss Whedon, "Marvel Avengers Assemble" is based on the ever-popular Marvel comic book series "The Avengers," first published in 1963 and a comics institution ever since. Prepare yourself for an exciting event movie, packed with action and spectacular special effects, when "Marvel Avengers Assemble" arrive in cinemas on April 26th 2012.</media:description> \[/code\]In the Parser I'm doing the following:\[code\]else if ([currentPath isEqualToString:@"/feed/entry/media:group/media:description"]) { if (processedText.length > 0) item.description = processedText; processed = YES;\[/code\]& when I call it for my interface I do the following:\[code\]NSString *itemDescription = item.description? [item.description stringByConvertingHTMLToPlainText] : @"[No Description]"; cell.descriptionLabel.text = itemDescription;\[/code\]I'd appreciate it if anyone could point me in the right direction!
 
Back
Top