I Just need some correct results from 6 rss feed
I am fetching 6 feeds and maked a news ticker bar at http://thehoopdoctors.com/online2/newfeed/
I am getting results from 6 rss feeds like
First getting all posts from http://thehoopdoctors.com/online2/newfeed/",
Then All "http://thepigskindoctors.com/newfeed/",
Then All "http://thepuckdoctors.com/newfeed/",
Then All "http://thecagedoctors.com/newfeed/",
Then All "http://thedugoutdoctors.com/newfeed/",
Then All "http://videogoneviral.com/newfeed/"
I just need get one by one.
I just need to get post from all urls one bye one like
"http://thepigskindoctors.com/newfeed/",
first post "http://thepuckdoctors.com/newfeed/",
first post
and so on.
my code is
<?php
$rsslist=array(
"http://thehoopdoctors.com/online2/newfeed/",
"http://thepigskindoctors.com/newfeed/",
"http://thepuckdoctors.com/newfeed/",
"http://thecagedoctors.com/newfeed/",
"http://thedugoutdoctors.com/newfeed/",
"http://videogoneviral.com/newfeed/"
);
$feed = fetch_feed($rsslist);
?>
<ul id="news-ticker" style="float: left;height: 15px !important; margin-left: 2px; margin-top: 10px; overflow: hidden; position: relative;width: 500px;">
<?php
foreach($feed->get_items() as $item) {?>
<li class="news"><a style="color:white !important;" href="<?php echo $item->get_permalink();?>"><?php echo $item->get_title();?></a></li>
<?php }?>
</ul>