View RSS Feed

Beverleyh

  1. Display Excerpts From an RSS Feed, with Pagination

    Last month I showed you how to Get XML Data into a Web Page - this month we use that knowledge to create a paginated web page of featured story excerpts, from an RSS feed. The pagination script is a freebie that you can plug in to your own projects too! You certainly get lots for your money with this blog!

    Demo - Display Excerpts From an RSS Feed, with Pagination: http://fofwebdesign.co.uk/template/_...pagination.php

    The RSS file I'm working with ...

    Updated 02-10-2016 at 04:21 PM by Beverleyh

    Categories
    PHP coding , Web Design issues
  2. PHP Stylesheet/Content Switcher with Save Cookie

    Here is a simple PHP script to change stylesheets or load in alternative content (conditional loading), with cookies to store user selection.

    The nice thing about a PHP-based solution over JavaScript content/CSS switchers, is that all the checking and switching is done on the server side, before the web page even finds it's way to the browser, so you don't get any flash of unstyled content. Plus, you can conditionally load HTML or external files (improve performance and save on load ...