Re: Can't even make a simple test RSS feed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

on 06/24/2005 04:23 PM Brian Dunning said the following:
What am I doing wrong? This doesn't work. The browser does not even load the page, no error or anything:

<?php

echo '<?xml version="1.0"?><rss version="2.0"><channel>';
echo '<item>';
echo '<title>hdfghdf</title>';
echo '<description>dfghdfh</description>';
echo '<link>http://somelink</link>';
echo '</item>';
echo '</channel></rss>';

?>

It does not seem wrong, but I usually recommend a RSS 1.0 with all namespaces well-defined.

I use this RSS writer class for generating RSS:

http://www.phpclasses.org/rsswriter

--

Regards,
Manuel Lemos

PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/

PHP Reviews - Reviews of PHP books and other products
http://www.phpclasses.org/reviews/

Metastorage - Data object relational mapping layer generator
http://www.meta-language.net/metastorage.html

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux