diff options
| author | jvoisin | 2011-08-05 12:06:47 +0200 |
|---|---|---|
| committer | jvoisin | 2011-08-05 12:06:47 +0200 |
| commit | 5a6bd3a9312f1d3444ebb9343353812bde7702da (patch) | |
| tree | 29d9b8456b9da67201c74dbc2616de8ed890003f /lib/parser.py | |
| parent | 503e926812d35032ed527c81e78444f362a5d527 (diff) | |
Tests for openxml format, and some improvement for this format support
Diffstat (limited to '')
| -rw-r--r-- | lib/parser.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/parser.py b/lib/parser.py index 1bdca57..fd0ed13 100644 --- a/lib/parser.py +++ b/lib/parser.py | |||
| @@ -9,8 +9,12 @@ import os | |||
| 9 | 9 | ||
| 10 | import mat | 10 | import mat |
| 11 | 11 | ||
| 12 | NOMETA = ('.bmp', 'html', '.py', '.rdf', '.txt', '.xml') | 12 | NOMETA = ('.bmp', '.rdf', '.txt', '.xml', '.rels') |
| 13 | 13 | #bmp : image | |
| 14 | #rdf : text | ||
| 15 | #txt : plain text | ||
| 16 | #xml : formated text | ||
| 17 | #rels : openxml foramted text | ||
| 14 | 18 | ||
| 15 | class GenericParser(object): | 19 | class GenericParser(object): |
| 16 | ''' | 20 | ''' |
