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

Your name:

Reply:


Posted by Manuel Lemos on 06/24/05 23:28

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация