WordPress.org

Ready to get started?Download WordPress

Forums

RSSImport
widget works but not the tag in a page (2 posts)

  1. morgantifr
    Member
    Posted 4 years ago #

    i put it into a page: [php]RSSImport(10, 'http://news.google.com/news?ned=us&topic=w&output=rss');[/php]

    and it doesnt work (with the plugin Allow PHP in posts and pages).

  2. pokinwilly
    Member
    Posted 3 years ago #

    3 things:

    First, you have a shortcode, use it! [RSSImport feedurl="http://news.google.com/news?ned=us&topic=w&output=rss"]

    Second, as highlighted here, the description (as of today) incorrectly states that comma (,) is the separator. Just use space ( ) instead.

    Third, I had issues with URL having parameters (using the amp). I updated the function RSSImport_Shortcode() in file rssimport.php just before the $return by adding the line:
    $feedurl = html_entity_decode( $feedurl );

    Rgds

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags