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:
From disappearing jobs to new skills, the robot revolution has many faces. The latest Future of Jobs Report looks at trends expected in 2018-2022 in 20 economies and 12 industry sectors. Here is what you need to know...
Do you want to make a difference around school and help change the world for the better? Do you want to meet new people and have something to show off on your CV? Sign-up to join our team of Recycling Ambassadors...
Visit the Learning Unlimited Apprenticeship Advice Evening at Chesterfield College, 5:30-7:30pm on Wednesday 24th October, 2018, to find out more about apprenticeships and a wide range of opportunities available near you...
From Thursday 18th to Wednesday 24th October, 2018, students will travel to our partner school in Germany to take part in MUNOG – Model United Nations of Goldberg; an event in which we've participated each year since 2008...
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.