Functions¶
| 
 | |
| 
 | |
| 
 | 
Details¶
- Gepub.utils_get_prop(node, prop)¶
- Parameters:
- node ( - libxml2.Node) – an- libxml2.Node
- prop ( - str) – a property
 
- Returns:
- a string with the property contained in prop 
- Return type:
 
- Gepub.utils_get_text_elements(node)¶
- Parameters:
- node ( - libxml2.Node) – an- libxml2.Node
- Returns:
- the text elements of node. 
- Return type:
 
- Gepub.utils_replace_resources(content, path)¶
- Parameters:
- content ( - GLib.Bytes) – a- GLib.Bytescontaining the XML data
- path ( - str) – The path to replace
 
- Returns:
- a new - GLib.Bytescontaining the updated XML data
- Return type:
 - Replacing epub media paths, for css, image and svg files, to be able to provide these files to webkit from the epub file.