We just released the first release for eZ components 1.1. In this release you will find updated packages for many of the packages. The main changes are they way how options are handled for components. The Mail and Template package are the ones with the other major changes.
', ), 1 => array ( 0 => 'Community newsletter 26/05/2006', 1 => 'http://ez.no/community/news/community_newsletter_26_05_2006', 2 => 'The big news this week is the release of the eZ publish 3.9 feature request list. Also, read about eZ publish 4.0 development progress, an interview with eZ crew member Tobias Schlitt and an update on the specification for a new Project section on ez.no. The newsletter also includes an update on the current bug status.
', ), 2 => array ( 0 => 'Feature request list for eZ publish 3.9', 1 => 'http://ez.no/community/news/feature_request_list_for_ez_publish_3_9', 2 => '
We have posted a feature request list for eZ publish 3.9 in the
specification section.
This week we bring you an update on the eZ publish 4.0 development process, news about the new article "Building a custom template for a news portal" and an update on the current bug status.
', ), 4 => array ( 0 => 'Community newsletter 12/05/2006', 1 => 'http://ez.no/community/news/community_newsletter_12_05_2006', 2 => 'In this week\'s newsletter, we bring you news about the beta 2 version of eZ components and an update on eZ publish 4.0 development. We also have news about eZ publish sub-releases and an announcement of the first release candidate of the Online Editor version 4.1. The newsletter also includes an update on the current bug status.
', ), ); self::assertEquals( $expected, $returned ); } public function testWithModule1() { $feed = new ezcFeed( 'rss2' ); $feed->addModule( 'ezcFeedModuleDublinCore' ); $feed->title = "eZ components test"; $feed->link = "http://components.ez.no"; $feed->description = "This is a test for the eZ components Feed Generator"; $feed->author = "xx@ez.no (Derick Rethans)"; $feed->published = 1148633191; $feed->updated = "Fri May 26, 10:46:31 2006 CEST"; $feed->DublinCore->date = "Fri May 26, 10:46:31 2006 CEST"; $feed->DublinCore->description = "This is a richer description supported by dublin code.
"; $expected = file_get_contents( dirname( __FILE__ ) . "/data/rss2-08.xml" ); self::assertEquals( $expected, $feed->generate() ); } public function testComplexWithModule1() { $feed = new ezcFeed( 'rss2' ); $feed->addModule( 'ezcFeedModuleDublinCore' ); $feed->title = "eZ components test"; $feed->link = "http://components.ez.no"; $feed->description = "This is a test for the eZ components Feed Generator"; $feed->author = "xx@ez.no (Derick Rethans)"; $feed->published = 1148633191; $feed->DublinCore->description = "This is a richer description supported by dublin code.
"; $item = $feed->newItem(); $item->title = "First Item"; $item->link = "http://components.ez.no/1"; $item->description = "This is the first item"; $item->guid = "http://components.ez.no/1"; $item->published = "Fri May 26, 10:46:31 2006 CEST"; $item->DublinCore->date = "Sat May 27, 10:46:42 2006 CEST"; $item->DublinCore->rights = "CreativeCommons"; $item = $feed->newItem(); $item->title = "Second Item"; $item->link = "http://components.ez.no/2"; $item->description = "This is the second item"; $item->guid = "http://components.ez.no/2"; $item->published = "Fri May 26, 10:46:31 2006 CEST"; $item->DublinCore->rights = "Copyright only."; $expected = file_get_contents( dirname( __FILE__ ) . "/data/rss2-09.xml" ); self::assertEquals( $expected, $feed->generate() ); } public function testParseComplexWithModule1() { $feed = ezcFeed::parse( dirname( __FILE__ ) . "/data/rss2-09.xml" ); self::assertEquals( "This is a richer description supported by dublin code.
", $feed->DublinCore->description ); self::assertEquals( "CreativeCommons", $feed->items[0]->DublinCore->rights ); self::assertEquals( "This is the second item", $feed->items[1]->description ); self::assertEquals( "Copyright only.", $feed->items[1]->DublinCore->rights ); } public static function suite() { return new PHPUnit_Framework_TestSuite( "ezcFeedRss2Test" ); } } ?>