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 16 items:
-
Dronfield Arts Festival 3rd - 6th May 2019
The English Faculty have worked with Dronfield Arts Festival to enter a large number of stories written by our students in to the creative writing competition... -
Y11 Performing Arts Final Productions: March 2019
In March 2019, Year 11 performing arts students performed their final pieces which were months in the making. They consisted of original, self devised material, including drama, dance and singing, as 15 minute performances... -
Y12 Students hold Primary School Art Workshop: April 2019
Year 3 children from William Levick Primary School spent a fantastic afternoon with our Year 12 A level art students on Monday 1st April, 2019, learning several different techniques to produce wonderful pieces of work... -
Current Apprenticeship Vacancies: Learn and Earn
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... -
International Erasmus+ Project: March 2019
From Tuesday 18th to Monday 25th March, 2019, we have been hosting 21 visiting students and 8 visiting teachers from Germany, Spain and French Guiana. The visit is the first part of our Erasmus+ programme 2018-2020...
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.
