Wednesday, August 2nd, 2006

Build an RSS Feed Reader using Ajax and PHP

Category: Ajax, PHP, Programming

ScratchProjects.com has posted both Part one and Part two in a new tutorial series, this time with a focus on creating a RSS feed reader by combining PHP and Ajax.

In Part one they lay the foundation, explaining how the tutorial will work, what the parts are, and what the parts do. Then, it’s on to the code, showing first how to fetch and parse the remote feeds and create the DIV the results will be dropped into.

Part two takes the next steps and creates the form to add a feed to be parsed, the functionality to insert it and its information into the database, and to grab the list of feeds from the database and read in the contents.

It’s a pretty basic tutorial, but great for those just starting out with this handy, powerful functionality. It requires a bit of knowledge about PHP, but most of the code needed is spelled out for you. Plus, you can download the code as well.

Posted by Chris Cornutt at 9:56 am
8 Comments

++++-
4.1 rating from 77 votes

8 Comments »

Comments feed TrackBack URI

[…] Well, this is sort of cool. I’ve been lead to an article about writing an RSS reading using Ajax and PHP, which is exactly what BlogWatcher is. I’ve only skimmed it so far, but it looks similar to what I’ve done, at least on a basic level. Maybe I’ll be able to get some pointers to improve my code. […]

Pingback by Dwayne’sWorld » Blog Archive » Another BlogWatcher? — August 2, 2006

scratchprojects is a pretty cool site :-)

always nice to see how other developers implement RSS readers!

-nick

Comment by Nick Pang — August 2, 2006

When I started writing the articles I didn’t even search google to see if anyone else had written anything similar. I just opened up the ajaxagent rss sample and started hacking. That was Part 1.
Then a week later I got the idea that a SQL backend would be really cool and that was Part 2.
I’m glad you like it and next time I’ll be more diligent on writing something that no one else has.

Comment by jay — August 3, 2006

fur1960td8adqx2cfpogzghvolpi4ibfpqt4sguqdy

Comment by ay8gqc — August 17, 2006

[…] Ajaxian » Build an RSS Feed Reader using Ajax and PHP (tags: php rss ajax) […]

Pingback by Mighty Brain Squad » Blog Archive » links for 2006-09-10 — September 10, 2006

what can you all do with rss feeds? plenty of funny tricks. Here i try to set up a news archive…
soon be done.

Comment by international news archiv — September 12, 2006

Problem with RSS Feed in WordPress.
I have a subdomain that I installed wordpress for another blog site, but the subdomain site's rss feed points to my parent site.
Can anyone come up with any suggestions?

Comment by Issac — November 29, 2006

Can this feed read any rss files or just the ones generated by wordpress?

Comment by hype — April 11, 2007

Leave a comment

You must be logged in to post a comment.