hi all, im modified rssupdate module on rss.php, i want to show rss news with only page_id='15'
....
....
//Query
$query = "SELECT * FROM ".TABLE_PREFIX."mod_news_posts WHERE page_id='15' ORDER BY posted_when DESC LIMIT 0 , 10";
$result = $database->query($query);
//Generating the page info
while($item = $result->fetchRow($result)) {
echo "<item>";
echo "<title>".stripslashes($item["title"])."</title>";
// Stripping HTML Tags for text-only visibility
echo "<description>Latest update: ".date("d-M-Y, H:i",$item["posted_when"])." ".strip_tags(isset($item["content_short"])? $item["content_short"] : '')."</description>";
echo "<link>".PAGES_DIRECTORY.$item['link'].PAGE_EXTENSION."</link>";
/* Add further (non required) information here like ie.
echo "<author>".$item["posted_by"]."</author>");
etc.
*/
echo "</item>";
}
im test
http://path/rss.php and the page can only display TITLE,Posted Latest and COntent Short.
but i want to show link on title, so as to user click full pages on the target link