Not sure if this is in the right place, if not please move.

I'm looking to make my own rss feeds, and need some nice tutorials. I googled it but only got rss feeds for your site not how to make them.

Thanks :?:

Recommended Answers

All 3 Replies

Do you have any experience with writing database queries? You would actually just create a page called rss.php and in it you would write PHP code to query the database for the last 10 or so entries. Then, you'd loop through each entry. Suppose an entry consisted of an article title and URL. Then, the inside of your loop would have four echo statements. One to denote a new <article>. Two echo statements (for title and URL). And then a </article>. This is just a very, very basic example. I could provide more information if you let me know what exact information you want to appear in the RSS.

Not sure if this is in the right place, if not please move.

I'm looking to make my own rss feeds, and need some nice tutorials. I googled it but only got rss feeds for your site not how to make them.

Thanks :?:

You can start by looking at the specifications for RSS feeds. Googling "RSS Specifications" is a good start. You'll get results from several standards organizations and a few comparisons of the RSS standards.

After you've familiarized yourself with the RSS standard, you'll realize that it's not much different than an HTML file with looping data. If you know rudimentary HTML and can manage a for{...} or while{...} loop in PHP, you should be fine.

Not sure if this is in the right place, if not please move.

I'm looking to make my own rss feeds, and need some nice tutorials. I googled it but only got rss feeds for your site not how to make them.

Thanks :?:

FeedForAll makes feed creation really easy http://www.feedforall.com if you prefer to use notepad and create the feed by hand there is a good walkthrough at http://www.make-rss-feeds.com

Best
S. Housley
FeedForAll - http://www.feedforall.com | NotePage - http://www.notepage.net

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.