Display Excerpts From an RSS Feed, with Pagination

A PHP5 script that reads an RSS file and outputs short customisable excerpts to HTML, with 'read more' links leading to the full story. Pagination is included to break a long RSS file into smaller pieces and limit the number of items shown per page.

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

Showing 16-18 of 18 items:

 

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.