Package advene :: Package model :: Package content
[hide private]
[frames] | no frames]

Source Code for Package advene.model.content

 1  """ 
 2  Content handlers 
 3  ================ 
 4   
 5  A content handler is an object (usually a module) capable of parsing a content 
 6  to a python object. 
 7   
 8  See reference implementation `advene.model.content.builtin`. 
 9   
10  Textual content 
11  =============== 
12   
13  The `register` module also contains a method to register mimetypes recognized 
14  as textual contents, besides those beginning with 'text'. Indeed, some other 
15  mimetypes (e.g. 'image/svg') can be handled by text-based tools. Those 
16  registered mimetypes are used by the `content_is_textual` property. 
17   
18  Registered mimetypes can be generic (i.e. use *). 
19  """ 
20