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 03:21 PM by Beverleyh
XML stands for EXtensible Markup Language. It is a language designed to accurately describe and structure data, keeping it separate from any styling or visual formatting. Its aim is to separate presentation, structure, and meaning from the actual content - and it does a pretty good job of it.
Storing the data in this fuss-free way is great and many tools, software and websites output data/feeds in the XML format because it is reliable, format-free, robust, easily transferred and easily
Updated 01-13-2016 at 03:05 PM by Beverleyh
For a recent project, I needed to display a number of animated GIFs on a web page to illustrate before and after scenarios. Now, the problem with GIFs is that they are usually displayed on a web page using the <img> element, which means that they download immediately when the page loads. Some of my animated GIFs were several
Updated 12-20-2015 at 08:30 AM by Beverleyh
This is pretty obvious, I suppose. I decided to post it anyway.
The standard way of getting PHP output into a HTML file (that you don't want to give the PHP extension) is to configure the server to interpret HTML files as PHP. But your web host may not support the htaccess file(s) needed for this. No worries, there's a client side way of getting PHP output into HTML. Just put the following lines where you want the output to display in your HTML file (and don't forget to reference the jQuery
I was inspired by a recent forum thread, to write a click counter that can count clicks/hits to any HTML element (links, buttons, images, etc.). Multiple counts are saved to one text file (no database needed) using PHP, while AJAX displays the increasing numbers in real time. No page refresh required!
DEMO - AJAX & PHP Click-Counter with Flat File Storage
Updated 11-17-2015 at 11:23 AM by Beverleyh