Results 1 to 7 of 7
Thread: RSS feed problem??
Jun 8, 2009, 22:33 #1
RSS feed problem??
I want to make a site where user can read a news from the different newspaper of the world. This could be done through rss feed. At a same time i want to store this fees in our database. and show this on my own site. The user can give comment on this news feeds. But the problem is that i really don't know how to store this feed in database. can anyone give me script or idea how to do this.
Thanks in advance.....
Jun 9, 2009, 01:23 #2
Jun 9, 2009, 01:44 #3
yaa you are right. i am talking about news sites. but at the same time i want to store this feed into database. can u help me..
Jun 9, 2009, 01:47 #4
Ah ok, well with SimpleXmlElement you end up with an array of all the contents from the RSS feed which you can loop through (as shown in the tutorial I linked to before). In the loop it would be pretty easy to add the stories to a database table
Jun 9, 2009, 01:50 #5
one more thing...
can it would be possible that user can give comment on the news feed comming from another site.
Jun 9, 2009, 01:51 #6
With the comments you would have to use your database as well I think, so you have a comments table and each comment is associated with a news post from your news table.
Jun 9, 2009, 02:13 #7
yaa right i using database to store comment as well as news feed