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 16-18 of 18 items:
-
Options Choices - A Careers Toolkit for Parents
The government document contained in this article offers advice and guidance to parents; to help you support your child approaching Year 9 or Sixth Form options - helping you to help them make the right choice...
-
What Work Derbyshire (for young people): 2015
What Work Derbyshire - information and guidance for young people - is a magazine packed full of information and advice on how to take your working career forward and find a job that you really enjoy!...
-
The Apprenticeship Guide: Advice and Vacancies
As exam season gets underway, The Apprenticeship Guide 2015 can help you overcome uncertainty about what the future holds, with the best guide to apprenticeships and vocational learning on the market...
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.