Ticket #49 (accepted task)

Opened 4 years ago

Last modified 10 months ago

Build a plugin for xml export from Mikael Kermorgant

Reported by: kohlhaas Owned by: kohlhaas
Priority: major Milestone: 1.5
Version: 1.3 Keywords:
Cc:

Description

Look into XML export functionality and try to build a plugin

Attachments

xmlexport.tar.2.gz (6.0 KB) - added by kermorgant 3 years ago.
made a small correction in a comment. Same code.

Change History

Changed 4 years ago by kohlhaas

  • owner set to kohlhaas
  • status changed from new to accepted

Changed 3 years ago by kohlhaas

  • milestone changed from 1.3.2 to 1.4

Changed 3 years ago by kermorgant

Just for information, you get the xml data by calling an url like this :

http://127.0.0.1:8051/rapla?page=xmlexport&user=admin&start=2007-06-01&end=2009-06-29

and the output looks like this :

<export>
−
<block contextid="0">
<start>2008-03-05 11:00:00</start>
<end>2008-03-05 11:45:00</end>
<name>TEST</name>
−
<resources>
−
<resource typekey="defaultResource" relid="1">
<resourceType>Ressource défaut</resourceType>
<displayName>Test</displayName>
<name>Test</name>
</resource>
</resources>
</block>
−
<block contextid="1">
<start>2008-08-12 10:45:00</start>
<end>2008-08-12 12:45:00</end>
<name>test</name>
−
<resources>
−
<resource typekey="defaultResource" relid="1">
<resourceType>Ressource défaut</resourceType>
<displayName>Test</displayName>
<name>Test</name>
</resource>
</resources>
</block>
</export>

Changed 3 years ago by kermorgant

made a small correction in a comment. Same code.

Changed 10 months ago by christopher kohlhaas

  • milestone changed from 1.4 to 1.5
Note: See TracTickets for help on using tickets.