Category Archives: Php

Php FeedWriter – Free RSS / Atom Feed Generator Class

Filed under Php
Tagged as , , ,

Php FeedWriter is a free class for Php with functionality to generate an RSS Feed from static content, or from dynamic sources such as a database.

Php FeedWriter v3.0 was an update to the RSS2Writer class, which provided capabilities for creating an RSS Feed using Php.  The update to version 3.0 includes the ability to output your feed in a range of common formats including RSS 1.0, RSS 2.0 and Atom 1.0 using the same script.  The class has since undergone a number of major and minor updates for improvement in a number of areas.

Read More »

Php Programming & Scripting Resources

Filed under Php
Tagged as , , ,

Php classes, scrips and other resources for programming and developing using Php.

Php Programming & Scripting Resources

Read More »

Developer Text Editors – Developer Resource Directory

Filed under C++, Php
Tagged as

Text editors for programming and development on many platforms with syntax highlighting and many other features to help you write code in various languages.  The list is from the Developer Text Editors (Programming Tools) category from the WebmasterHub.net resource directory.

Read More »

Tutorial: Create a Custom Atom and RSS Feed using Php

Filed under Php
Tagged as , ,

I found a tutorial explaining how to create custom feeds for your website with Php.  The tutorial walks though the process of building a feed in step by step instructions.  Once created, the feed can be displayed from your website in multiple formats, including Atom 1.0, RSS 2.0 and RSS 1.0.

Tutorial to Create a Custom Atom and RSS Feed using Php

A free class library is utilized to create the feed, which can be up and running on your site in minutes. Links to download the class are also provided as part of the tutorial.

Main Steps:

  • Create a new (empty) feed using the free class
  • Associate information with the feed channel (Optional)
  • Add Items to the feed
  • Output the feed in on of the supported formats

You only need to configure the custom feed once regardless of the output format.  This allows users to select their preferred format which significantly increases compatibility with feed readers.  Formats as old as RSS 0.91 are also supported, although the amount of meta information that can be associated with the feed and specific items is limited.  When you have included information that is not supported by a particular format, it is ignored when producing the XML output to ensure that the feed structure is valid.

Other useful functionality provided by the class includes the ability to customize the supported formats to suit your needs.

Tutorial to Create a Custom Atom and RSS Feed using Php

Php Snippets

Filed under Php
Tagged as ,

Sites and blog posts each providing a range of useful Php Code Snippets:
Read More »