[Cubicweb] datafeed example / MySQL source

Dimitri Papadopoulos Orfanos dimitri.papadopoulos at cea.fr
Fri Jul 11 12:19:38 CEST 2014


Hi list,

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

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?)

Best,
-- 
Dimitri Papadopoulos
CEA/Saclay
I2BM, NeuroSpin
F-91191 Gif-sur-Yvette cedex, France



More information about the Cubicweb mailing list