Code:
<?PHP
header("Content-type: text/xml");
echo"<?xml version=\"1.0\" encoding=\"windows-1252\" ?> <rss version=\"0.91\" > <channel> <title>Narnia Fans</title> <link> http://www.NarniaFans.com</link> <language>en-us</language> <description>The Latest News on Narnia and C.S. Lewis</description> <generator>CuteNews</generator> "; $template="rss"; include("show_news.php"); echo"</channel></rss>"; ?>
Feed location: http://www.narniafans.com/news/rss.php
Anyone have any tips on what I can do to limit this to show only the latest 10 Headlines?
<?PHP
header("Content-type: text/xml");
echo"<?xml version=\"1.0\" encoding=\"windows-1252\" ?> <rss version=\"0.91\" > <channel> <title>Narnia Fans</title> <link> http://www.NarniaFans.com</link> <language>en-us</language> <description>The Latest News on Narnia and C.S. Lewis</description> <generator>CuteNews</generator> "; $template="rss"; include("show_news.php"); echo"</channel></rss>"; ?>
Feed location: http://www.narniafans.com/news/rss.php
Anyone have any tips on what I can do to limit this to show only the latest 10 Headlines?