[Cubicweb] datafeed example / MySQL source

Sylvain Thénault sylvain.thenault at logilab.fr
Thu Jul 17 17:18:01 CEST 2014

On 11 juillet 12:19, Dimitri Papadopoulos Orfanos wrote:
> Hi list,

Hi Dimitri,
> Does anyone happen to have an example of a datafeed that would
> synchronize an SQL database (MySQL) source with a CubicWeb instance?

I'm not aware of such example.
> As far as I can understand I need to:
> * inherit datafeed.DataFeedParser and override at least two methods:
>   - process()
>   - before_entity_copy()
> * inherit datafeed.AbstractSource (and override what?)

You should not have to override the source, only the parser.
You may find an example in http://hg.logilab.org/master/cubes/ckan

Sylvain Thénault, LOGILAB, Paris ( - Toulouse (
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org

More information about the Cubicweb mailing list