Tuesday 07 April 2009 8:31:22 am
Hi, I'm currently in charge of the development of a new eZ Publish extension which will allow to integrate external audio content from Telemeta, a Python (alpha) application we're currently developing for museum and research laboratories to manage and broadcast their audio archives. Telemeta itself integrates an OAI-PMH Data Provider, which if you've never heard of it, is an HTTP+XML based web service well suited for transporting Dublin Core metadata. To make it even simpler, it for example allows to retrieve the author, title and date of an audio item archived in Telemeta, by item id. Although I'm an experienced PHP (and PEAR) developer, I'm very new to eZ Publish, and starting to consider this looks like a whole operating system ;-)
To be honest I'm considerably disappointed by the state of the documentation about extension development. It seems to consist in more or less obsolete tutorials. There is no such thing as an extension development guide. Until now, the most up to date (read: compatible with ezp4) one I found is this: http://ez.no/developer/articles/creating_datatypes_in_ez_publish_4 AFAICS, I need to develop a new datatype which will require the user to enter an audio item id. I also need to register a new ini file, where the admin can set the URL of the Telemeta OAI-PMH Data Provider. Given these parameters the extension should be able to retrieve some metadata + the url of the mp3 file, or fail with a "no such item" error. However, I have trouble understanding how this will eventually integrate with the content management system. What I need is something which is similar to the Image feature, that is: the ability to insert audio item at various places in the body of a given article. Each of these items should be presented with a bit of metadata (title, author, date) and a small flash (or js/html + soundmanager2) player. But I just don't understand how to do this using the DataType + class system. Furthermore, the existing extensions which seem to provide some similar functionality don't seem to be compatible with eZ Publish >= 4, so that I can't base my work on them. Any advice or pointer ? Regards,
|