Location: PHPKode > scripts > EasyFeeder > easyfeeder/samplepage.php
<?php
error_reporting(E_ALL&(~E_NOTICE));
$configs=array();
$configs[feed]="http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml";
$configs[template]="template.html";
$configs[maxitems]="5";
require_once("easyfeeder.php");
?>

<html>
<head><title>Your sample RSS page</title>
<style>
p
{
	font-family:verdana,arial,sans-serif;
	font-size:12px;
}
</style>
</head>

<body>

<h1 style="font-size:18px;font-family:verdana,sans-serif;" align=center>Your Sample EasyFeeder Page</h1>

<table align=center width=820>
<tr><td valign=top width=410>
<p>Some static content, can be designed in any way. Follows the first feed content:</p>
<p><?=easyfeeder($configs)?></p>
</td>
<td valign=top width=410>

<p>Now in some other place of the page we want to add a differrent feed. We want to use the same design and date format. So all we need to chnage is the feed parametter: </p>
<p>
<?php
$configs[feed]="http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/world/rss.xml";
echo easyfeeder($configs);
?>
</p>
</td></tr></table>
</body>
Return current item: EasyFeeder