Update of /cvsroot/xine/xine_www/data/php In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22268/data/php Modified Files: Tag: experimental2 news.inc.php readme.inc.php security.inc.php skins.inc.php sponsor.inc.php Log Message: Separate parsers into two groups: some provide complete content for the page content area; others provide data for these. Index: news.inc.php =================================================================== RCS file: /cvsroot/xine/xine_www/data/php/Attic/news.inc.php,v retrieving revision 1.1.2.2.2.1 retrieving revision 1.1.2.2.2.2 diff -u -r1.1.2.2.2.1 -r1.1.2.2.2.2 --- news.inc.php 27 Jul 2005 19:56:16 -0000 1.1.2.2.2.1 +++ news.inc.php 28 Jul 2005 02:31:14 -0000 1.1.2.2.2.2 @@ -6,7 +6,7 @@ // Grab a frontend_parser from factory for reading the // XML file listing all the frontends that work with xine. -$parser = $factory->get_Parser ("news_data"); +$parser = $factory->get_Data_Parser ('news_data'); // Parser returns a list of News_Item objects $news_list = $parser->parse(); Index: readme.inc.php =================================================================== RCS file: /cvsroot/xine/xine_www/data/php/Attic/readme.inc.php,v retrieving revision 1.1.2.1.2.2 retrieving revision 1.1.2.1.2.3 diff -u -r1.1.2.1.2.2 -r1.1.2.1.2.3 --- readme.inc.php 27 Jul 2005 21:36:15 -0000 1.1.2.1.2.2 +++ readme.inc.php 28 Jul 2005 02:31:14 -0000 1.1.2.1.2.3 @@ -1,7 +1,7 @@ <?php # $Id$ $factory = new XML_Parser_Factory (); -$parser = $factory->get_Parser ("readme_data"); +$parser = $factory->get_Data_Parser ('readme_data'); $security_data = $parser->parse(); $this->navigation .= ' Index: security.inc.php =================================================================== RCS file: /cvsroot/xine/xine_www/data/php/Attic/security.inc.php,v retrieving revision 1.1.2.2.2.2 retrieving revision 1.1.2.2.2.3 diff -u -r1.1.2.2.2.2 -r1.1.2.2.2.3 --- security.inc.php 27 Jul 2005 21:36:15 -0000 1.1.2.2.2.2 +++ security.inc.php 28 Jul 2005 02:31:14 -0000 1.1.2.2.2.3 @@ -1,7 +1,7 @@ <?php # $Id$ $factory = new XML_Parser_Factory (); -$parser = $factory->get_Parser ("security_data"); +$parser = $factory->get_Data_Parser ('security_data'); $security_data = $parser->parse(); if ($params[0] == '') Index: skins.inc.php =================================================================== RCS file: /cvsroot/xine/xine_www/data/php/Attic/skins.inc.php,v retrieving revision 1.1.2.2.2.2 retrieving revision 1.1.2.2.2.3 diff -u -r1.1.2.2.2.2 -r1.1.2.2.2.3 --- skins.inc.php 27 Jul 2005 21:36:15 -0000 1.1.2.2.2.2 +++ skins.inc.php 28 Jul 2005 02:31:14 -0000 1.1.2.2.2.3 @@ -17,7 +17,7 @@ $factory = new XML_Parser_Factory (); // Grab a release_parser from factory -$parser = $factory->get_Parser ('skins_data'); +$parser = $factory->get_Data_Parser ('skins_data'); if (isset($parser)) $this->content .= $parser->parse(); Index: sponsor.inc.php =================================================================== RCS file: /cvsroot/xine/xine_www/data/php/Attic/sponsor.inc.php,v retrieving revision 1.1.2.2.2.1 retrieving revision 1.1.2.2.2.2 diff -u -r1.1.2.2.2.1 -r1.1.2.2.2.2 --- sponsor.inc.php 27 Jul 2005 19:56:16 -0000 1.1.2.2.2.1 +++ sponsor.inc.php 28 Jul 2005 02:31:14 -0000 1.1.2.2.2.2 @@ -56,7 +56,7 @@ $factory = new XML_Parser_Factory (); // Grab a release_parser from factory -$parser = $factory->get_Parser ('sponsor_data'); +$parser = $factory->get_Data_Parser ('sponsor_data'); $this->content .= $parser->parse(); $this->content .= "</tbody></table>\n"; ?> |