/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2011 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| RSS Parser System V0.5.1
| Copyright (c) 2008-2011 Stewart Wilkinson G0LGS
| Date: 23 Jan 2011
| http://www.g0lgs.co.uk/downloads.php
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------+
| Note: This Package includes other works distributed under
| GNU General Public License (GPL) as published by
| the Free Software Foundation
+--------------------------------------------------------/*

Requirements
------------

A configured and working PHP-Fusion V7.x site (Admin access is required).

This RSS Parser Infusion has been written from scratch (using a modified 
version of lastRSS.php - see http://lastrss.oslab.net/)

Installation
------------

1. Extract the files (as you are reading this you have probably done 
this already).

2. Upload the infusions folder, sub-folder and files to your PHP site.

3. chmod 777 /infusions/rss_parser_panel/cache folder (the Admin panel 
will warn you if it detects that the cache folder is non-writable).

4. Install the infusion into PHP-Fusion in the normal manner (Admin 
Panel / System Admin / Infusions).

5. Goto Admin Panel / Infusions / RSS Parser Admin to create and manage 
RSS Feeds as required. (Sample News feed are installed for you)

6. The RSS Parser System Admin Panel configures 'side' or 'center' 
panels for you with the access you specify, however you may wish to use 
PHP-Fusion Panel editor to change the display order.

For V7.01.xx you may need to edit themes/templates/panels.php and change 
(line 56 approx)

	"SELECT panel_side, panel_type, panel_filename, panel_content FROM ".DB_PANELS."
to:
	"SELECT panel_side, panel_type, panel_name, panel_filename, panel_content FROM ".DB_PANELS."


Optional Tweaking
-----------------

The 'Panel Preview' facility (in PHP-Fusion Panel Editor) normally 
displays the message:

	Error: Unknown Feed.

This is expected behaviour, however to impove this (for existing feeds 
only) edit /administration/panel_editor.php goto line 120 (approx) which 
reads:

	@include INFUSIONS.$panel_filename."/".$panel_filename.".php";

insert two addtional lines (one either side of this) so it becomes:

	$p_data['panel_name']=$panel_name;
	@include INFUSIONS.$panel_filename."/".$panel_filename.".php";
        unset($p_data);

Save panel_editor.php, now when you click 'Preview Panel' (for 
previously configured feeds only) you will see a full preview.

--
Stewart-G0LGS
