Mine
public text v1 · immutable<?php
header("Content-Type: text/xml; charset=utf-8");
include "rss.class.php";
include "cache.class.php";
include "database.class.php";
$db = new Datalayer();
$field = array("link,total");
$table = array("url");
$where = array("id='".$_REQUEST["id"]."'");
$sql = $db->Query($field,$table,$where);
$res = $sql->FetchRow();
$rss = new Rss();
$arrs = $rss->Parse($res->link,$res->total);
foreach ($arrs["content"] as $content)
{
$cont .= $content["title"]."<br>";
}
echo $cont;
?>