Page 1 of 1

CNN

PostPosted: Fri Oct 21, 2011 1:29 pm
by zip
Plugin for CNN feeds.

Updated 31/10/2011
Updated 16/06/2012
Updated 18/06/2012

Re: CNN

PostPosted: Sat Jan 07, 2012 7:21 pm
by galmok
Any hints on how to configure this?

Re: CNN

PostPosted: Sat Jan 07, 2012 7:48 pm
by galmok
Found the (huge) list of resources on this forum (including CNN). ;-)

Re: CNN

PostPosted: Tue Jun 05, 2012 10:41 pm
by jhb50

Re: CNN

PostPosted: Sat Jun 16, 2012 1:43 pm
by seahorse
Hi,
newbie here, trying (and enjoying) serviio on my Samsung D5000 and is working fine.
I managed to get the Youtube plugin working but I can't figure out how to get CNN plugin to work. Is there a georestriction on it (such as on BBC iplayer?)
I get the CNN folder in my online content but it stays empty. In the debug log I find following error for every CNN extraction;

2012-06-16 15:13:10,890 DEBUG [FeedItemUrlExtractor] CNN: Starting extraction of url for item: Shafik
2012-06-16 15:13:11,175 DEBUG [FeedParser] Unexpected error during url extractor plugin invocation (CNN) for item Shafik: index is out of range 0..-1 (index = 0)

I get the same errors on different feeds such as
http://rss.cnn.com/rss/edition.rss
http://rss.cnn.com/rss/edition_world.rss

Can anyone give me some hints?
Thanks

Re: CNN

PostPosted: Sat Jun 16, 2012 9:34 pm
by zip
Updated the plugin, try it now

Re: CNN

PostPosted: Sun Jun 17, 2012 5:46 am
by Satjit
Hi,

I have selected the Source Type as 'Online RSS/Atom feed'. What is the 'Media Type' (Video / Audio / Image) which needs to be chosen for the CNN feed?

Thanks in advance!

Re: CNN

PostPosted: Sun Jun 17, 2012 1:57 pm
by Xmantium
Satjit wrote:I have selected the Source Type as 'Online RSS/Atom feed'. What is the 'Media Type' (Video / Audio / Image) which needs to be chosen for the CNN feed?

Should be Video, just tried this plugin and get "There is no items to display" on http://rss.cnn.com/rss/edition.rss and http://rss.cnn.com/rss/cnn_topstories.rss

Re: CNN

PostPosted: Sun Jun 17, 2012 2:58 pm
by jhb50
http://rss.cnn.com/rss/edition.rss works ok but http://rss.cnn.com/rss/cnn_topstories.rss does not.
There are videos in these feeds so the groovy still needs work.

Re: CNN

PostPosted: Sun Jun 17, 2012 3:45 pm
by seahorse
@ zip
Thanks for the update.
The link http://rss.cnn.com/rss/edition.rss is working fine now but all other links still give the same problem (out of index)
Cheers

Also the links her are not working
http://edition.cnn.com/services/rss/

Re: CNN

PostPosted: Mon Jun 18, 2012 6:04 pm
by zip
Updated again. Note that not all feed items have video in them.

Re: CNN

PostPosted: Mon Jun 18, 2012 10:02 pm
by Xmantium
Thanks zip! Update works great! The quality of video is amazing.

Ive noticed the post with videos that have "Click to Play" appear on Serviio but not the videos that start immediately when you view the post on CNN such as http://rss.cnn.com/~r/rss/cnn_topstorie ... cm6uV5lnM/ or http://rss.cnn.com/~r/rss/cnn_topstorie ... oIfXeU0wY/

Also is there any way of getting the thumbnails from the swf, all the videos with "Click to Play" have the perfect thumbnail for the video.

Re: CNN

PostPosted: Mon Jun 18, 2012 10:27 pm
by zip
done

re: thumbs - it's a pain so it's without thumbs ATM

Re: CNN

PostPosted: Tue Jun 19, 2012 10:48 am
by seahorse
Working fine now!
Thanks

Re: CNN

PostPosted: Tue Jun 19, 2012 1:28 pm
by jhb50
Could we establish a standard for groovy versions? Once loaded into ones plugins there is no way to establish what you have except via the groovy contents. I've tried to do this with my groovys and use Alpha month due to the various country date formats. For example cnn.groovy would contain:
  Code:
/**
 * Content URL extractor plugin for CNN video feeds
 *
 * @author Petr Nejedly
*
 * V1 - Oct 31,2011
 * V2 - Updated June 16,2012
 * V3 - Updated June 18,2012
*
 */