Showing posts with label Feed Generator. Show all posts
Showing posts with label Feed Generator. Show all posts

Sunday, August 14, 2011

How to Generate Feed Using Php (Atom 1.0 and RSS 2.0 Compatible)

In this tutorial, I demonstrate how to generate a feed using Php that can be displayed from a website in multiple formats, including Atom 1.0 and RSS 2.0.  I will be using functionality from the Php FeedWriter class library to generate the feed, which is available for free at http://phpFeedWriter.webmasterhub.net/.

I have broken up the process below into separate components, and provided additional information to help you learn each aspect of creating the feed using Php.  A download of the completed script written in this tutorial is also provided if required.

Summary

  • Prepare your feed script/page - Instantiate a (Php) FeedWriter Class Object
  • Add additional (Channel) data to the feed
  • Add Items to the Feed
  • Get the specified feed output format
  • (Optional) Set the “Content” element of each feed item as type “HTML”
  • Output the Feed XML
  • (Optional) Writing to a file / Caching Feed Content

Wednesday, June 29, 2011

Php FeedWriter Released - Version 3.0 Beta - Universal Feed Generator

Generate Atom 1.0, RSS 2.0 and RSS 1.0 feeds for free using Php.


Php FeedWriter 3.0 beta has been released for download.  The update to the class and functionality builds upon the previous version RSS2Writer v2.1, which limited output to an RSS 2.0 compatible feed only.
Php FeedWriter 3.0 now supports multiple feed formats: Atom 1.0, RSS 2.0, RSS 1.0, RSS 0.92 and RSS 0.91.  Php FeedWriter povides a set of easy to use functions to handle both feed input and output.
Understood
This website is using cookies. More details