Home » Docs » Installation

Installation

This page provides information and references to resources required in incorporate Php FeedWriter into a website.  It is assumed that the web server has capabilities of running executing Php scripts, and that you have at least a basic working knowledge of web servers and programming in Php.

Important: Prior to commencing the installation and configuration of Php FeedWriter, it is highly recommended that a backup of all files and databases on the server be obtained.  Please ensure that you have read and agree to the Php FeedWriter Terms of Use.

More detailed information about components of Php FeedWriter, including tutorials can also be found in the documentation, or posted to the Php FeedWriter Blog.

 

For the purpose of the procedure below, the path to the web server root is assumed to be “/home/public_html/” .  Files in this directory would be accessible at the root level of the website when accessed via a web browser.

 

Quick Install:

  1. Download the latest version of Php FeedWriter.
  2. Extract the contents of the package to a directory on your web server (eg. “/home/inc/phpfeedwriter/”)
  3. Create a new empty .php file on the server for the feed page(eg. “/home/public_html/feed.php”)
  4. Paste the following test code into the file.
    <?php 
    
    require_once('/home/inc/phpfeedwriter/FeedWriter.php');
    
    $phpFeedWriter = new FeedWriter();
    echo $phpFeedWriter->listConstructs(Atom_1);
    
    ?>
  5. Update the paths to point to the correct location on your web server (line 3)
  6. to test, open http://[yoursite]/feed.php using your web browser.

 

The code added to the new file should display a page that lists the details of the Atom 1.0 Feed Construct, and means that Php FeedWriter has been installed successfully.  This page, and the equivalent for each of the feed output formats supported can be used to assist when configuring and adding data to a feed.  To view details about each “Feed Construct” that represents an output format, please see the FeedConstruct Class Documentation, and Predefined Feed Constructs.

For assistance with configuring and adding data and items to a feed on your website, please see the FeedWriter Class Documentation.  The Php FeedWriter Blog may also provide some additional information or tutorials on how to utilize the Php FeedWriter solution on your website.

Comments (0)

No comments yet

Leave a Reply

You must be logged in to post a comment.
  • Php FeedWriter (c) Copyright 2011 Daniel Soutter. Php FeedWriter and the information on this site has been designed to benefit website developers, owners and users, but may contain errors and is provided as is, with no warranty. Terms.