Limiting RSS Newsfeed to 10 Items (Headlines)


S

Specter

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?
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top