Display Excerpts From an RSS Feed

A PHP5 script that reads an RSS file and outputs short customisable excerpts to HTML, with 'read more' links leading to the full story.

Works in modern browsers and IE7+

Please view the source of this page for HTML markup and CSS. The relevant PHP is provided below.

Featured Stories from DHFS


PHP Code

Grab yourself a complete code example: download a text file of the PHP, HTML and CSS.

More demos and snippets

Did you find this useful? There are more demos and code snippets this way.