View RSS Feed

All Blog Entries

  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. XML to HTML - Getting XML Data into a Web Page with SimpleXML

    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 04:05 PM by Beverleyh

    Categories
    PHP coding , Web Design issues
  3. On-Demand Animated GIF Player to reduce page load

    Play animated GIFs on-demand with this GIF player. No JavaScript dependencies. Initial loading of a GIF is delayed until the user starts playback manually.

    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 ...
  4. A Client Side Way of Getting PHP into HTML

    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 ...
    Categories
    Uncategorized
  5. Click-Counter with Flat File Storage (text file) - AJAX & PHP

    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!

    It's very light-weight because no dependencies or large JavaScript libraries are used - it's all plain JS.


    DEMO - AJAX & PHP Click-Counter with Flat File Storage ...

    Updated 11-17-2015 at 12:23 PM by Beverleyh

    Categories
    JavaScript & Ajax , PHP coding , Web Design issues
Page 1 of 24 12311 ... LastLast