Chapter 12. Keeping It Fresh

There's nothing quite like the excitement of discovering a new and interesting website. But this enthusiasm can quickly wane if, after a few visits, the content of the site hasn't changed at all. The primary way of adding new content to a website is by using dynamic, database-driven pages. That's why we've spent so much time discussing MySQL (and will later spend some time on SQLite). Another ideal way of keeping a site current and interesting is by using Rich Site Summary (RSS) feeds. RSS is a file format for web syndication that is widely used by various newsgroups but more commonly encountered in the form of a blog. An RSS file is an Extensible Markup Language (XML) formatted file that can be read using the SimpleXML ...

Get Object-Oriented PHP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.