Hi,
I have made a blog system and now I want to implement an RSS Feed. I have no idea where to start. Does anyone know of a good tutorial?
Cheers,
~Oni.
Hi,
I have made a blog system and now I want to implement an RSS Feed. I have no idea where to start. Does anyone know of a good tutorial?
Cheers,
~Oni.
Cheers guys.
zabmilenko wrote:
I read over this article, but I still dont quite undertand how to actually create a feed. For example, I need to make a feed for each blog that is made for this blog system... but what do I link to, to bring up the feed??
It sounds as if I need to add span tags to each article to specify title, date, description, etc. But how do I then use that?
Thanks for any assistance,
~Oni.
You provide RSS feeds as separate link. In essence, you list last X blog posts and you present them just like you would in HTML, except you use XML as described in the links above.
Keep in mind to set header("Content-type: text/xml") or "application/rss+xml" as some suggest is better.
Thanks void_function. So I can generate the page in php as I would the normal html page... but include the appropriate tags and set the header to "Content-type: text/xml" or "application/rss+xml"?
Yes.
I've attached the php file...
Would this work? How can I test it?
Thanks,
~Oni.