Overview
- Title
- write a DOM converter for a drawing item type
- Duration
- 180
- Difficulty
- Hard
- Types
- Code, User Interface
- Tags
- python,jinja2,dom,xml
- Mentors
- thomaswaldmann,rb_proj,waldi,esyr,pkumar_7
- Count
- -1
Description
Abstract
Write a converter for 1 type of drawing items. Design your code so it can be reused for other drawing types without much code duplication.
There are 3 drawing item types:
- twikidraw: tar container with .png + .map + .twd
- anywikidraw: tar container with .png + .map + .svg
- svg-edit: tar container with .png + .svg
Note: there might be followup tasks for the other types.
Details
Currently we can't transclude items of twikidraw, anywikidraw, svg-edit because there is no dom input converter for this data type.
Transclusion of drawing items should be done like:
- anywikidraw and svg-edit: show svg
- twikidraw: show png image with image map
Deliverables: patch or changeset
Benefits
Drawing items can be used for transclusions.
Skill Requirements
See tags.
Links
http://hg.moinmo.in/moin/1.9 or https://bitbucket.org/thomaswaldmann/moin-1.9
http://hg.moinmo.in/moin/2.0 or https://bitbucket.org/thomaswaldmann/moin-2.0