Forums

some validated feed url cant display using wp_widget_rss_output (3 posts)

  1. yeenkuek
    Member
    Posted 1 year ago #

    hi,

    i use <?php wp_widget_rss_output('http://miridistrict.sarawakmethodist.org/?feed=rss2');?> trying to display the rss feed from above website but failed.

    i tried with other feeds they are working okay. but the above feed was validated without any problem, just cant figure out why it said 'RSS Error: WP HTTP Error: name lookup timed out'.

    tried with blogspot rss feed reader it turned out okay though.

  2. yeenkuek
    Member
    Posted 1 year ago #

    searched thru the forum cant find the solution. pls help. thanks.

  3. huawei.chris
    Member
    Posted 8 months ago #

    I'm not sure about it.

    But I guess you could try some codes like:

    <?php
    wp_widget_rss_output(
    array(
    'url' => $rss_feed,
    'title' => 'RSS Feed News',
    'items' => 2,
    'show_summary' => 1,
    'show_author' => 0,
    'show_date' => 1
    )
    );
    ?>

Topic Closed

This topic has been closed to new replies.

About this Topic