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 1-5 of 19 items:
Twelve Year 10 maths students travelled to Salford University in Manchester on Friday 23rd November, 2018, to enjoy a series of mathematical lectures showing how mathematical theory can be applied to every day problems...
Updated 13th December 2018: As employees, apprentices earn a wage and work alongside experienced staff to gain job-specific skills. Continue reading to find out what local vacancies are available right now...
Having spent the last year undertaking a number of activities to gain their Bronze Duke of Edinburgh Award, DHFS students attended their presentation evening on 5th December, 2018, to formally celebrate their achievements...
On Wednesday 21st November, 2018, two very talented students, Sam (Year 9) and Leigh (Year 11), spent the day in Sheffield College's industrial kitchens to take part in the Springboard FutureChef Local Finals...
You've probably heard of "The Twelve Days of Christmas" carol, and you've no doubt tried to sing it (up to the "five golden rings" part anyway), but have you ever stopped to think about where it came from or what it...
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.