Skip to content

Commit

Permalink
pack to pypi.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyqin committed Jun 10, 2018
1 parent d116aa9 commit 6bf1630
Show file tree
Hide file tree
Showing 10 changed files with 614 additions and 5 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ Change Log

1.0.0

The baby version.
- Support parse xmind to dict data type with Python.
- Support parse xmind to json file type.
4 changes: 4 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
include LICENSE
include README.md
include CHANGELOG.md
include setup.py
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ Please note, following xmind features will not be supported or partially support

## Examples

- example xmind file
- xmind to json example
![Xmind Example](doc/xmind.png)
[(Download this file)](tests/test.xmind)

- xmind to [json example](doc/example.json)
- xmind to xml example [TODO]
- xmind to html example [TODO]

Expand Down
217 changes: 217 additions & 0 deletions doc/example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,217 @@
[
{
"title": "Sheet 1",
"topic": {
"title": "test",
"makers": [
"star-orange"
],
"topics": [
{
"title": "a",
"topics": [
{
"title": "e",
"topics": [
{
"title": "f",
"topics": [
{
"title": "g"
}
]
}
]
},
{
"title": "d",
"topics": [
{
"title": "[Blank]"
}
]
},
{
"title": "e",
"makers": [
"symbol-plus"
],
"topics": [
{
"title": "[Blank]",
"note": "this is a note"
}
]
},
{
"title": "[Blank]",
"topics": [
{
"title": "h",
"topics": [
{
"title": "[Blank]",
"comment": [
{
"content": "this a comments",
"author": "toby.qin"
}
]
}
]
}
]
}
],
"link": "http://test.com"
},
{
"title": "b",
"makers": [
"task-done",
"flag-red",
"people-red",
"arrow-up"
],
"topics": [
{
"title": "types",
"topics": [
{
"title": "comment",
"comment": [
{
"content": "comment1",
"author": "toby.qin"
},
{
"content": "comment2",
"author": "toby.qin"
},
{
"content": "comment3\r\nnew line",
"author": "toby.qin"
}
]
},
{
"title": "note",
"note": "1 line note",
"topics": [
{
"title": "note2",
"note": "line1\r\nline2"
},
{
"title": "note3",
"note": "note with style\r\nline with strike"
}
]
},
{
"title": "label"
},
{
"title": "attachment",
"topics": [
{
"title": "[Attachment]test.txt"
}
]
},
{
"title": "pic",
"topics": [
{
"title": "[Image]"
}
]
},
{
"title": "links",
"topics": [
{
"title": "to url",
"link": "http://test.com"
},
{
"title": "to file",
"link": "file:////abc/ef"
},
{
"title": "to topic",
"link": "[To another xmind topic!]"
}
]
}
]
},
{
"title": "\u6d4b\u8bd5",
"topics": [
{
"title": "note",
"note": "\u6d4b\u8bd5\u4e2d\u6587"
},
{
"title": "comments",
"comment": [
{
"content": "\u4e2d\u6587\u6d4b\u8bd5",
"author": "toby.qin"
}
]
}
]
},
{
"title": "</>{}[]*+-"
}
]
},
{
"title": "c",
"topics": [
{
"title": "a"
},
{
"title": "a"
},
{
"title": "a",
"link": "[To another xmind topic!]"
}
]
}
]
},
"structure": "org.xmind.ui.map.unbalanced"
},
{
"title": "Sheet 2",
"topic": {
"title": "test2",
"topics": [
{
"title": "a",
"topics": [
{
"title": "1"
},
{
"title": "2"
},
{
"title": "3"
}
]
},
{
"title": "b"
}
]
},
"structure": "org.xmind.ui.map.unbalanced"
}
]
Loading

0 comments on commit 6bf1630

Please sign in to comment.