Show database table content in RSS using php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rbhoumik
Forum Newbie
Posts: 13
Joined: Wed Nov 11, 2009 7:06 am

Show database table content in RSS using php

Post by rbhoumik »

I have a table which stores details of products in MySql...I have to show the details in RSS feed...I don't know anything about it so step by step guide will be highly appreciated
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Show database table content in RSS using php

Post by requinix »

I won't hold your hand but I will point you to the RSS 2.0 specification.
rbhoumik
Forum Newbie
Posts: 13
Joined: Wed Nov 11, 2009 7:06 am

Re: Show database table content in RSS using php

Post by rbhoumik »

tasairis wrote:I won't hold your hand but I will point you to the RSS 2.0 specification.
How will I use it?
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Show database table content in RSS using php

Post by requinix »

It tells you what an RSS feed looks like. It lists each tag, where it belongs, what it is for, and what the data inside should look like.

Go through it and figure out what of your stuff goes where. For example, channel/pubDate could be for when the database was last updated, channel/item/title could be the product name, channel/item/link could be a link to the product's page, and so on.
Post Reply