| | | |
| # Implementation Details | | # Implementation Details |
| | | |
| The basic markup should be a **subset** of (x)html | | The basic markup should be a **subset** of (x)html |
| - valid XML is the easiest to parse. there are en | | - valid XML is the easiest to parse. there are en |
| ough libraries and utilities out there for python. | | ough libraries and utilities out there for python. |
| so this should be the way to go. | | so this should be the way to go. |
| | | |
t | Custom features can be added by using custom attri | t | Custom features can be added by using custom attri |
| butes or simply assert custom functionality. For e | | butes or simply assert custom functionality. For e |
| xample: <img src="..." imgid="123" width="500px" h | | xample: < img src="..." imgid="123" width="500px" |
| eight="200px" /> should generate a thumbnail of th | | height="200px" /> should generate a thumbnail of t |
| e file with id 123 with width 500 and height 200 p | | he file with id 123 with width 500 and height 200 |
| x. (the src="..." is ignored - it is only needed s | | px. (the src="..." is ignored - it is only needed |
| o tinymce can display a valid image while editing. | | so tinymce can display a valid image while editing |
| ). - Maybe we could use custom namespaces? <img sr | | .). - Maybe we could use custom namespaces? < img |
| c="..." sph:imgid="123" ... />? | | src="..." sph:imgid="123" ... / >? |