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 21 items:
During the recent History and Philosophy trip to Krakow, from 10th-12th July, 2018, Year 12 students had the opportunity to visit Auschwitz. The experience provoked feelings of shock, disgust, horror, and fascination...
On Wednesday 11th July, 2018, our students were treated to 3 very special guest appearances from members of the GB Boxing Squad as part of a week-long effort to inspire and engage them with their studies...
In recognition of our sporting role models across the whole school, the PE department have done a round up of students who've displayed commitment and outstanding sporting achievement through this academic year...
Updated 17th July 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...
We want to inspire and develop Responsible, Resilient, and Reflective learners at DHFS - staff and students - so that we have a 'thirst for knowledge' and can become successful, independent learners, at school, work, and home...
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.