aioxmpp icon indicating copy to clipboard operation
aioxmpp copied to clipboard

Create XML export for RosterClient

Open horazont opened this issue 8 years ago • 3 comments

The current JSON export is not flexible enough (who would have guessed that!).

In the future, we will have to export e.g. MIX roster items. Lacking proper namespacing, JSON will not be flexible enough for this, so there should be an XSO based export.

Ideally, the XSO based export simply returns the roster item XSOs, the import likewisely imports them.

This should be trivial to do:

  • We can either re-generate XSOs from the roster Item objects or store the original XSOs in a map or list.
  • For import, we can simply convert the XSOs to Items like we do when interacting with the server.

The JSON API should be deprecated and be removed with 1.0.

This will be needed for e.g. #43.

up-for-grabs note: Please see the README and join our chat room if you want help or guidelines on how to implement this.

horazont avatar Aug 27 '17 09:08 horazont

If this issue is still open, I would be happy to give it a shot

yurimataev avatar Apr 11 '20 08:04 yurimataev

@yurimataev You’re welcome to!

horazont avatar Apr 11 '20 12:04 horazont

@yurimataev Couple notes:

  • If you need help, don’t hesitate to jump by [email protected] and ping me (jonas’).
  • If you don’t want to continue work on this, don’t hesitate to let us know. It’s fine to drop a task at some point due to lack of time or whatever other reason.

horazont avatar Apr 11 '20 12:04 horazont