Re: Re: Making multiple RSS feeds for the blog website
| From: | Jason Pruim | Date: | Sat, 28 Aug 2010 13:02:29 +0000 |
| Subject: | Re: Re: Making multiple RSS feeds for the blog website | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-307722@lists.php.net to get a copy of this message | ||
On Aug 27, 2010, at 5:55 AM, Andre Polykanine wrote:
Hello Michelle, Hm. link rel="alternate"... that's a good one, thanks (btw, you say me that I should RTFM, but if I knew what to read....). Now there are two questions: 1. How do I do those .RSS files with PHP? All of mmy blog entries and other stuff are in MySql. There are classes that can echo the appropriate data as RSS, but there will be more .PHP files, not .RSS/.XML ones. So how do we manage that? 2. Should I make a separate .RSS file for each type of feeds (blog feed, comments feed, timeline feed, news feed)?Andre... What I did when I created my RSS feed is I went and read the RSS spec and found out what it needed to create it.[1] Read through that and it should get you started. If your competent with PHP then all you would need to do is loop through your result set to display the results. If you're not quite sure if you know how to do it though... I as well as many other people on the list I'm sure are available to hire to get it done :) [1] http://cyber.law.harvard.edu/rss/rss.htmlthanks!