On Sun, 8 Jun 2003 13:31:25 +0300, you wrote:
>AGES AND TRYING TO FIND A GOOD RSS CREATOR , PLEASE HELP, NOTE THAT I TRIED
>http://www.phpclasses.org . PHP Classes Repository
>
> BUT I DIDN'T MANAGE
>
> PLEASE HELP ME
A simple RSS document is pretty easy to generate. It's just text... even
using XML classes is overkill.
Output a header like this:
header ("Content-Type: text/xml");
and then a document like this:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
<title>BBC News Online</title>
<link>http://news.bbc.co.uk/</link>
<description>BBC News Online</description>
<image>
<title>BBC News Online</title>
<url>http://news.bbc.co.uk/furniture/syndication/bbc_news_120x60.gif</url>
<link>http://news.bbc.co.uk/</link>
</image>
<item>
<title>Sharon warns Palestinians on terror</title>
<link>http://news.bbc.co.uk/go/click/rss/1.0/ticker/-/1/hi/world/middle_east/2973816.stm</link>
</item>
<item>
<title>Lull in Mauritania coup violence</title>
<link>http://news.bbc.co.uk/go/click/rss/1.0/ticker/-/1/hi/world/africa/2974006.stm</link>
</item>
</channel>
</rss>
There are more tags you can use (see http://backend.userland.com/rss2) but
that's the basic structure.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php