The new Link Juice product of SEOEgghead.com can do wonders for your
<title>Learn PHP E-Commerce Programming with PostgreSQL</title>
This book will teach you PHP E-Commerce programming step by step!
To promote your web feed, you should prominently feature it on your web site. In Chapter 16 you will
also see how to place “chicklets” on a blog to facilitate the addition of your web site to spe-
cific web application–based feed readers.
Syndicating RSS and Atom Feeds
As explained earlier, many differing format standards are used for web feeds. Luckily, as you saw, there
are many tools that help you keep track of your favorite feeds. These tools let you forget about the for-
mat wars entirely. However, when you need to programmatically read and parse external feeds for syn-
dication, things get complicated.
Thankfully, Skyzyx Technologies (
) has developed a PHP library called
) that abstracts the details from the programmer ’s view and
provides a common API used for all feed types and versions. They say:
“SimplePie is a very fast and easy-to-use class, written in PHP, for reading RSS and Atom syndication
feeds. By keeping it simple, and focusing on what’s important, we’ve built a pretty sweet little API.
SimplePie’s focus has been two-fold: speed and ease of use, and has been very successful on both fronts.”
You can find installation instructions at
and you can find a guide at
Here you use SimplePie in a quick exercise. You’ll build a page that uses SimplePie to read the feed
you’ve just created, and display it for your visitors.
Chapter 7: Web Feeds and Social Bookmarking
c07.qxd:c07 10:42 160