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.
yeenkuek
Member
Posted 1 year ago #
searched thru the forum cant find the solution. pls help. thanks.
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
)
);
?>