";
$y=1;
foreach($x->channel->item as $entry) {
if ($y < 4){
echo "" . $entry->title . "";
echo "".$entry->description."
";
$theurl=str_replace("https://www.thebatorblog.com","https://thebator.r.worldssl.net",$entry->url);
echo "
";
echo "";
$y=$y+1;
}
}
echo "";
}
getFeed("https://www.thebatorblog.com/feed/");
?>