Kolbu

Computers, Gadgets and Beyond!
Subscribe

CNN News plugin

April 03, 2008 By: webmaster Category: WordPress Plugins

CNN has a number of RSS feeds with current news available, on a number of topics.

This plugin works both as a widget, as inline content replacement and can be used in themes. It can be used as all three simultaneously, but there can be only one instance of the widget. Multiple feeds can be configured and used accordingly. Clicking on a news item will of course take you straight to the relevant article at CNN, as per CNN Terms of Use.

I know there are generic RSS feed widgets out there, but I figured with so many CNN feeds they warranted their own widget with easier configuration than your average generic RSS widget.

NOTE! Always upgrade to the latest version if you experience problems, most things are fixed already. :-)

The latest version is 2.2.

Download CNN News plugin


Known bugs: See the Google News plugin post. These two widgets are virtually identical, so bugs also tend to be the same in both.

Let me know if you find bugs, or if you want additional features or changes. Admin-selectable news item look, extra class/id for CSS etc.

14 Responses to “CNN News plugin”

Pages: [2] 1 » Show All

  1. 14
    webmaster Says:

    Hi Andrey!
    That looks like a bug. I’ll send you an email with a bugfix for you to try out.

    OK

  2. 13
    Andrey Says:

    Oops, php code disappeared :) I am inserting do_action(’cnn_news’)

  3. 12
    Andrey Says:

    Hi,
    Inserting into index.php of my custom theme gives
    “Warning: Invalid argument supplied for foreach() in /hsphere/local/home/xzamen/my.xzamen.info/wordpress/wp-content/plugins/cnn-news/cnn_news.php on line 622
    No default feed available”
    However using it in single.php works fine. But I really need it in index.php. How can this be fixed?
    Thanks.

  4. 11
    webmaster Says:

    Hi braddoc
    The debug() call appears to be a bug inside WordPress, I’ll see if I can track it down and report it. The RSS support inside WordPress is a complete mess, and I might end up rolling my own instead of relying on WordPress functionality there.

    OK

Pages: [2] 1 » Show All

Leave a Reply