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 23 items:
Updated 22nd June 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...
Year 8 SkillForce students would greatly appreciate your help in collecting food for a local food bank. Collection points at main reception and in the library will be open from Monday 2nd to Friday 6th July, 2018...
Work-Wise is an employer-inspired and -led initiative to support the development of young people so they have the knowledge, skills aptitude and opportunities for employment. Their 4‑day summer programs run w/c 30th July, and 6th, 13th, and...
As a school that is keen to support STEM and encourage students to consider careers in Engineering and Manufacturing, we thought you may be interested in a number current Apprentice job opportunities for 16+ school leavers...
Over a two-week period at the start of June 2018, Year 4 children from Dronfield Junior School came to visit us in food technology, to have a high fibre scone 'bake off', as well as debate how to pronounce...
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.