Display Excerpts From an RSS Feed
A PHP5 script that reads an RSS file and outputs short customisable excerpts to HTML, with 'read more' links leading to the full story.
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
-
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... -
World Book Day celebrations at DHFS: 7th March 2019
As the school day began on Thursday 7th March, 2019, staff and students were surprised to see Number 5 from the Umbrella Academy, Mr Tickle and the Black Lantern making their way across the school yard... -
DHFS Parents' Survival Guide to Exams: March 2019
Exams can be a stressful time for parents as well as their kids - the worry of what results they'll get and whether they're revising enough can be enough to turn your hair grey - or greyer! Learn how to support your child through their exams... -
Maths success in recent competitions: Feb-Mar 2019
During late February and early March, 2019, mathematically minded DHFS students from years 10 and 11 have achieved a run of outstanding results in a series of recent regional and national mathematical competitions... -
Fairtrade 'Bake Off' judged by local MP: March 2019
On Friday 1st March, 2019, over 30 students entered their bakes into the first ever Dronfield Henry Fanshawe Fairtrade Bake Off, after which, the mouth-watering treats were sold off to help raise money for Fairtrade... -
Myth-busting Higher Education help from Hepp
Have you considered progressing onto higher education? Are you not sure what you want to do with your future? Do you think higher education may not be for you? Hepp have lots of tips and information to help... -
Revision tips to guide you to exam success: March 2019
Revision is an essential ingredient for success and is a key skill that should be learnt, practiced and developed at all ages. We've got some great revision tips to help you maximise your time preparing for exams... -
Stressed about exams? Don't panic - prepare: March 2019
Many students across the country are now heading into examinations season. Some students will inevitably get stressed by this experience but there are things you can easily do to keep anxiety to a minimum... -
National Careers Week: 4th - 9th March 2019
LifeSkills National Careers Week takes place from Monday 4th to Saturday 9th March, 2019 (with National Apprenticeship Week happening the same week). What are we planning at DHFS? Keep reading to find out... -
DHFS Careers News - Special - Spring Edition
In this special 'future pathways' Spring edition of DHFS Careers News, learn more about; Applying for Apprenticeships as well as DHFS Sixth Form, and find out what skills employers are looking for in their next ideal candidate... -
DHFS Careers News - Spring Edition
In the Spring edition of DHFS Careers News, we cover; Helping you make the right decisions regarding your Year 9 Options subjects, the lowdown on apprenticeships and how to apply, and skills that real employers are looking for... -
5 Things to know about the future of jobs
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...
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.
