On Mon, May 31, 2010 at 09:03:26PM +0200, Nicolas wrote: > <Resource> > <Enabled>1</Enabled> > <Formats> > <Format> > <Name>vevent20</Name> > </Format> > </Formats> > <ObjType>event</ObjType> > <Calendars> > <Calendar> > <id>1</id> > <Url>file:///home/nicolas/.evolution/calendar/local/system</Url> > </Calendar> > <Calendar> > <id>2</id> > <Url>file:///home/nicolas/.evolution/calendar/local/system</Url> > </Calendar> > </Calendars> > </Resource>
[...] > With this solution, none modification about opensync. > > But, we have to update our barry plugin and Evolution plugin. You probably know the opensync code better than I do. If we add <Calendars> and <Calendar> elements to the XML, that means that we can't use the built-in XML functions to edit the configuration right? I'm studying the opensync config routines, and it seems there are two ways to configure a plugin: set the whole XML blob, or use functions to set AdvancedOptions, Resources, Localization, etc. If we add our own elements, then the opensync library won't know about these, and we'll need to write the whole XML blob, using libxml or something similar. Am I on the right track? Thanks, - Chris ------------------------------------------------------------------------------ _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel