Derick Rethans wrote:
> On Tue, 13 May 2008, Alexandru Stanoi wrote:
>
>> +Example of a new module type::
>> +
>> + class mySlashHandler extends ezcFeedModule
>> + {
>> + // schema which defines the elements (at feed and item level) used
>> by this module
>> + protected $schema = array(
>> + 'feed' => array(),
>> + 'item' => array( 'elementName' => array( '#' => 'string' ),
>> + ) );
>
> If we're exporting new stuff that defines a schema, we should definitely
> come up with a different way of specifying it.
Yes I think you are right.
Does anybody have any ideas about how to define a feed type or a module
without using big array structures, as they are used now in ezcFeedRss1,
Rss2, Atom and ezcFeed*Module?
--
Alexandru Stanoi
eZ Components System Developer
eZ Systems | http://ez.no
--
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components